By default this function only works for mempool transactions. If the -txindex option is enabled, it also works for blockchain transactions. DEPRECATED: for now, it also works for transactions with unspent outputs. If verbose is 'true', returns an object with information about 'txid'. If verbose is 'false' or omitted, returns a string that is serialized, hex-encoded data for 'txid'.
getrawtransaction(con, txid, verbose = FALSE)
A S4-object of class ANSRPC
.
object of class CONRPC
.
character
, the transaction id.
logical
, type of output.
Bernhard Pfaff
Returns the raw transaction data.
https://bitcoin.org/en/developer-reference#getblock, https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs
Other RawTransactions RPCs:
decoderawtransaction()