dex_market_get_kline
OHLCV candles by period and window. Volume aggregates→get_tx_stats. Pool events→get_pair_liquidity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain name. Supported: bsc, base, eth, solana, arbitrum, polygon, avalanche, fantom, zksync, linea, optimism, sui, blast, tron, merlin, world, eni, bera, gatelayer, ton | |
| limit | No | Max number of candles (default 100, max 1000) | |
| period | Yes | K-line period: seconds (e.g. 300, 3600) or 1m, 5m, 1h, 4h, 1d | |
| end_time | No | End time (unix seconds); default: now | |
| start_time | No | Start time (unix seconds); default: 100 periods before end_time | |
| pair_address | No | Optional pair address | |
| token_address | Yes | Token contract address |