Skip to main content
Returns all transaction receipts for a given block. More efficient than calling eth_getTransactionReceipt individually for each transaction.

Parameters

blockParameter
string
required
Block number in hexadecimal, or a block tag: latest, earliest, pending, safe, or finalized.

Returns

result
array | null
An array of transaction receipt objects for every transaction in the block, or null if the block was not found. Each receipt has the same structure as eth_getTransactionReceipt.

Example

{
  "jsonrpc": "2.0",
  "method": "eth_getBlockReceipts",
  "params": ["latest"],
  "id": 1
}