Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
transactionHash
(string, required) — The 32-byte hash of the transaction
Returns
Returns a transaction receipt object, ornull
if the transaction is not found or still pending.
Transaction receipt:
transactionHash
— Hash of the transactiontransactionIndex
— Index in the block (hex string)blockHash
— Hash of containing blockblockNumber
— Number of containing block (hex string)from
— Sender addressto
— Receiver address (null for contract creation)gasUsed
— Actual gas used (hex string)cumulativeGasUsed
— Total gas used in block up to this transaction (hex string)contractAddress
— Created contract address (null if not contract creation)logs
— Array of event logsstatus
— Transaction status (0x0
for failure,0x1
for success)effectiveGasPrice
— Actual gas price paid (hex string)type
— Transaction type (hex string)
address
— Contract address that emitted the logtopics
— Array of indexed event parametersdata
— Non-indexed event parameters
Transaction receipts are only available for mined transactions. Pending transactions return
null
.Use cases
- Transaction verification — Confirm transaction execution and success status
- Event extraction — Process smart contract events and logs
- Gas analysis — Analyze transaction costs and gas usage
- Contract deployment — Verify contract creation and get addresses
- Wallet applications — Display transaction results to users
- DeFi protocols — Monitor protocol events and state changes
Body
application/json