getSwaps
Retrieve recent swap events for a specific pool on Ethereum, with optional filters by block range or transaction limit, to support cryptocurrency research and automation.
Instructions
Fetch recent swap events for a given pool, optionally filtered by block range.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endBlock | No | ||
| limit | No | ||
| poolId | Yes | ||
| startBlock | No |