{"uid":"cap_CKvU7Zf3NFH6x22lv3YrD","slug":"tollex-chain-get-block-281e193e","name":"Tollex Chain Get Block","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_block?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"block":{"type":"string","pattern":"^(latest|safe|finalized|[0-9]{1,15})$"}}},"responseSchema":{"type":"json","example":{"tool":{"id":"chain_get_block","version":"1.0.0","provider":"tollex.robinhood-chain"},"result":{"hash":"0x7a3d7400b27830f4f91c2c16a082486d67c1befecaec2f53b33f1f35d5b62036","number":"83335219","gasUsed":"412876","timestamp":"2026-10-08T13:04:26.000Z","parentHash":"0x7a3d7400b27830f4f91c2c16a082486d67c1befecaec2f53b33f1f35d5b62036","transactions":4,"baseFeePerGas":"10000000","l1BlockNumber":"23541870"},"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_xXFGf3AUR5JMcgZJO71fB","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 blockchain block data for a specified block number or tag (latest, safe, finalized) from an EVM-compatible chain, paid via x402 micropayment in USDC.","exampleAgentPrompt":"What does the latest finalized block on the blockchain look like right now — can you pull the full block data for me?","exampleUseCases":[{"title":"Monitor latest block height","prompt":"Keep checking the latest block for me and let me know when it advances past block 12000000."},{"title":"Verify transaction inclusion block","prompt":"Pull the block data for block number 11998745 so I can check whether my transaction was included and see the block timestamp."},{"title":"Confirm chain finality status","prompt":"Fetch the finalized block from the chain — I want to make sure the state I'm reading has passed finality before I act on it."}],"resultDescription":"Returns structured EVM block data including block number, hash, parent hash, timestamp, miner, gas used, gas limit, and list of transactions or transaction hashes for the requested block. Also returns a signed Tollex receipt confirming the x402 micropayment was processed.","failureModes":["Invalid block parameter format (not matching pattern ^(latest|safe|finalized|[0-9]{1,15})$) returns a validation error","Block number does not exist yet (future block) returns not-found error","Payment failure or insufficient USDC balance causes request rejection before execution","RPC node unavailability causes upstream timeout or 503 error","Network congestion may delay response for very recent blocks"],"whenToPreferThis":"Choose this endpoint when you need on-chain block data from an EVM-compatible network (Base or Robinhood Chain) and want automatic policy-checked, micropayment-metered access without managing your own RPC node or API keys. Ideal for AI agents operating under spend-policy governance that need ad-hoc blockchain reads billed per call in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:47:23.547Z","isFirstParty":false,"canonicalSlug":"tollex-chain-get-block-281e193e"}