one_inch 0.1.1

Rusty API wrapper for the 1inch
Documentation

1inch-rs

1inch-rs is a high-level, type-safe API wrapper for the 1inch API written for Rust.

Note: Currently the project is under development! Because of this, it only covers some of the API, and may also contain some bugs.

Currently Supported Endpoints (only schematically)

  • /swap/liquidity-sources
  • /swap/tokens
  • /swap/quote/
  • /swap/swap/
  • /swap/approve/spender
  • /swap/approve/transaction
  • /swap/approve/allowance
  • /price/{chain}/{addresses}
  • /price/currencies

Usage

For detailed examples on how to use each endpoint, please refer to the examples directory in the repository.

License BSD 3-Clause License