Learn R Programming

rbtc (version 0.1-7)

getdifficulty: RPC-JSON API: getdifficulty

Description

Returns the proof-of-work difficulty as a multiple of the minimum difficulty.

Usage

getdifficulty(con)

Value

A S4-object of class ANSRPC.

Arguments

con

object of class CONRPC.

Author

Bernhard Pfaff

References

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

See Also

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