Price API
Token Price and Spread
Get the price and spread of the base token in terms of the quote token.
The spread represents the difference between the buy price and the sell price of the base token. The price returned represents the average of the buy price and the sell price.
GET
https://api.propellerheads.xyz/partner/v2/solver/token_price_and_spread
The query parameters needed to call the token_price_and_spread
endpoint are:
Query Parameter | Description |
---|---|
| (string) The blockchain of the token for which we would like the price of. |
| (string) The address of the token that will be used to describe the price of the base currency |
| (string) The address of the token that we would like the price of |
Example
Last updated