{"uid":"cap_0hQzMxwVx5ycfrsymdY-1","slug":"phantom-api-zksync-latest-block-1a637168","name":"Phantom API — ZKSync Latest Block","description":"Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.","url":"https://phantom-api-omega.vercel.app/api/zksync/block/latest","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uhrUCdngNnhQ9C23IsR3v","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the latest block data from the ZKSync network via the Phantom blockchain data infrastructure","exampleAgentPrompt":"What's the latest block on ZKSync right now? I need the block number, timestamp, and transaction count from the most recent block.","exampleUseCases":[{"title":"Monitor ZKSync block finality","prompt":"Can you grab the latest ZKSync block and tell me the block number and timestamp? I want to confirm the chain is progressing normally."},{"title":"Sync ZKSync block height for dapp","prompt":"Pull the current ZKSync block height for me — I need to know the latest block number so I can anchor my smart contract event listener."},{"title":"Verify ZKSync transaction inclusion window","prompt":"What's the most recent ZKSync block? I submitted a transaction and want to check roughly how many blocks have passed since I sent it."}],"resultDescription":"Returns the latest block object on the ZKSync network, including block number, block hash, timestamp, parent hash, transaction list or count, and other standard EVM-compatible block metadata fields.","failureModes":["ZKSync RPC node unavailable — returns 5xx error","Payment not included or insufficient — returns 402 Payment Required","Request body malformed or missing required fields — returns 400 Bad Request","Network congestion on ZKSync causes delayed or stale block data","Rate limit exceeded on Phantom infrastructure — returns 429"],"whenToPreferThis":"Choose this endpoint when you need real-time or near-real-time access to the latest ZKSync block without running your own node. It is preferable to general Ethereum RPC endpoints when specifically targeting ZKSync (zkSync Era) Layer 2 data, and suits agents needing pay-per-call access with no subscription commitment via x402 micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:47:45.819Z","isFirstParty":false}