Moralis MCP Server

Official
by MoralisWeb3

getTokenTransfers

Retrieve ERC20 token transfers from a contract by specifying block numbers or dates. Organize transactions in descending order by block number for efficient data analysis.

Instructions

Get ERC20 token transactions from a contract ordered by block number in descending order.

Input Schema

NameRequiredDescriptionDefault
addressNoThe address of the token contract
cursorNoThe cursor returned in the previous response (used for getting the next page).
from_blockNoThe minimum block number from which to get the transfers * Provide the param 'from_block' or 'from_date' * If 'from_date' and 'from_block' are provided, 'from_block' will be used.
from_dateNoThe start date from which to get the transfers (format in seconds or datestring accepted by momentjs) * Provide the param 'from_block' or 'from_date' * If 'from_date' and 'from_block' are provided, 'from_block' will be used.
limitNoThe desired page size of the result.
to_blockNoThe maximum block number from which to get the transfers. * Provide the param 'to_block' or 'to_date' * If 'to_date' and 'to_block' are provided, 'to_block' will be used.
to_dateNoGet transfers up until this date (format in seconds or datestring accepted by momentjs) * Provide the param 'to_block' or 'to_date' * If 'to_date' and 'to_block' are provided, 'to_block' will be used.

Input Schema (JSON Schema)

{ "properties": { "address": { "description": "The address of the token contract", "type": "string" }, "cursor": { "description": "The cursor returned in the previous response (used for getting the next page).", "type": "string" }, "from_block": { "description": "The minimum block number from which to get the transfers\n* Provide the param 'from_block' or 'from_date'\n* If 'from_date' and 'from_block' are provided, 'from_block' will be used.\n", "type": "integer" }, "from_date": { "description": "The start date from which to get the transfers (format in seconds or datestring accepted by momentjs)\n* Provide the param 'from_block' or 'from_date'\n* If 'from_date' and 'from_block' are provided, 'from_block' will be used.\n", "type": "string" }, "limit": { "description": "The desired page size of the result.", "type": "integer" }, "to_block": { "description": "The maximum block number from which to get the transfers.\n* Provide the param 'to_block' or 'to_date'\n* If 'to_date' and 'to_block' are provided, 'to_block' will be used.\n", "type": "integer" }, "to_date": { "description": "Get transfers up until this date (format in seconds or datestring accepted by momentjs)\n* Provide the param 'to_block' or 'to_date'\n* If 'to_date' and 'to_block' are provided, 'to_block' will be used.\n", "type": "string" } }, "type": "object" }

You must be authenticated.

Other Tools from Moralis MCP Server

Related Tools

ID: paxjr6tzn8