Avalanche
Avalanche
Avalanche
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
eth_getBlockReceipts returns every transaction receipt for an Avalanche C-Chain block in a single call — each with its logs, gas used, effective gas price (in AVAX wei), and success/failure status. For indexers it collapses what would otherwise be one request per transaction into one round trip, which matters on a chain that finalizes blocks every one to two seconds. Pass a block tag to https://avalanche.therpc.io/YOUR_API_KEY (chain ID 43114) and get the whole block's receipts back as an array.
Transfer logs in a block to update token balances for assets like USDC or WAVAX.status "0x0") in a block for error analysis and 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 Avalanche 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 — always prefer this for block-level receipt ingestion on the C-Chain.Parameter
hex block number or "latest"/"earliest"/"pending"/"safe"/"finalized"