Adding new methods.

This commit is contained in:
softsimon 2021-07-13 18:40:05 +03:00
parent c097b9c81e
commit b6eaefd223
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
2 changed files with 5 additions and 1 deletions

View File

@ -19,11 +19,15 @@ module.exports = {
getBalance: 'getbalance',
getBestBlockHash: 'getbestblockhash', // bitcoind v0.9.0+
getBlock: 'getblock',
getBlockStats: 'getblockstats',
getBlockFilter: 'getblockfilter',
getBlockchainInfo: 'getblockchaininfo', // bitcoind v0.9.2+
getBlockCount: 'getblockcount',
getBlockHash: 'getblockhash',
getBlockHeader: 'getblockheader',
getBlockTemplate: 'getblocktemplate', // bitcoind v0.7.0+
getChainTips: 'getchaintips', // bitcoind v0.10.0+
getChainTxStats: 'getchaintxstats',
getConnectionCount: 'getconnectioncount',
getDifficulty: 'getdifficulty',
getGenerate: 'getgenerate',

View File

@ -1,7 +1,7 @@
{
"name": "@mempool/bitcoin",
"description": "Communicate with bitcoind via JSON-RPC",
"version": "3.0.2",
"version": "3.0.3",
"main": "lib/index.js",
"keywords": [
"bitcoin",