Avalanche
Avalanche
Avalanche
Free tier covers personal projects. Pay-as-you-go scales without a card.
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 | Type | Required | Description |
|---|---|---|---|---|
| 1 | blockTag | string | Yes | The block whose receipts to fetch. |
| Type | Description |
|---|---|
| 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 | Message | Cause |
|---|---|---|
-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.Parameters
hex block number or "latest"/"earliest"/"pending"/"safe"/"finalized"