View source: R/BlockchainRpcs.R
| getblockcount | R Documentation |
Returns the number of blocks in the longest blockchain.
getblockcount(con)
con |
object of class |
A S4-object of class ANSRPC.
Bernhard Pfaff
https://bitcoin.org/en/developer-reference#getblockcount, https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs
Other Blockchain RPCs: decodescript,
getbestblockhash,
getblockchaininfo,
getblockhash, getblockheader,
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.