Skip to main content
Glama

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
NameRequiredDescriptionDefault
endBlockNo
limitNo
poolIdYes
startBlockNo

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NaniDAO/agentek'

If you have feedback or need assistance with the MCP directory API, please join our Discord server