post https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8/
The decoderawtransaction
method is used to decode a raw transaction encoded in hex format. It provides a detailed view of the transaction's components, such as its inputs, outputs, version, and lock time.
Get you own node endpoint today
Start for free and get your app to production levels immediately. No credit card required.
You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
hexString
(required): The raw transaction in hex format.
Response
result
— an object containing detailed information about the decoded transaction, including inputs, outputs, the transaction's version, and lock time.error
— an object containing an error message if an error occurred, otherwisenull
.id
— an integer representing the ID of the request.
Use case
The decoderawtransaction
method is crucial for developers and analysts who need to inspect the details of a raw transaction without broadcasting it to the network. It's used for debugging, transaction analysis, and educational purposes.
Try the decoderawtransaction
RPC method yourself
decoderawtransaction
RPC method yourself