Recent DEX trades
get_recent_tradesRead-onlyIdempotent
Latest DEX swaps, newest first, for exactly one of: a token (unit), a pool (poolId) or a wallet (address). Each trade has the time, DEX, side (buy/sell of the base token), amounts in and out (decimal-adjusted), price in ADA, value in ADA and USD, the trader's stake address and the transaction hash.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Token unit: trades of this token. Give exactly one of unit, poolId, address. | |
| limit | No | How many trades to return (1-50, default 10). | |
| cursor | No | Value of `nextCursor` from the previous call, to get the next page. | |
| poolId | No | Pool id: trades in this pool. | |
| address | No | Wallet (addr1…, stake1… or $handle): trades made by this wallet. |