To use the eth_getBlockReceipts method on the C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.
Parameters
- blockReferencestringREQUIRED
The block number or block hash in hexadecimal format, or the tag latest, earliest, pending, safe, or finalized
Returns
- resultarray
An array of transaction receipt objects
- blockHashstring | null
The hash of the block where this transaction was included
- blockNumberstring
The block number where this transaction was included, encoded as a hexadecimal
- contractAddressstring | null
The contract address created if the transaction was a contract creation, otherwise null
- cumulativeGasUsedstring
The total amount of gas used in the block up to and including this transaction
- effectiveGasPricestring
The actual value per gas deducted from the sender account
- fromstring
The address of the sender
- gasUsedstring
The amount of gas used by this transaction
- logsarray
An array of log objects generated by this transaction
- addressstring
The address from which this log originated
- topicsarray
An array of zero to four 32-byte indexed log arguments
- datastring
The non-indexed log arguments
- blockNumberstring
The block number where this log was included, or null for a pending log
- transactionHashstring
The hash of the transaction that created this log, or null for a pending log
- transactionIndexstring
The transaction's index position in the block, or null for a pending log
- blockHashstring
The hash of the block where this log was included, or null for a pending log
- logIndexstring
The log's index position in the block, or null for a pending log
- removedboolean
Whether the log was removed due to a chain reorganization
- logsBloomstring
The bloom filter used to retrieve related logs
- statusstring
The transaction status, either 0x1 (success) or 0x0 (failure)
- tostring | null
The address of the receiver, or null for a contract creation transaction
- transactionHashstring
The hash of the transaction
- transactionIndexstring
The transaction's index position in the block, encoded as a hexadecimal
- typestring
The transaction type, encoded as a hexadecimal
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"blockHash": "0x50ebfb298d23738a242358d1bdf54c0212b72d2447af1403b0baebb513a1c84d",7"blockNumber": "0x3a09e",8"contractAddress": null,9"cumulativeGasUsed": "0x6d32",10"effectiveGasPrice": "0x5d21dba01",11"from": "0xc3c4c0a44ef34cf60d9076f66c8411793375a4ff",12"gasUsed": "0x6d32",13"logs": [],14"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",15"status": "0x0",16"to": "0x1000000000000000000000000000000000000003",17"transactionHash": "0x2d9495354372ab787a3328c7070a8fa82c012e13e127b9190897a6e1cddcb57d",18"transactionIndex": "0x0",19"type": "0x0"20}21]22}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"blockHash": "0x50ebfb298d23738a242358d1bdf54c0212b72d2447af1403b0baebb513a1c84d",7"blockNumber": "0x3a09e",8"contractAddress": null,9"cumulativeGasUsed": "0x6d32",10"effectiveGasPrice": "0x5d21dba01",11"from": "0xc3c4c0a44ef34cf60d9076f66c8411793375a4ff",12"gasUsed": "0x6d32",13"logs": [],14"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",15"status": "0x0",16"to": "0x1000000000000000000000000000000000000003",17"transactionHash": "0x2d9495354372ab787a3328c7070a8fa82c012e13e127b9190897a6e1cddcb57d",18"transactionIndex": "0x0",19"type": "0x0"20}21]22}