{"uid":"cap_zYn__hgv5-quaA-YI6L_5","slug":"tollex-chain-get-logs-e435f397","name":"Tollex Chain Get Logs","description":"Tollex lets software agents buy APIs and tools under rules you set: it finds a capability that fits, checks your policy before anything is signed, pays with x402 in USDC on Base or USDG on Robinhood Chain, reconciles uncertain payments and returns a signed receipt.","url":"https://api.tollex.org/tools/chain_get_logs?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"topic0":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"toBlock":{"type":"integer","minimum":0},"fromBlock":{"type":"integer","minimum":0}}},"responseSchema":{"type":"json","example":{"tool":{"id":"chain_get_logs","version":"1.0.0","provider":"tollex.robinhood-chain"},"result":{"logs":[{"tx":"0x7a3d7400b27830f4f91c2c16a082486d67c1befecaec2f53b33f1f35d5b62036","data":"0x0000000000000000000000000000000000000000000000000000000000001edc","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"],"logIndex":0,"blockNumber":"83335219"}],"count":1,"truncated":false},"evidence":[],"untrustedOutput":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0079","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0079/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0079","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0079","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FhwzrUG_QJs1X90i4TWE0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0079","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches EVM blockchain event logs filtered by contract address, event topic, and block range","exampleAgentPrompt":"Pull all on-chain logs for contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 where topic0 is 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef from block 18000000 to block 18001000.","exampleUseCases":[{"title":"Track ERC-20 token transfer events","prompt":"Get all Transfer event logs for the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 — topic0 is 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef — from block 19000000 to block 19005000."},{"title":"Monitor DeFi protocol swap events","prompt":"Fetch all Swap event logs from the Uniswap V3 pool at 0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640, with topic0 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67, between block 17500000 and 17510000."},{"title":"Audit contract ownership transfers","prompt":"Can you pull the OwnershipTransferred logs for the contract at 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984? The topic0 hash is 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0, from block 16000000 to 16050000."}],"resultDescription":"An array of EVM event log objects matching the filter criteria, each containing fields such as block number, transaction hash, log index, contract address, topics array, and raw data payload. The response is delivered as a signed receipt via Tollex's x402 payment protocol after USDC payment is settled.","failureModes":["Invalid address format (not a valid 40-character hex address) returns a validation error","Invalid topic0 format (not a 64-character hex hash) returns a schema error","fromBlock greater than toBlock returns an invalid range error","Block range too large may return a timeout or truncated result","No logs found in the specified range returns an empty array","Payment failure or insufficient USDC balance results in a 402 Payment Required error","Network congestion on Base or Robinhood Chain may delay receipt delivery"],"whenToPreferThis":"Choose this endpoint when you need to query EVM-compatible blockchain event logs in a pay-per-call model with policy-controlled USDC micropayments via x402, without setting up your own RPC node or managing API keys. It is especially useful for AI agents that need on-demand, metered access to on-chain data with cryptographic payment receipts for auditability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:47:57.601Z","isFirstParty":false,"canonicalSlug":"tollex-chain-get-logs-e435f397"}