getTickerByContract
Retrieve current price and market data for a DeFi token using its contract address and blockchain platform ID.
Instructions
Get the current price and market data of a token by its contract address (for on-chain and DeFi tokens). Use when you have a contract address (0x...) rather than a name. For history use getHistoricalTickerByContract. Read-only; platformId is the chain (e.g. eth-ethereum) and contractAddress the token address. No API key required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"platformId": "<platformId>",
"contractAddress": "<contractAddress>"
},
"name": "getTickerByContract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platformId | Yes | Platform ID (e.g., eth-ethereum) | |
| contractAddress | Yes | Contract address |