100%

Effects for Operation

Effects for Operation

This endpoint represents all effects that occurred as a result of a given operation.

Request:-

GET /operations/{id}/effects{?cursor,limit,order}

Arguments

Name Notes Description Example
id required, number An operation ID 77309415424
?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 effects on the ledger as a result of a given operation.

Curl "https://network.paybito.com/operations/77309415424/effects"

{

"_embedded" : {

"records" : [

{

"_links" : {

"operation" : {

"href" : "/operations/141733924865"

},

"precedes" : {

"href" : "/effects?cursor=141733924865-1\u0026order=asc"

},

"succeeds" : {

"href" : "/effects?cursor=141733924865-1\u0026order=desc"

}

},

"account" : "GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K" ,

"paging_token" : "141733924865-1" ,

"starting_balance" : "10000000.0" ,

"type_i" : 0 ,

"type" : "account_created"

},

{

"_links" : {

"operation" : {

"href" : "/operations/141733924865"

},

"precedes" : {

"href" : "/effects?cursor=141733924865-2\u0026order=asc"

},

"succeeds" : {

"href" : "/effects?cursor=141733924865-2\u0026order=desc"

}

},

"account" : "GBRPYHIL2CI3FNQ4BXLFMNDLFJUNPU2HY3ZMFSHONUCEOASW7QC7OX2H" ,

"amount" : "10000000.0" ,

"asset_type" : "native" ,

"paging_token" : "141733924865-2" ,

"type_i" : 3 ,

"type" : "account_debited"

},

{

"_links" : {

"operation" : {

"href" : "/operations/141733924865"

},

"precedes" : {

"href" : "/effects?cursor=141733924865-3\u0026order=asc"

},

"succeeds" : {

"href" : "href": "/effects?cursor=141733924865-3\u0026order=desc"

}

},

"account" : "GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K" ,

"paging_token" : "141733924865-3" ,

"public_key" : "GBS43BF24ENNS3KPACUZVKK2VYPOZVBQO2CISGZ777RYGOPYC2FT6S3K" ,

"type_i" : 10 ,

"type" : "signer_created"

"weight" : 2

}

]

},

"_links" : {

"next" : {

"href" : "/operations/141733924865/effects?order=asc\u0026limit=10\u0026cursor=141733924865-3"

},

"prev" : {

"href" : "/operations/141733924865/effects?order=desc\u0026limit=10\u0026cursor=141733924865-1"

},

"self" : {

"href" : "/operations/141733924865/effects?order=asc\u0026limit=10\u0026cursor="

}

}

}

+
Chat Now
Welcome to HashCash Support