Retrieve an Operation
The single operation endpoint provides information about a specific operation.
Path Parameters
- id string required
The ID number for this operation.
Query Parameters
- join any
Set to transactions to include the transactions which created each of the operations in the response.
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
- RetrieveAnOperation
Schema
_links object
self object
href link requiredtemplated booleannext object
href link requiredtemplated booleanprev object
href link requiredtemplated booleaneffects object
href link requiredtemplated booleanprecedes object
href link requiredtemplated booleansucceds object
href link requiredtemplated booleantransaction object
href link requiredtemplated boolean- id id
- paging_token paging_token
- type_i number
- type string
{
"_links": {
"self": {
"href": "string",
"templated": true
},
"next": {
"href": "string",
"templated": true
},
"prev": {
"href": "string",
"templated": true
},
"effects": {
"href": "string",
"templated": true
},
"precedes": {
"href": "string",
"templated": true
},
"succeds": {
"href": "string",
"templated": true
},
"transaction": {
"href": "string",
"templated": true
}
},
"id": "string",
"paging_token": "string",
"type_i": 0,
"type": "create_account"
}
{
"_links": {
"self": {
"href": "https://horizon.stellar.org/operations/121692259040116737"
},
"transaction": {
"href": "https://horizon.stellar.org/transactions/f92a9648c1084d1de0fd786faac5d5e1637d4127c60841d2366c70d2e7f77b85"
},
"effects": {
"href": "https://horizon.stellar.org/operations/121692259040116737/effects"
},
"succeeds": {
"href": "https://horizon.stellar.org/effects?order=desc&cursor=121692259040116737"
},
"precedes": {
"href": "https://horizon.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
}
Loading...