Base
Bereit, das in der Produktion aufzurufen?
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
Base
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
eth_getBlockReceipts returns every transaction receipt in a given block in one call, instead of making you fetch them one hash at a time. Base is Coinbase's OP Stack rollup that uses ETH for gas, and its consumer and DeFi apps pack blocks with events, so a single batched receipt fetch is far cheaper than per-transaction calls. Point it at https://base.therpc.io/YOUR_API_KEY (chain ID 8453) with a block number or tag, and you get an array of receipts carrying status, gas used, effective gas price, and the full log set for each transaction in that L2 block.
Transfer logs in a block — USDC and other Base tokens — to keep balance tables in sync.status of "0x0") in a block for error analysis or alerting.| # | Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|---|
| 1 | blockTag | string | Ja | The block whose receipts to fetch. |
| Typ | Beschreibung |
|---|---|
| array of object | Array of receipt objects. Each receipt contains: transactionHash, transactionIndex, blockHash, blockNumber, from, to, contractAddress, gasUsed, cumulativeGasUsed, effectiveGasPrice, status ("0x1" success / "0x0" failure), logs, logsBloom, type. |
Try it live in the Base playground.
| Code | Meldung | Ursache |
|---|---|---|
-32602 | Invalid params | Block tag is unrecognised or malformed. |
-32000 | Block not found | The requested block does not exist or has been pruned. |
eth_getTransactionReceipt calls — always prefer this for block-level receipt ingestion on Base.Parameter
hex block number or "latest"/"earliest"/"pending"/"safe"/"finalized"