TypeScript SDK
TransactionReceipt
type TransactionReceipt< quantity = bigint, index = number, status = "success" | "reverted", type = TransactionType,> = { blobGasPrice?: quantity; blobGasUsed?: quantity; blockHash: Hash; blockNumber: quantity; contractAddress: Address | null | undefined; cumulativeGasUsed: quantity; effectiveGasPrice: quantity; from: Address; gasUsed: quantity; logs: Array<Log<quantity, index, false>>; logsBloom: Hex; root?: Hash; status: status; to: Address | null; transactionHash: Hash; transactionIndex: index; type: type;};The actual value per gas deducted from the sender's account for blob gas. Only specified for blob transactions as defined by EIP-4844.
type blobGasPrice = quantity;The amount of blob gas used. Only specified for blob transactions as defined by EIP-4844.
type blobGasUsed = quantity;Hash of block containing this transaction
type blockHash = Hash;Number of block containing this transaction
type blockNumber = quantity;Address of new contract or null if no contract was created
type contractAddress = Address | null | undefined;Gas used by this and all preceding transactions in this block
type cumulativeGasUsed = quantity;Pre-London, it is equal to the transaction's gasPrice. Post-London, it is equal to the actual gas price paid for inclusion.
type effectiveGasPrice = quantity;Transaction sender
type from = Address;Gas used by this transaction
type gasUsed = quantity;List of log objects generated by this transaction
type logs = Array<Log<quantity, index, false>>;Logs bloom filter
type logsBloom = Hex;The post-transaction state root. Only specified for transactions included before the Byzantium upgrade.
type root = Hash;success if this transaction was successful or reverted if it failed
type status = status;Transaction recipient or null if deploying a contract
type to = Address | null;Hash of this transaction
type transactionHash = Hash;Index of this transaction in the block
type transactionIndex = index;Transaction type
type type = type;