avm.getTx
Returns the specified transaction.
JSON-RPC request
jsonrpcstring
methodstring
params
idinteger
Response Body
application/json
application/json
curl -X POST "https://api.avax.network/ext/bc/X#avm.getTx" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "method": "avm.getTx", "params": { "txID": "2oJCbb8pfdxEHAf9A8CdN4Afj9VSR3xzyzNkf8tDv7aM1sfNFL" }, "id": 1 }'{
"jsonrpc": "2.0",
"result": {
"tx": "string",
"encoding": "hex"
},
"id": 1
}{
"jsonrpc": "2.0",
"error": {
"code": 0,
"message": "string",
"data": null
},
"id": 1
}Is this guide helpful?