Server
GET /v2/token-price
Request
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
tokenAddressstring required
Token contract address on network, e.g USDC on Ethereum Mainnet
chainIdstring required
ID of chain, e.g Ethereum Mainnet = 1
Response
Returns price of token for a given chain
Changes
No recorded changes to this operation across all 3 revisions of this API.