gettransactions
Fetches one or more transactions by hash from the blockchain and/or the mempool. This is a legacy plain-HTTP endpoint, not a JSON-RPC method — POST directly to /gettransactions (not /json_rpc), and the body/response have no jsonrpc/method/id envelope.
Request
POST http://127.0.0.1:11232/gettransactions
{
"txs_hashes": [
"5509650e12c8f901e6731a2bfaf3abfd64409e3e1366d3d94cd11db8beddb0c"
]
}
Request parameters
- txs_hashes - array of transaction hashes (hex-encoded) to look up.
Response
{
"txs_as_hex": [
"01f2a3..."
],
"missed_tx": [],
"status": "OK"
}
Response information
- txs_as_hex - array of found transactions, each serialized as a hex-encoded blob, in the same order they were found (not necessarily the request order once misses are removed).
- missed_tx - hex-encoded hashes from the request that could not be found.
- status - "OK" on success. If a hash in
txs_hashesisn't valid hex or isn't the right size for a hash,statusexplains the parse failure and no transactions are returned at all (the whole call fails, not just that one hash).