Base
Base
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Base
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
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.| # | الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|---|
| 1 | blockTag | string | نعم | The block whose receipts to fetch. |
| النوع | الوصف |
|---|---|
| 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.
| الكود | الرسالة | السبب |
|---|---|---|
-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.المعاملات
hex block number or "latest"/"earliest"/"pending"/"safe"/"finalized"