getrawtransaction: RPC-JSON API: getrawtransaction

Description Usage Arguments Value Author(s) References See Also

Description

Returns the raw transaction data.

Usage

1
getrawtransaction(con, txid, verbose = FALSE)

Arguments

con

object of class CONRPC.

txid

character, the transaction id.

verbose

logical, type of output.

Value

A S4-object of class ANSRPC.

Details 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'.

Author(s)

Bernhard Pfaff

References

https://bitcoin.org/en/developer-reference#getblock, https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs

See Also

Other RawTransactions RPCs: decoderawtransaction


rbtc documentation built on May 2, 2019, 6:11 p.m.

Related to getrawtransaction in rbtc...