erigon_getBlockReceiptsByBlockHash RPC Method
Parameters
blockHash
string
REQUIRED
The block hash for which the receipts is to be fetched
Returns
result
array
An array of objects
blockHash
string
The hash of the block. null when pending
blockNumber
string
The block number
contractAddress
string
The contract address created if the transaction was a contract creation, otherwise null
cumulativeGasUsed
string
The total amount of gas used when this transaction was executed in the block
effectiveGasPrice
string
The actual value per gas deducted from the sender account
from
string
The address of the sender
gasUsed
string
The amount of gas used by this specific transaction alone
logs
array
An array of log objects that generated this transaction
address
string
An address from which this log originated
topics
array
An array of zero to four 32 Bytes DATA of indexed log arguments. In Solidity, the first topic is the hash of the signature of the event (e.g. Deposit(address, bytes32, uint256)), except you declare the event with the anonymous specifier
data
string
It contains one or more 32 Bytes non-indexed arguments of the log
blockNumber
string
The block number where this log was in. null when its a pending log
transactionHash
string
The hash of the transactions this log was created from. null when its a pending log
transactionIndex
string
The integer of the transaction's index position that the log was created from. null when it's a pending log
blockHash
string
The hash of the block where this log was in. null when its a pending log
logIndex
string
The integer of the log index position in the block. null when its a pending log
removed
boolean
It is true when the log was removed due to a chain reorganization, and false if it's a valid log
logsBloom
string
The bloom filter for light clients to quickly retrieve related logs
status
string
It is either 1 (success) or 0 (failure) encoded as a hexadecimal
to
string
The address of the receiver. null when it's a contract creation transaction
transactionHash
string
The hash of the transaction
transactionIndex
string
An index of the transaction in the block
type
string
The value type
Request
1curl --location 'https://docs-demo.matic.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '{4"method": "erigon_getBlockReceiptsByBlockHash",5"params": [6"0x857e55df90ef6a8a171eba364bcf917642bdebe19a0012e7cc886bb3672df4a9"7],8"id": 1,9"jsonrpc": "2.0"10}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free