getblockcount {rbch}R Documentation

RPC-JSON API: getblockcount

Description

Returns the number of blocks in the longest blockchain.

Usage

getblockcount(con)

Arguments

con

object of class CONRPC.

Value

A S4-object of class ANSRPC.

Author(s)

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(), getblockchaininfo(), getblockhash(), getblockheader(), getblock(), getchaintips(), getchaintxstats(), getdifficulty(), getmempoolancestors(), getmempooldescendants(), getmempoolentry(), getmempoolinfo(), getrawmempool(), gettxoutproof(), gettxoutsetinfo(), gettxout(), pruneblockchain(), verifychain(), verifytxoutproof()


[Package rbch version 0.1-1 Index]