radiant_get_swap_history
Retrieve on-chain DEX trade history for any token using its reference. Specify limit and offset to paginate through swap records.
Instructions
Get trade history for a token on the on-chain DEX
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": {
"ref": "<ref>"
},
"name": "radiant_get_swap_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Token reference (txid_vout format) | |
| limit | No | Max results | |
| offset | No | Offset for pagination |