Skip to main content

Transaction statuses

Provides updates on transaction status changes for already sent transactions.

Example Request


_10
{
_10
"subscription_id": "some-id",
_10
"action": "subscribe",
_10
"topic": "transaction_statuses",
_10
"arguments": {
_10
"tx_id": "fe3784095bc194dca02e4b14e7e6a1e0519d10b7bc907453e5b5dc276259a106"
_10
}
_10
}

Request Arguments

NameTypeRequiredDescription
tx_idSTRINGYESThe ID of the transaction to monitor for status changes.

Example Response


_36
{
_36
"subscription_id": "some-id",
_36
"topic": "transaction_statuses",
_36
"payload": {
_36
"transaction_result": {
_36
"block_id": "b668e472c404e471cba8bab5246ca98f90d8492e80c81aae4cccbfae6e734aad",
_36
"collection_id": "efdcbf3b2b02b20cdfa7f2669034da05e44232ea68e41d3ed14756472081f9b9",
_36
"execution": "Success",
_36
"status": "Sealed",
_36
"status_code": 0,
_36
"error_message": "",
_36
"computation_used": "0",
_36
"events": [
_36
{
_36
"type": "A.0b2a3299cc857e29.TopShot.Withdraw",
_36
"transaction_id": "fe3784095bc194dca02e4b14e7e6a1e0519d10b7bc907453e5b5dc276259a106",
_36
"transaction_index": "4",
_36
"event_index": "0",
_36
"payload": "eyJ2YWx1ZSI6eyJpZCI6IkEuMGIyYTMyOTljYzg1N2UyOS5Ub3BTaG90LldpdGhkcmF3IiwiZmllbGRzIjpbeyJ2YWx1ZSI6eyJ2YWx1ZSI6IjQwOTQ3MzE4IiwidHlwZSI6IlVJbnQ2NCJ9LCJuYW1lIjoiaWQifSx7InZhbHVlIjp7InZhbHVlIjp7InZhbHVlIjoiMHg2N2Q5OTk5MWMxMzRlODQ4IiwidHlwZSI6IkFkZHJlc3MifSwidHlwZSI6Ik9wdGlvbmFsIn0sIm5hbWUiOiJmcm9tIn1dfSwidHlwZSI6IkV2ZW50In0K"
_36
},
_36
// Full response is cut down due to its large size; see `_links` for the full response. ...
_36
{
_36
"type": "A.f919ee77447b7497.FlowFees.FeesDeducted",
_36
"transaction_id": "fe3784095bc194dca02e4b14e7e6a1e0519d10b7bc907453e5b5dc276259a106",
_36
"transaction_index": "4",
_36
"event_index": "22",
_36
"payload": "eyJ2YWx1ZSI6eyJpZCI6IkEuZjkxOWVlNzc0NDdiNzQ5Ny5GbG93RmVlcy5GZWVzRGVkdWN0ZWQiLCJmaWVsZHMiOlt7InZhbHVlIjp7InZhbHVlIjoiMC4wMDAwNDc5OCIsInR5cGUiOiJVRml4NjQifSwibmFtZSI6ImFtb3VudCJ9LHsidmFsdWUiOnsidmFsdWUiOiIxLjAwMDAwMDAwIiwidHlwZSI6IlVGaXg2NCJ9LCJuYW1lIjoiaW5jbHVzaW9uRWZmb3J0In0seyJ2YWx1ZSI6eyJ2YWx1ZSI6IjAuMDAwMDAxODgiLCJ0eXBlIjoiVUZpeDY0In0sIm5hbWUiOiJleGVjdXRpb25FZmZvcnQifV19LCJ0eXBlIjoiRXZlbnQifQo="
_36
}
_36
],
_36
"_links": {
_36
"_self": "/v1/transaction_results/fe3784095bc194dca02e4b14e7e6a1e0519d10b7bc907453e5b5dc276259a106"
_36
}
_36
},
_36
"message_index": 3
_36
}
_36
}