Skip to main content
Glama

agentek-eth

by NaniDAO

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

NameRequiredDescriptionDefault
endBlockNo
limitNo
poolIdYes
startBlockNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "endBlock": { "type": "string" }, "limit": { "default": 50, "maximum": 1000, "minimum": 1, "type": "integer" }, "poolId": { "type": "string" }, "startBlock": { "type": "string" } }, "required": [ "poolId" ], "type": "object" }

Other Tools from agentek-eth

Related Tools

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