Moralis MCP Server

Official
by MoralisWeb3

getPairReserves

Retrieve liquidity reserves for a Uniswap V2 pair address using specific block number or date. Ideal for analyzing DEX pair data with Moralis MCP Server.

Instructions

Get the liquidity reserves for a given pair address. Only Uniswap V2 based exchanges supported at the moment.

Input Schema

NameRequiredDescriptionDefault
pair_addressNoThe liquidity pair address
to_blockNoThe block number to get the reserves from
to_dateNoGet the reserves 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": { "pair_address": { "description": "The liquidity pair address", "type": "string" }, "to_block": { "description": "The block number to get the reserves from", "type": "string" }, "to_date": { "description": "Get the reserves 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