pulsechain.box
eth

eth_getBlockReceipts

Returns all transaction receipts for a given block. This is more efficient than calling eth_getTransactionReceipt individually for each transaction in a block.

Returns all transaction receipts for a given block. This is more efficient than calling eth_getTransactionReceipt individually for each transaction in a block.

Parameters

#TypeDescription
1stringBlock number as a hexadecimal string, or a block tag ("latest", "earliest", "pending").

Returns

array -- An array of transaction receipt objects, or null if the block is not found. Each receipt contains:

FieldTypeDescription
transactionHashstringHash of the transaction.
transactionIndexstringIndex of the transaction within the block (hex).
blockHashstringHash of the block containing the transaction.
blockNumberstringBlock number (hex).
fromstringAddress of the sender.
tostringAddress of the receiver. null for contract creation.
cumulativeGasUsedstringTotal gas used in the block up to and including this transaction (hex).
effectiveGasPricestringActual gas price paid per unit of gas (hex).
gasUsedstringGas used by this specific transaction (hex).
contractAddressstringAddress of the created contract, or null if not a contract creation.
logsarrayArray of log objects emitted by the transaction.
logsBloomstringBloom filter for light clients to quickly retrieve related logs.
statusstring"0x1" for success, "0x0" for failure.
typestringTransaction type (hex). "0x0" legacy, "0x1" EIP-2930, "0x2" EIP-1559.

Example

curl -s -X POST https://rpc.pulsechain.box \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_getBlockReceipts",
    "params": ["0x18b7000"],
    "id": 1
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    {
      "transactionHash": "0xabc123...",
      "transactionIndex": "0x0",
      "blockHash": "0xdef456...",
      "blockNumber": "0x18b7000",
      "from": "0x...",
      "to": "0x...",
      "cumulativeGasUsed": "0x5208",
      "effectiveGasPrice": "0x3b9aca00",
      "gasUsed": "0x5208",
      "contractAddress": null,
      "logs": [],
      "logsBloom": "0x0000...",
      "status": "0x1",
      "type": "0x0"
    }
  ]
}
TRY IT

Notes

  • This method returns all receipts for the block at once, making it significantly more efficient than fetching receipts individually when you need data for an entire block.
  • The status field indicates transaction success ("0x1") or failure ("0x0"). Failed transactions still consume gas.
  • The logs array in each receipt contains the event logs emitted during that transaction's execution.
  • Returns null if the specified block does not exist.
  • Blocks with many transactions will produce large responses. Consider using eth_getTransactionReceipt for individual lookups if you only need specific transactions.
Copyright © 2026 AvecdrA. Made with love.