Crates.io | one-click-sdk-rs |
lib.rs | one-click-sdk-rs |
version | |
source | src |
created_at | 2025-05-07 12:19:32.192175+00 |
updated_at | 2025-05-07 12:19:32.192175+00 |
description | API for One-Click Swaps |
homepage | |
repository | |
max_upload_size | |
id | 1663776 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
API for One-Click Swaps
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
org.openapitools.codegen.languages.RustClientCodegen
Put the package under your project folder in a directory named one-click-sdk-rs
and add the following to Cargo.toml
under [dependencies]
:
one-click-sdk-rs = { path = "./one-click-sdk-rs" }
All URIs are relative to https://1click.chaindefuser.com
Class | Method | HTTP request | Description |
---|
OneClickApi | get_execution_status | GET /v0/status | Check swap execution status OneClickApi | get_quote | POST /v0/quote | Request a swap quote OneClickApi | get_tokens | GET /v0/tokens | Get supported tokens OneClickApi | submit_deposit_tx | POST /v0/deposit/submit | Submit deposit transaction hash
To get access to the crate's generated documentation, use:
cargo doc --open