Skip to content

Receipt ​

The result of a transaction in a block. eth_getTransactionReceipt and eth_getBlockReceipts return it.

Fields ​

FieldTypeMeaning
statushex number0x1 when the transaction succeeded, 0x0 when it failed (reverted or out of gas).
transactionHash32-byte hashThe transaction hash.
transactionIndexhex numberThe position in the block.
blockHash32-byte hashThe block hash.
blockNumberhex numberThe block number.
fromaddressThe sender.
toaddress or nullThe recipient. null for a contract deployment.
contractAddressaddress or nullThe address of the new contract for a deployment. Otherwise null.
gasUsedhex numberThe gas that this transaction used.
cumulativeGasUsedhex numberThe gas that the block used up to and with this transaction.
effectiveGasPricehex number, weiThe price per gas that the sender paid.
blobGasUsedhex numberThe blob gas (blob transactions only).
blobGasPricehex number, weiThe blob gas price (blob transactions only).
logslist of LogThe logs that the transaction emitted.
logsBloom256-byte hex dataThe bloom filter of these logs.
typehex numberThe transaction type.

Used by ​

eth_getBlockReceipts, eth_getTransactionReceipt, eth_sendRawTransactionSync.