Skip to main content

Retrieve an Account Transactions REST API Endpoint

Retrieves transaction records associated with a specific account using its account ID

Updated on
Oct 4, 2023

Retrieve an Account Transactions REST API Endpoint

Please note that this method can be used in streaming mode. Streaming mode allows to listen for new transactions for this account as they are added to the Stellar ledger.

Path Parameters

account_id
string
REQUIRED
The account id to retrieve transaction records

Query Parameters

cursor
integer
The position of the data set to retrieve
order
string
The order in which transactions are retrieved. The possible values include ascending and descending order
limit
integer
The maximum number of transactions to retrieve in a single request
include_failed
boolean
A boolean value that determines whether to include failed transactions in the result or not

Returns

_links
object
The links related to the account data
self
object
The self-reference link
href
string
The URL for self-reference
templated
boolean
A boolean value that indicates whether the link is templated or not
next
object
The link to the next set of data
href
string
The URL for next set of data
templated
boolean
A boolean value that indicates whether the link is templated or not
prev
object
The link to the previous set of data
href
string
The URL for previous set of data
templated
boolean
A boolean value that indicates whether the link is templated or not
_embedded
object
The embedded account records
records
array
An array of account records
memo
string
The memo associated with the transaction
_links
object
The links related to the account record
self
object
The self-reference link
href
string
The URL for self-reference
templated
boolean
A boolean value that indicates whether the link is templated or not
transactions
object
The link to transactions related to the account
href
string
The URL for transactions related to the account
templated
boolean
A boolean value that indicates whether the link is templated or not
operations
object
The link to operations related to the account
href
string
The URL for operations related to the account
templated
boolean
A boolean value that indicates whether the link is templated or not
payments
object
The link to payments related to the account
href
string
The URL for payments related to the account
templated
boolean
A boolean value that indicates whether the link is templated or not
effects
object
The link to effects related to the account
href
string
The URL for effects related to the account
templated
boolean
A boolean value that indicates whether the link is templated or not
offers
object
The link to offers related to the account
href
string
The URL for offers related to the account
templated
boolean
A boolean value that indicates whether the link is templated or not
trades
object
The link to trades related to the account
href
string
The URL for trades related to the account
templated
boolean
A boolean value that indicates whether the link is templated or not
data
object
The link to account data related to specific keys
href
string
The URL for account data related to specific keys
templated
boolean
A boolean value that indicates whether the link is templated or not
id
string
The transaction ID
paging_token
string
The paging token
successful
boolean
A boolean value that indicates whether the transaction was successful or not
hash
string
The hash of the transaction
ledger
integer
The ledger number of the transaction
created_at
string
The timestamp when the transaction was created
source_account
string
The source account of the transaction
account_muxed
string
The muxed account associated with the transaction
account_muxed_id
string
The muxed account ID
source_account_sequence
string
The sequence number of the source account
fee_account
string
The account that paid the transaction fee
fee_account_muxed
string
The muxed account that paid the fee
fee_account_muxed_id
string
The ID of the muxed fee account
fee_charged
string
The fee charged for the transaction
max_fee
string
The maximum fee allowed for the transaction
operation_count
integer
The number of operations in the transaction
envelope_xdr
string
The envelope XDR of the transaction
result_xdr
string
The result XDR of the transaction
result_meta_xdr
string
The result meta XDR of the transaction
fee_meta_xdr
string
The fee meta XDR of the transaction
memo_type
string
The type of memo used in the transaction
signatures
string
The signatures associated with the transaction
valid_after
string
The timestamp indicating when the transaction is valid after
valid_before
string
The timestamp indicating when the transaction is valid before
preconditions
object
The preconditions for the transaction
timebounds
object
The timebound constraints for the transaction
min_time
string
The minimum timebound
max_time
string
The maximum timebound
ledgerbounds
object
The ledgerbound constraints for the transaction
min_time
string
The minimum ledgerbound
max_time
string
The maximum timebound
min_account_sequence
string
The minimum account sequence for the transaction
min_account_sequence_age
string
The minimum account sequence age for the transaction
min_account_sequence_ledger_gap
integer
The minimum account sequence ledger gap
extra_signers
string
The extra signers for the transaction
fee_bump_transaction
object
The fee bump transaction associated with the transaction
hash
string
The hash of the fee bump transaction
signatures
string
The signatures associated with the fee bump transaction
inner_transaction
object
The inner transaction associated with the transaction
hash
string
The hash of the inner transaction
signatures
string
The signatures associated with the inner transaction
max_fee
string
The maximum fee for the inner transaction
Request
1
curl -L -X GET 'https://docs-demo.stellar-mainnet.quiknode.pro/accounts/GDUY7J7A33TQWOSOQGDO776GGLM3UQERL4J3SPT56F6YS4ID7MLDERI4/transactions' \
2
-H 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free