View source: R/BlockchainRpcs.R
getblockheader | R Documentation |
Returns the block header for a given hash string.
getblockheader(con, hash, verbose = TRUE)
con |
object of class |
hash |
|
verbose |
|
A S4-object of class ANSRPC
.
If verbose is false, returns a string that is serialized, hex-encoded data for blockheader 'hash'. If verbose is true, returns an Object with information about blockheader <hash>.
Bernhard Pfaff
https://bitcoin.org/en/developer-reference#getblockheader, https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs
Other Blockchain RPCs: decodescript
,
getbestblockhash
,
getblockchaininfo
,
getblockcount
, getblockhash
,
getblock
, getchaintips
,
getchaintxstats
,
getdifficulty
,
getmempoolancestors
,
getmempooldescendants
,
getmempoolentry
,
getmempoolinfo
,
getrawmempool
, gettxoutproof
,
gettxoutsetinfo
, gettxout
,
preciousblock
,
pruneblockchain
, verifychain
,
verifytxoutproof
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.