Retrieve an Operation

The single operation endpoint provides information about a specific operation.

This method will use 20 Compute Units.


Reference: Here

Retrieve an Operation

get

The single operation endpoint provides information about a specific operation.

Path parameters
idstringRequired

The ID number for this operation.

Example: 121692259040116740
Query parameters
joinanyOptional

Set to transactions to include the transactions which created each of the operations in the response.

Responses
200
Success
application/json
Responseall of
get
GET /v1/<YOUR_API_KEY_HERE>/operations/{id} HTTP/1.1
Host: mainnet.stellar.validationcloud.io
Accept: */*
200

Success

{
  "_links": {
    "self": {
      "href": "https://horizon-testnet.stellar.org/operations/121692259040116737"
    },
    "transaction": {
      "href": "https://horizon-testnet.stellar.org/transactions/f92a9648c1084d1de0fd786faac5d5e1637d4127c60841d2366c70d2e7f77b85"
    },
    "effects": {
      "href": "https://horizon-testnet.stellar.org/operations/121692259040116737/effects"
    },
    "succeeds": {
      "href": "https://horizon-testnet.stellar.org/effects?order=desc&cursor=121692259040116737"
    },
    "precedes": {
      "href": "https://horizon-testnet.stellar.org/effects?order=asc&cursor=121692259040116737"
    }
  },
  "id": "121692259040116737",
  "paging_token": "121692259040116737",
  "transaction_successful": true,
  "source_account": "GBDVKE33GVVMBXX73OHIBRP6RAHKHHW2P4PQVV6UNOKQCOXU7GNUM4QI",
  "type": "manage_offer",
  "type_i": 3,
  "created_at": "2020-02-21T20:10:21Z",
  "transaction_hash": "f92a9648c1084d1de0fd786faac5d5e1637d4127c60841d2366c70d2e7f77b85",
  "amount": "10000.0000000",
  "price": "0.0704336",
  "price_r": {
    "n": 44021,
    "d": 625000
  },
  "buying_asset_type": "credit_alphanum4",
  "buying_asset_code": "USD",
  "buying_asset_issuer": "GDUKMGUGDZQK6YHYA5Z6AY2G4XDSZPSZ3SW5UN3ARVMO6QSRDWP5YLEX",
  "selling_asset_type": "native",
  "offer_id": 161536436
}

Last updated

Was this helpful?