Transaction
Get a transation by id with the first 100 events. use /transaction/events to get the rest if any
get/transaction
Query parameters
idstring required
Response
Responses for GET /transaction
Example response
{
"transactions": [
{
"argument": [
{
"recipient": "0xf8d6e0586b0a20c7"
},
{
"id": 123
}
],
"authorizers": [
"0xf8d6e0586b0a20c7",
"0xf8d6e0586b0a20c6"
],
"block_height": 63253147,
"block_id": "3b456a38d04fdb6ca285db39936b7a74fccbefa2f0fea9a8ef57c4d67fdfdfca",
"error": "[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error:",
"error_code": "1011",
"events": [
{
"event_index": 3,
"fields": {
"from": "0xf8d6e0586b0a20c7",
"id": 123
},
"name": "A.f8d6e0586b0a20c7.ExampleNFT.Withdraw"
}
],
"events_aggregate": {
"aggregate": {
"count": 5
}
},
"fee": 0.000012,
"gas_limit": 9999,
"gas_used": 456,
"id": "3b456a38d04fdb6ca285db39936b7a74fccbefa2f0fea9a8ef57c4d67fdfdfca",
"payer": "0xf8d6e0586b0a20c7",
"proposer": "0xf8d6e0586b0a20c7",
"proposer_sequence_number": 1,
"status": "SEALED",
"timestamp": "2023-10-18 19:43:18.631339+00",
"transaction_body": {
"body": "the body of the transaction"
}
}
]
}