3 daily demo queries remain*
Input(s) 3
The getrawtransaction RPC command is used to obtain the raw transaction data for a given transaction ID. It can return either a serialized, hex-encoded string of the transaction data or a detailed JSON object containing comprehensive information about the transaction, depending on the verbosity level specified. By default, it operates on transactions in the mempool but can also retrieve data for transactions in specific blocks if a blockhash is provided.
How is this used?
This command is used extensively for blockchain analysis, debugging transaction issues, and verifying transaction details outside of the wallet context. It allows developers, analysts, and users to access detailed information about a transaction's composition, such as its inputs and outputs, size, and inclusion in a block. This is particularly useful for applications that need to verify transaction details programmatically or for anyone conducting an in-depth analysis of transaction flows and blockchain data
Request
method
getrawtransaction
txid
Required
verbose
Optional
blockhash
Optional
Inputs(3)
one required input remaining...
Result