Moralis MCP Server

Official
by MoralisWeb3

getWalletHistory

Retrieve the full transaction history of a wallet, including internal transactions and NFT metadata, by specifying block numbers or date ranges for precise results.

Instructions

Get the complete history of a wallet

Input Schema

NameRequiredDescriptionDefault
addressNoThe address of the wallet
cursorNoThe cursor returned in the previous response (used for getting the next page).
from_blockNoThe minimum block number from which to get the transactions * 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 transactions (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.
include_internal_transactionsNoIf the result should contain the internal transactions.
limitNoThe desired page size of the result.
nft_metadataNoIf the result should contain the nft metadata.
to_blockNoThe maximum block number from which to get the transactions. * Provide the param 'to_block' or 'to_date' * If 'to_date' and 'to_block' are provided, 'to_block' will be used.
to_dateNoGet the transactions up to 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 wallet", "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 transactions\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 transactions (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" }, "include_internal_transactions": { "description": "If the result should contain the internal transactions.", "type": "boolean" }, "limit": { "description": "The desired page size of the result.", "type": "integer" }, "nft_metadata": { "description": "If the result should contain the nft metadata.", "type": "boolean" }, "to_block": { "description": "The maximum block number from which to get the transactions.\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 the transactions up to 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