decoderawtransaction
POST
/{apiKey}
Decodes a serialized, hex-encoded Bitcoin transaction. Returns detailed information about inputs, outputs, size, witness data, etc.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
string
format: "^[a-fA-F0-9]+$"requiredThe transaction hex string to decode.
booleanoptional
Indicates whether the transaction includes witness data. If omitted, heuristic decoding is applied.
Responses
200
A JSON object representing the decoded transaction.
Was this page helpful?