GET /api/quote
Returns the current swap price data for a given sell & buy token.
Request
Query Param | Description | Example |
---|---|---|
| The token contract address or symbol of the token that you want to sell. Token symbols such as |
|
| The token contract address or symbol of the token that you want to buy. Token symbols such as |
|
| The blockchain network. Acceptable values are |
|
Response
Result is returned in the result
field, and if there's any error message, it will be returned in the error
field. result
contents are defined as follows:
Field | Description |
---|---|
| The selected blockchain network. |
| Token metadata for the selected sell token. Example:
|
| Token metadata for the selected buy token. Example:
" |
| The current price. The amount of |
Example
Request: GET
Response
Last updated