list_token_trades
Retrieve recent swap trades for a token mint, with pagination and optional filters for source, time range, and SOL-only pairs.
Instructions
One page of recent swaps where mint is either swap leg (REST history, not a live tail). Includes token↔token rows when present. Quote assets (SOL, USDC, USDT) are rejected as mint (use get_token_metadata / get_token_price for those). Optional singular source (e.g. "pump_fun") — NOT an array; for live multi-source filtering use tail_stream with sources. solOnly: true keeps only SOL-paired rows. To page, pass cursor = previous next; stop when next is null. Prefer limit ≤ 20 (default) to conserve context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Unix ms or ISO-8601 end bound | |
| from | No | Unix ms or ISO-8601 start bound | |
| mint | Yes | Base58 mint address | |
| limit | No | Rows per page; default 20 to conserve context — raise only if needed | |
| cursor | No | Pass the previous response's `next` for the next page | |
| source | No | Single source, e.g. "pump_fun" (NOT an array) | |
| solOnly | No | When true, keep only swaps with wrapped SOL on the other leg |