\OneinchApi
All URIs are relative to https://beta.usemoon.ai
POST /oneinch/approve-call-data
POST /oneinch/approve-spender
POST /oneinch/protocols
POST /oneinch/quote
POST /oneinch/{accountName}/swap
POST /oneinch/tokens
approve_call_data
serde_json::Value approve_call_data(body)
Parameters
body
Option<serde_json::Value>
[required]
Return type
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
approve_spender
serde_json::Value approve_spender(body)
Parameters
body
Option<serde_json::Value>
[required]
Return type
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
protocols
serde_json::Value protocols(body)
Parameters
body
Option<serde_json::Value>
[required]
Return type
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
quote
serde_json::Value quote(body)
Parameters
body
Option<serde_json::Value>
[required]
Return type
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
swap
serde_json::Value swap(account_name, authorization, get_swap_dto)
Parameters
account_name
String
[required]
authorization
String
[required]
get_swap_dto
[required]
Return type
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
tokens
serde_json::Value tokens(body)
Parameters
body
Option<serde_json::Value>
[required]
Return type
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Last updated