decoderawtransaction

Return a JSON object representing the serialized, hex-encoded transaction.

Argument #1 - hexstring
Type: string, required
The transaction hex string

Argument #2 - iswitness
Type: boolean, optional, default=depends on heuristic tests
Whether the transaction hex is a serialized witness transaction.
If iswitness is not present, heuristic tests will be used in decoding. If true, only witness deserialization will be tried. If false, only non-witness deserialization will be tried. This boolean should reflect whether the transaction has inputs (e.g. fully valid, or on-chain transactions), if known by the caller.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to public

For higher throughput, please create your own API key.

Body Params

Accepts nothing.

integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to decoderawtransaction
params
array
Defaults to 0100000000010540313d6a4053a95ba2a27c71dbd6f3ea00c3b166b565b80c73e56bcf586a9a020500000000ffffffffd6dc8a01bfd89d55f166f2022c14be524286c5eb798c2cac3da1bd4f9956b63a0400000000ffffffff31cfb8ca8dcdd42b5eba25cb7a7501bbf37c2d7bcdabb6c954422d5d022b553f0500000000ffffffff7d4978136c6e571846e3d1b08fa5885c846cb07023bc8a2d08ce1f63b701f3b80900000000ffffffffcc723df8cc7630d75909426807e386e5ed08979293110473fb8984f2d065d1e50c00000000ffffffff05a086010000000000160014962a54ea0f273acebac21388a7e3cac86f6ff95da086010000000000160014d0f91bfe40a3077d9ceaca99166e938b331ef87fa086010000000000160014e27a3310db82b34bba6b4c9f52b4adcf862342c7a086010000000000160014e5a5c01b1fc292ce7cdc7f547239d755033d7d15a086010000000000160014fa3c807308b7e6b79db423de674d5512a45f1bbd02483045022100f0c324a1d52498300ac3f246e7462b13d2a6b6a33d625432874e313027382ff50220441e3ecb28523b2ea9b04022f0d3b8c62c59fe1e7a2e9eac8838a2fde8c1e5e3012103a21bd110b2fe985c8e757ec3015acf3b40734d9591c56cf978ac99c28a7cd76802473044022044019af69ae3edef3726d59c371fa1a33fdb19ba6510c9dde84c2b3ebe796ca8022004f38e80251d8cc4a27d71f4aeda814d57edc8ad07cdd50d6a841f92c20baeb8012102994afa5d9213859a8a31894884ccc04ab4a556712af9182cc8493a7314ce20fb02483045022100942699f07abc4f63182662dd02c6a5ec5ed4bb04e8292c463c64d50736ebb65302207ae549019ee1db7b81c8f35d0d1b67251d255a780e825e6105cb4cf268929148012103085b2347b4c783fb804476acc75d10ae794d3596fe781e2619d52687a66db91802473044022036f72513bffb79a0cc6c4075cc0d34ec47c929f6448e201dc5350937d89cf03e0220160959b239e4875ce716c714a79965a342006cdaa52076f9db2fd482a7cc0b4701210365fe743ad22e7aff59fcc77732dc0773f91e886812036af4867290dc28ae34da02483045022100c41f68e06eafbbcc26f7cfd89a56a53f2f7c66f80c71c2e2da36b25990a08b8402201ba6bc64fe8941a2cb387aa1b4a99f6a32731be98eace3732123ec3d69d5eca60121038ecd68488de7b2660ad18ff01eac0de1b2ec39501ddee6ec4b4cd56f838d98c000000000
params
string
string
string
string
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json