getbestblockhash
Returns the hash of the best (tip) block in the most-work fully-validated chain.
Method: POST
https://rdd.nownodes.io
Example body (raw)
{"jsonrpc": "1.0", "id": "curltest", "method": "getbestblockhash", "params": []}
Example response: 200
{
"result": "40ec4eeb3c3676d274cf221c6a63c8e22fd96c5a5faced72fa9cbe19c92c540a",
"error": null,
"id": "curltest"
}
getblock
If verbosity is 0, returns a string that is serialized, hex-encoded data for block ‘hash’.
If verbosity is 1, returns an Object with information about block ‘hash’.
If verbosity is 2, returns an Object with information about block ‘hash’ and information about each transaction.
Method: POST
https://rdd.nownodes.io
Example body (raw)
{
"jsonrpc": "1.0",
"id": "curltest",
"method": "getblock",
"params": [
"40ec4eeb3c3676d274cf221c6a63c8e22fd96c5a5faced72fa9cbe19c92c540a"
]
}
Example response: 200
{
"result": {
"hash": "40ec4eeb3c3676d274cf221c6a63c8e22fd96c5a5faced72fa9cbe19c92c540a",
"confirmations": 9,
"size": 443,
"height": 5381181,
"version": 5,
"merkleroot": "a637b3cbc10169bbd7eac73967b96ed400608a685081fc85887afb2e694bbc3c",
"tx": [
"aeb477a7c2488fb61213819decf625430d698453989eedac7d69a9149b250ad8",
"8982bd5dfbc790fbc3dc18246bfc1830cea1fcd7332f49fb3d0ef336def10619"
],
"time": 1715455184,
"nonce": 0,
"bits": "1c015cf0",
"difficulty": 187.81300376,
"chainwork": "0000000000000000000000000000000000000000000000002482429e54b5e1dc",
"previousblockhash": "0d54389a8ec538f5a2da3091e6fdda0d3a641892f34badcc644ec8384e19b456",
"nextblockhash": "334642981ba899ac4dd8eb80927be7e90cfd93b6ab652504de4d310619ccbf92",
"flags": "proof-of-stake",
"moneysupply": 32600064824.32038498,
"mint": 1563.17430139,
"entropybit": 0,
"modifier": "3215ed5e9a7ca7cc",
"modifierchecksum": "6b46e461",
"signature": "304402200bab3a602b7dec62ed5ab5325b182a7fa87acc8e73fa7e2651f6a25d93d7ff3202207daa6f0bb9bd0900a317c82e1d7050d59e17a8fdc11fb1ee1d93a9d5d3acf29e"
},
"error": null,
"id": "curltest"
}
getblockchaininfo
Returns an object containing various state info regarding blockchain processing.
Method: POST
https://rdd.nownodes.io
Example body (raw)
{
"jsonrpc": "1.0",
"id": "curltest",
"method": "getblockchaininfo",
"params": []
}
Example response: 200
{
"result": {
"chain": "main",
"blocks": 5381190,
"headers": 5381190,
"bestblockhash": "34de49a65cc19d725d804a44d9452601b73a540ae8ff94a8dfe26cddec149e30",
"difficulty": 187.81720888,
"verificationprogress": 0.99999987,
"chainwork": "00000000000000000000000000000000000000000000000024824938aea09dee"
},
"error": null,
"id": "curltest"
}
getblockcount
Returns the height of the most-work fully-validated chain.
The genesis block has height 0.
Method: POST
https://rdd.nownodes.io
Example body (raw)
{
"jsonrpc": "1.0",
"id": "curltest",
"method": "getblockcount",
"params": []
}
Example response: 200
{
"result": 5381190,
"error": null,
"id": "curltest"
}
getblockhash
Returns hash of block in best-block-chain at height provided.
Method: POST
https://rdd.nownodes.io
Example body (raw)
{
"jsonrpc": "1.0",
"id": "curltest",
"method": "getblockhash",
"params": [
1000
]
}
Example response: 200
{
"result": "9d849e078deac30d58372db898318186cf5073a7f0b109b4776393b21b7b4e5a",
"error": null,
"id": "curltest"
}
getchaintips
Return information about all known tips in the block tree, including the main chain as well as orphaned branches.
Method: POST
https://rdd.nownodes.io
Example body (raw)
{
"jsonrpc": "1.0",
"id": "curltest",
"method": "getchaintips",
"params": []
}
Example response: 200
{
"result": [
{
"height": 838408,
"hash": "0000000000000000000290e2caf27f3f4d0799b1ce05b07d9ed492c187a2b3c4",
"branchlen": 0,
"status": "active"
},
{
"height": 829613,
"hash": "0000000000000000000357088139cba6dc295875d7d3b2dd1fd764705727e451",
"branchlen": 1,
"status": "valid-fork"
},
{
"height": 827853,
"hash": "00000000000000000002c7de4016a0d09a47c19075cb73947e7f66e3461efd27",
"branchlen": 1,
"status": "valid-fork"
},
{
"height": 823226,
"hash": "0000000000000000000365e705dbbea406f6e383f510d400fa23e40eae71e056",
"branchlen": 1,
"status": "valid-fork"
},
{
"height": 822941,
"hash": "00000000000000000003aaaacecbebd40417c2e6c39b5774a8a212d5b324052b",
"branchlen": 1,
"status": "valid-headers"
},
{
"height": 819343,
"hash": "0000000000000000000262af3fb1dd3bc62ad5a119c48a57267a3b96145ce82c",
"branchlen": 1,
"status": "valid-fork"
},
{
"height": 818038,
"hash": "000000000000000000029afbc6cbd660df5548a90ca9202e80866c5c680f29e4",
"branchlen": 1,
"status": "valid-fork"
},
{
"height": 816358,
"hash": "00000000000000000001d5f92e2dbbfcbc1e859873117e7983dd574857da5e14",
"branchlen": 1,
"status": "valid-headers"
},
{
"height": 815570,
"hash": "000000000000000000024c1b977ae540b29e329ccfc3bbb37f3b0880c2336212",
"branchlen": 1,
"status": "headers-only"
},
{
"height": 815202,
"hash": "0000000000000000000093917031004a140b6db5c6adec217f814db98d7f0bde",
"branchlen": 1,
"status": "valid-fork"
},
{
"height": 813210,
"hash": "000000000000000000021c9f203786c0adcd7ae9a68a25d5e430d2a3dba613d5",
"branchlen": 1,
"status": "valid-fork"
},
{
"height": 811703,
"hash": "0000000000000000000270d5eed2457bf394e45f5035c1d721f4f3ccecbb2ba5",
"branchlen": 1,
"status": "valid-headers"
},
{
"height": 809478,
"hash": "000000000000000000006840568a01091022093a176d12a1e8e5e261e4f11853",
"branchlen": 1,
"status": "invalid"
},
{
"height": 807025,
"hash": "000000000000000000048d93a8093bd9b104cadd46957a6d14ba3ce6f2a29b9f",
"branchlen": 1,
"status": "headers-only"
},
{
"height": 804900,
"hash": "00000000000000000004c20bfe0ed1a9b714fbc07710531b8252dc998f9ccd67",
"branchlen": 1,
"status": "valid-fork"
},
{
"height": 803389,
"hash": "00000000000000000002ea858e57fc91ec34ae26a1d2a53720d7d4e08334fba2",
"branchlen": 1,
"status": "valid-fork"
},
{
"height": 800786,
"hash": "000000000000000000020e419bbdd75f21609d5a050a24bafe45b73a1574127d",
"branchlen": 1,
"status": "valid-headers"
},
{
"height": 797434,
"hash": "00000000000000000000fe9e3172a5d9ee3b815d952476a31056bc007657b83f",
"branchlen": 1,
"status": "valid-headers"
},
{
"height": 796038,
"hash": "0000000000000000000552fdbbe1edbff2887ea7879dc777b33f8cefc4ba665e",
"branchlen": 1,
"status": "valid-headers"
},
{
"height": 795426,
"hash": "000000000000000000045d66a7991b54de7e11776eed27e34df24a59b7de370e",
"branchlen": 1,
"status": "headers-only"
},
{
"height": 792379,
"hash": "000000000000000000032956cbfd8721abe0572d81542e75e38e6185312bee09",
"branchlen": 1,
"status": "valid-fork"
}
],
"error": null,
"id": "curltest"
}
getdifficulty
Returns the proof-of-work difficulty as a multiple of the minimum difficulty.
Method: POST
https://rdd.nownodes.io
Example body (raw)
{
"jsonrpc": "1.0",
"id": "curltest",
"method": "getdifficulty",
"params": []
}
Example response: 200
{
"result": 187.81510629,
"error": null,
"id": "curltest"
}
getmempoolinfo
Returns details on the active state of the TX memory pool.
Method: POST
https://rdd.nownodes.io
Example body (raw)
{
"jsonrpc": "1.0",
"id": "curltest",
"method": "getmempoolinfo",
"params": []
}
Example response: 200
{
"result": {
"size": 0,
"bytes": 0
},
"error": null,
"id": "curltest"
}
getrawmempool
Returns all transaction ids in memory pool as a json array of string transaction ids.
Hint: use getmempoolentry to fetch a specific transaction from the mempool.
Method: POST
https://rdd.nownodes.io
Example body (raw)
{
"jsonrpc": "1.0",
"id": "curltest",
"method": "getrawmempool",
"params": [
true
]
}
Example response: 200
{
"result": {},
"error": null,
"id": "curltest"
}
gettxout
Returns details about an unspent transaction output.
Method: POST
https://rdd.nownodes.io
Example body (raw)
{
"jsonrpc": "1.0",
"id": "curltest",
"method": "gettxout",
"params": [
"txid",
1
]
}
Example response: 200
{
"result": null,
"error": null,
"id": "curltest"
}
Last updated