Learn R Programming

rbch (version 0.1-2)

getblockcount: RPC-JSON API: getblockcount

Description

Returns the number of blocks in the longest blockchain.

Usage

getblockcount(con)

Value

A S4-object of class ANSRPC.

Arguments

con

object of class CONRPC.

Author

Bernhard Pfaff

References

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

See Also

Other Blockchain RPCs: decodescript(), getbestblockhash(), getblock(), getblockchaininfo(), getblockhash(), getblockheader(), getchaintips(), getchaintxstats(), getdifficulty(), getmempoolancestors(), getmempooldescendants(), getmempoolentry(), getmempoolinfo(), getrawmempool(), gettxout(), gettxoutproof(), gettxoutsetinfo(), pruneblockchain(), verifychain(), verifytxoutproof()