Skip to main content

Retrieve a Transaction REST API Endpoint

Returns information about a specific transaction

Updated on
Oct 4, 2023

Retrieve a Transaction REST API Endpoint

Path Parameters

transaction_hash
string
REQUIRED
The hash of the transaction

Returns

_links
object
A collection of links to related resources
self
object
The self link object which contains the following fields:
href
string
The URL of the retrieved transaction
templated
boolean
If set to true indicates that this URL is a template and can be expanded by replacing the placeholders with actual values
account
object
The account link object which contains the following fields:
href
string
The URL of the retrieved account
templated
boolean
If set to true indicates that this URL is a template and can be expanded by replacing the placeholders with actual values
ledger
object
The ledger link object which contains the following fields:
href
string
The URL of the retrieved ledger
templated
boolean
If set to true indicates that this URL is a template and can be expanded by replacing the placeholders with actual values
operations
object
The operations link object which contains the following fields:
href
string
The URL of the retrieved operations
templated
boolean
If set to true indicates that this URL is a template and can be expanded by replacing the placeholders with actual values
effects
object
The effects link object which contains the following fields:
href
string
The URL of the retrieved effects
templated
boolean
If set to true indicates that this URL is a template and can be expanded by replacing the placeholders with actual values
precedes
object
The precedes link object which contains the following fields:
href
string
The URL of the retrieved precedes
templated
boolean
If set to true indicates that this URL is a template and can be expanded by replacing the placeholders with actual values
succeeds
object
The succeeds link object which contains the following fields:
href
string
The URL of the retrieved succeeds
templated
boolean
If set to true indicates that this URL is a template and can be expanded by replacing the placeholders with actual values
transaction
object
The transaction link object which contains the following fields:
href
string
The URL of the retrieved transaction
templated
boolean
If set to true indicates that this URL is a template and can be expanded by replacing the placeholders with actual values
id
string
The unique identifier of the transaction
paging_token
string
A token used for pagination to facilitate navigation through a collection of transactions
successful
boolean
A boolean indicating whether the transaction was successful
hash
string
The hash of the transaction
ledger
integer
The sequence number of the ledger in which the transaction was included
created_at
string
The timestamp indicating when the transaction was created
source_account
string
The source account that initiated the transaction. Value must match regular expression G[A-Z0-9]{55}
source_account_sequence
string
The sequence number of the source account at the time the transaction was created
fee_account
string
The fee account's address. Value must match regular expression G[A-Z0-9]{55}
fee_account_muxed
string
The fee account's address in the context of a muxed account. Muxed accounts allow a single account to have multiple associated subaccounts, each with its own unique identifier. Value must match regular expression G[A-Z0-9]{55}
fee_account_muxed_id
string
The muxed account id
fee_charged
string
The amount of fee charged for the transaction
max_fee
string
The maximum fee that could have been charged for the transaction
operation_count
integer
The number of operations contained within the transaction
envelope_xdr
string
he base64-encoded transaction envelope XDR
result_xdr
string
The base64-encoded result XDR of the transaction, containing the outcome of the transaction
result_meta_xdr
string
The base64-encoded result meta XDR of the transaction, containing additional metadata about the transaction outcome
fee_meta_xdr
string
The base64-encoded fee meta XDR of the transaction, containing metadata about the transaction fee
memo_type
string
The type of memo attached to the transaction
signatures
string
An array of base64-encoded transaction signatures that prove the authenticity of the transaction
valid_after
string
The timestamp after which the transaction is considered valid. Transactions submitted before this timestamp are considered invalid
preconditions
object
It contains preconditions for the transaction
timebounds
object
Specifies the time range during which the transaction is considered valid
min_time
string
The minimum timestamp that must be reached for the transaction to be considered valid. Value must match regular expression G[A-Z0-9]{55}
Request
1
curl -L -X GET 'https://docs-demo.stellar-mainnet.quiknode.pro/transactions/bb596a47307f0c97014cff7606374d861313f52bc0b2aebbf31d0016f007cf34' \
2
-H 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free