Appearance
Receipt
The result of a transaction in a block. eth_getTransactionReceipt and eth_getBlockReceipts return it.
Fields
| Field | Type | Meaning |
|---|---|---|
status | hex number | 0x1 when the transaction succeeded, 0x0 when it failed (reverted or out of gas). |
transactionHash | 32-byte hash | The transaction hash. |
transactionIndex | hex number | The position in the block. |
blockHash | 32-byte hash | The block hash. |
blockNumber | hex number | The block number. |
from | address | The sender. |
to | address or null | The recipient. null for a contract deployment. |
contractAddress | address or null | The address of the new contract for a deployment. Otherwise null. |
gasUsed | hex number | The gas that this transaction used. |
cumulativeGasUsed | hex number | The gas that the block used up to and with this transaction. |
effectiveGasPrice | hex number, wei | The price per gas that the sender paid. |
blobGasUsed | hex number | The blob gas (blob transactions only). |
blobGasPrice | hex number, wei | The blob gas price (blob transactions only). |
logs | list of Log | The logs that the transaction emitted. |
logsBloom | 256-byte hex data | The bloom filter of these logs. |
type | hex number | The transaction type. |
Used by
eth_getBlockReceipts, eth_getTransactionReceipt, eth_sendRawTransactionSync.