Skip to main content

Retrieve an Operation REST API Endpoint

Retrieve information about a specific operation

Updated on
Oct 04, 2023

Path Parameters

id
string
REQUIRED

The ID number for this operation

Query Parameters

join
string
REQUIRED

It includes the transactions which created each of the operations in the response

Returns

_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

offer_id
integer

The ID of the offer associated with the operation

asset_balance_changes
array

(Optional) An array of asset balance changes associated with the operation

destination_muxed_id
string

(Optional) The muxed account ID of the destination when the destination is a muxed account

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