This document outlines the structure of requests and responses for Exchange Rate (common fields and endpoint specific fields)
/
endpoint
Name | Type | Required | Description |
---|---|---|---|
domestic_blockchain | string | ✅ | Identifier for the domestic chain (eg: ethereum ) |
domestic_token | string | ✅ | Address of the domestic token |
foreign_blockchain | string | ✅ | Identifier for the foreign chain |
foreign_token | string | ✅ | Address of the foreign token |
/v1/price
and /v1/quote
responses.
Field | Type | Description |
---|---|---|
domestic_blockchain | string | Identifier for the domestic chain (eg: ethereum ) |
domestic_token | string | Address of the domestic token |
foreign_blockchain | string | Identifier for the foreign chain |
foreign_token | string | Address of the foreign token |
price | number | The exchange rate between the two tokens. This represents how much of the foreign_token you get for one unit of the domestic_token |