Request Parameters
The following parameters may be included in the request payload for/
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 |
Common Response Fields
The following fields are returned in both/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 |