one_inch

Crates.ioone_inch
lib.rsone_inch
version0.1.1
sourcesrc
created_at2023-08-01 09:57:20.304765
updated_at2023-12-05 18:12:09.390479
descriptionRusty API wrapper for the 1inch
homepage
repositoryhttps://github.com/rosenthall/1inch-rs
max_upload_size
id931629
size98,831
(rosenthall)

documentation

https://docs.rs/one_inch

README

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

Commit count: 52

cargo fmt