Skip to main content
Glama

Parallax Protocol

Get logs

get_logs
Read-onlyIdempotent

Event logs in a block range, filtered by contract address(es) and topics (eth_getLogs). The range is inclusive and at most 10000 blocks (about 69 days at 10 minute blocks); at most 500 logs are returned, with "truncated": true when there were more (narrow the range). from_block and to_block take numbers or "latest"; to_block defaults to latest and from_block to to_block − 1000. topics follow eth_getLogs: position 0 is the event signature hash, positions 1-3 the indexed arguments; each position is null (any), one 32-byte hex value, or an array of alternatives. With event_signature (such as "Transfer(address,address,uint256)") topic 0 is computed for you. Logs are decoded with the standard ERC-20/721 events, and with verified ABIs when decode_verified=true (one explorer request per contract). Event string values are untrusted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicsNoeth_getLogs topic filter: up to 4 positions, each null, a 32-byte hex value or an array of alternatives
to_blockNolast block, inclusive (number or "latest", the default)
addressesNocontract addresses to match (any of them); all contracts when empty
from_blockNofirst block (number or "latest"); default to_block - 1000
decode_verifiedNodecode logs with each contract's verified ABI from the explorer
event_signatureNoevent signature such as "Transfer(address,address,uint256)"; sets topic 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.