Skip to content

eth_getBlockReceipts

Returns every transaction receipt for a given block in a single call.

PositionNameTypeDescription
1blockstringBlock number in hex, or "latest", "pending", "safe", "finalized", "earliest". Required.
FieldTypeDescription
resultarrayArray of receipt objects, one per transaction in the block. See eth_getTransactionReceipt for the receipt object shape.
Terminal window
curl https://mainnet.base.org \
-X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getBlockReceipts","params":["latest"],"id":1}'
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"transactionHash": "0xabc123...",
"blockNumber": "0x158a0e9",
"status": "0x1",
"gasUsed": "0x5208",
"type": "0x2"
}
]
}