Skip to main content

tx REST API Endpoint

Retrieves a transaction by hash.

Updated on
Apr 15, 2024

tx REST API Endpoint

Query Parameters

hash
string
REQUIRED
The hash of a transaction to retrieve
prove
boolean
REQUIRED
Adds proofs of the transaction's inclusion in the block

Returns

result
object
The result object which contains the following fields:
hash
The hash of the transaction
height
The height at which the transaction was included
index
The index of the transaction
tx_result
object
The tx_result object which contains the following fields:
log
The log information of the transaction
gas_wanted
Gas limit specified by the transaction
gas_used
Gas consumed by the transaction
tags
object
The tags object which contains the following fields:
key
The key associated with the tag
value
The value associated with the tag
index
The index of the tag
tx
The base64 encoded representation of the transaction
Request
1
curl --location 'https://docs-demo.sei-arctic.quiknode.pro/tx?hash=TRANSACTION_HASH&prove=true'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free