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()
,
getblock()
,
getblockchaininfo()
,
getblockhash()
,
getblockheader()
,
getchaintips()
,
getchaintxstats()
,
getdifficulty()
,
getmempoolancestors()
,
getmempooldescendants()
,
getmempoolentry()
,
getmempoolinfo()
,
getrawmempool()
,
gettxout()
,
gettxoutproof()
,
gettxoutsetinfo()
,
pruneblockchain()
,
verifychain()
,
verifytxoutproof()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.