Skip to main content

tx REST API Endpoint

Retrieves a transaction by hash.

Updated on
Mar 17, 2026

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
string

The hash of the transaction

height
string

The height at which the transaction was included

index
string

The index of the transaction

tx_result
object

The tx_result object which contains the following fields:

log
string

The log information of the transaction

gas_wanted
string

Gas limit specified by the transaction

gas_used
string

Gas consumed by the transaction

tags
object

The tags object which contains the following fields:

key
string

The key associated with the tag

value
string

The value associated with the tag

index
string

The index of the tag

tx
string

The base64 encoded representation of the transaction

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free