Operations For Transaction

Operations for Transaction

This endpoint represents successful operations that are part of a given transaction.

Request:-

GET /transactions/{hash}/operations{?cursor,limit,order}

Arguments

Name Notes Description Example
hash required, string A transaction hash, hex-encoded 6391dd190f15f7d1665ba53c63842e368f485651a53d8d852ed442a446d1c69a
?cursor optional, default null A paging token, specifying where to start returning records from. 12884905984
?order optional, string, default asc The order in which to return rows, “asc” or “desc”. asc
?limit optional, number, default: 10 Maximum number of records to return. 200

Response

This endpoint responds with a list of operations that are part of a given transaction. See operation resource for reference.

curl "https://network.paybito.com/transactions/6558ca87a30140492eaa8a88572d45fb2728ebbc1eccf48f2dc6ddfe8cae2d79/operations"

{

"_embedded" : {

"records" : [

{

"_links" : {

"effects" : {

"href" : "/operations/47184510717953/effects",

"templated" : true

},

"precedes" : {

"href" : "/effects?order=asc\u0026cursor=47184510717953"

},

"self" : {

"href" : "/operations/47184510717953"

},

"succeeds" : {

"href" : "/effects?order=desc\u0026cursor=47184510717953"

},

"transactions" : {

"href" : "/transactions/6558ca87a30140492eaa8a88572d45fb2728ebbc1eccf48f2dc6ddfe8cae2d79"

},

"account" : "GB55ZCH6WXZLJRUP3J36NHZSMIPNW24LZNGAOOLMFTJTIRZCCSUTY7XW",

"funder" : "GBXVKIPRDNPTXA6R6OREEY3GDFDUUR6MTY7XKBO62QVXRG4ZQBAMWMEO",

"id" : 47184510717953,

"paging_token" : "47184510717953",

"created_at" : "2018-12-20T06:44:24Z",

"transaction_hash" : "6558ca87a30140492eaa8a88572d45fb2728ebbc1eccf48f2dc6ddfe8cae2d79",

"starting_balance" : 100000.0000000,

"type_i" : 0,

"type" : "create_account",

}

]

},

"_links" : {

"next" : {

"href" : "/transactions/6558ca87a30140492eaa8a88572d45fb2728ebbc1eccf48f2dc6ddfe8cae2d79/operations?cursor=47184510717953\u0026limit=10\u0026order=asc"

},

"prev" : {

"href" : "/transactions/6558ca87a30140492eaa8a88572d45fb2728ebbc1eccf48f2dc6ddfe8cae2d79/operations?cursor=47184510717953\u0026limit=10\u0026order=desc"

},

"self" : {

"href" : "/transactions/6558ca87a30140492eaa8a88572d45fb2728ebbc1eccf48f2dc6ddfe8cae2d79/operations?cursor=\u0026limit=10\u0026order=asc"

}

}

}