Retrieve a Transaction Operations REST API Endpoint
Path Parameters
transaction_hash
string
REQUIRED
The hash of the transaction
Query Parameters
cursor
integer
A number that points to a specific location in a collection of responses which is pulled from the paging_token value of a record
order
string
The designation of the order of the records. It can be ascending or descending. By default it is set to ascending
limit
integer
The maximum number of records returned
include_failed
boolean
If true, it includes failed operations in results
join
string
It includes the transactions which created each of the operations in the response
Returns
_links
object
The link object which provides links to various related resources
self
object
The self link object which contains the following field:
href
string
A link that points to the current page of operations
next
object
The next link object which contains the following field:
href
string
A link to the next page of operations, allowing for pagination
prev
object
The prev link object which contains the following field:
href
string
A link to the previous page of operations, enabling navigation backward
_embedded
object
Embedded operation object which contains the following fields:
records
array
An array containing individual operation records that match the query parameters
_links
object
Links to related resources associated with the specific operation
self
object
The self link object which contains the following field:
href
string
A link to the current operation, allowing navigation to the details of the operation
transaction
object
The transaction link object which contains the following field:
href
string
A link to the transaction containing the operation, enabling access to the details of the parent transaction
effects
object
The effects link object which contains the following field:
href
string
A link to the effects associated with the operation
succeeds
object
The succeeds link object which contains the following field:
href
string
A link to effects with an order in descending order relative to this operation's order
precedes
object
The precedes link object which contains the following field:
href
string
A link to effects with an order in ascending order relative to this operation's order
id
string
The unique identifier of the operation
paging_token
string
A token used for pagination, providing a reference point for navigating between pages of operation records
transaction_successful
boolean
A boolean indicating whether the transaction associated with this operation was successful
source_account
string
The source account that initiated the operation
type
string
The type of operation
type_i
integer
The numeric code representing the operation type
created_at
string
The timestamp indicating when the operation was created
transaction_hash
string
The hash of the transaction containing the operation
amount
string
The amount associated with the operation
price
string
The price of the operation, indicating the exchange rate if applicable
price_r
object
The rational representation of the price, with a numerator (n) and a denominator (d)
n
integer
The numerator
d
integer
The denominator
buying_asset_type
string
The type of asset being bought in the operation
buying_asset_code
string
The asset code of the buying asset
buying_asset_issuer
string
The issuer of the buying asset
selling_asset_type
string
The type of asset being sold in the operation
selling_asset_code
string
The asset code of the selling asset
selling_asset_issuer
string
The issuer of the selling asset
offer_id
integer
The ID of the offer associated with the operation
Request
1curl -L -X GET 'https://docs-demo.stellar-mainnet.quiknode.pro/transactions/bb596a47307f0c97014cff7606374d861313f52bc0b2aebbf31d0016f007cf34/operations' \2-H 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free