Blockchain RPCs

getbestblockhash

Returns the hash of the best (tip) block in the most-work fully-validated chain.

Method: POST

https://ltc.nownodes.io

Example body (raw)

{"jsonrpc": "1.0", "id": "curltest", "method": "getbestblockhash", "params": []}

Example response: 200

{
    "result": "ea5f168ae8a819fc6db65f5d9eb9422e1c43f92c9b84354648de2362da72c78d",
    "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://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getblock",
    "params": [
        "ea5f168ae8a819fc6db65f5d9eb9422e1c43f92c9b84354648de2362da72c78d"
    ]
}

Example response: 200

{
    "result": {
        "hash": "ea5f168ae8a819fc6db65f5d9eb9422e1c43f92c9b84354648de2362da72c78d",
        "confirmations": 1,
        "strippedsize": 29391,
        "size": 44004,
        "weight": 132002,
        "height": 2669997,
        "version": 536870912,
        "versionHex": "20000000",
        "merkleroot": "28d658aea7c442509d98056ef2eee60f4f8b897359a08a007200988d07cfb6cf",
        "tx": [
            "cfe79378a24b231b7f646a670549be1a7203038e74b2a19c23470df0450907ee",
            "e91c0a120eec8aa0c34bca96d2ead57d7de4d73ea1cd0861f5c3799819c12f51",
            "1058a7e1e1da76c7ddffafd1b176dbacb1411012f94265585b587aa0d45365dd",
            "ecab77c64d8cb4623c76eea814c9797368ce22f624cef525f69e990d364ba401",
            "adaaa6af08267c02cbc9e94880e17bc2a08ae005673f8fb6edd07e03a977adb8",
            "c8b93270ccd6d5e1172af87f2d8bb691ec78ea5d8d4ab320367ff908f2850413",
            "cf07aaf2f99ac7e93bd4821ac0acd69eee79d2ac5b52ab7ad7a1cb1c24692be8",
            "8b5097689ca17f59739a413fc0200e113f9ef40c0f2514c918218755703ad8dd",
            "f5433278e7cec2fc48bb8a2a5d11cd8b955f043178dccc97c6c07edeb26b212b",
            "7b3a0cf425824bc9f51dd7e749c50ab6286f67abf9d93a777a69cc243cb07406",
            "f40f57a83dd73fe4a984a8e0b673744d7c53df9250ff5da730cfca47ce8b193e",
            "5f9508d901640c509ac39d46ead01e0189901a0269cdbcad85350421be71ce79",
            "30dbf6c4b0e5d9705312c963a79f633199c5f09f2f08b6fb58b16c24b4dd1416",
            "14da2cf97586f27afed29cd8d2eef5e08b32ae98dc4000f824f0d0ddf6c6c26d",
            "4268aa713d183b2f7c1b3132d45ec5385bdb05c663d77d8209f24441d78f753b",
            "9bd18b770dcd9d3195daea352b4cc2b63c154e09e18576cb2be6d4a0a2a14ca1",
            "f5e1e6f52a7211b80b37b1f9f81f907b515215effeb7df05c38e6f675b832d94",
            "a0b3e07ffd37e78d2e774d216ca721cb616b211a3e4a605afcc28196cf268b2e",
            "af08d7776c453bef22b66cc9193c0e2b8c89faf0031ff9300c0c30fef82ef551",
            "7a246e9fac0026b93603bed8b228b0757b89f2b87cc73191d366edf6c682c7cf",
            "15071ab92b6e5c0d4b631db87a3e04893310e5c3b277586ea4e8bb7e83814431",
            "ee933a6c6cc6898a50dac6a14e13d562065e1f2d1863a0a396f336321ad00240",
            "9c2f04b71d64b25a98570e1efcfa1ee2761f2a97a5717a60f4dccc7a2151c16d",
            "3b88fdf5927a133cd5fa03dd2a982567b122f1f69883a682fbcda567d93b6adb",
            "b4cbede045222e554b2f6504e507f7f7fdf5e2978a41bc06aed7d8a8a23e773f",
            "5766b2666fc8ce1540d2acbdbb305de46363e1b04384bace28199625ab9027f0",
            "580275d9c4812fce23531649c9ecbb074d4a6879fbc506d16c2c41283e7009a1",
            "fd8052776fd2d8c4d57d002bc0093181dcbf7e52a295a8e027052083cccb6146",
            "b6541a1da5f8d83b3e76a029b2efc318279ebadd4db8dcf33cf90da46e68a06d",
            "bfc1f9ae9904b916939ef5c962cfe46692d71f011c1e5eb5ee4e1334e689924b",
            "c852a484ebaf3c2ce9ddaa21e03b8e65f566a47b09bbecfc48f5ce488067a664",
            "e5f3a7de5a241167afd30797d12135c384f185a0a64401b58ca6782a12193987",
            "c43313977e038afd821f81bc197ffa26db7d2ef4767c311493bec006448d22af",
            "a08a4b382ff901c76ccee130bf105547b3d57874f39ba255c4a3f05411d72202",
            "07c220a692150624aa2212ab3493186c9529b278a4b5a56308e30f77fa2aa506",
            "4426570f09a75567f03f6044684dbb60b0cf74e6d3ff47740478e53163aaa614",
            "c4d9aa87f2f794b209e520d5b659106d73c07476347f99c61c70259cc674fc45",
            "4364da0b299fa6e6ce20951d0ffe9a429a0a1006b309109f287df8dfdb68d548",
            "795028506d1e0ea47a350615625b3fb4f717a0da5d0204a1cd7f1fc6dea20554",
            "f6d23119cdca876cb82bd13e50292953c7ad02301765440fddfa9f1831b3595d",
            "131787a5608f54c06849b61e017150df3afd1a5cb15a9a310f5f3d4ba0b6a260",
            "de5f32dca3da87be2cc0d58f19a18b536fa7c56b0a74766a3696b251c0a42a6c",
            "a4c07c7e62218f983fa32b234f035fb5101b7fad23c5f4fbdfa77efa78591e7e",
            "418a563c555bab3f064b3ebf4f3b0a73bd6b0ff2bbd859328961a2b70ec2c4a2",
            "07a23ef3a01e8bed04104343b5147cc1420692b13effbc6832aa917f710a1ac0",
            "0ad8be1c693b978fc47befdbafe6409440b12bf3d9fe7663eccdefc86df2acc2",
            "ba15136f70ea6f588addc25163bce95974a282b66f03d5735a8e0dfc34d84bc9",
            "13ec8c6b92f556860f7bfd345568b4f5c52e985b80b00246ab07dfa72ae89ecf",
            "5132172c5e3a73ae6d93f8c3d1718db66bfd59a2cccddc9a681a0ef75d4634ec",
            "c5b109825989b145c241a704a64d30adbb75e637fb615bc1ca399f8da72e7cfb",
            "179e0e1218f39be82ebfbc33abc372e4fc595e61cad14c3f2c805f1f11681dca",
            "39d18754e76c45f08bf021a1748793bce11032fc6f68f6268ab002e51bb51359",
            "b404b2c7dbc48ac082572c005841e8131ba95c05f22b61f887b136bf2e9f98c3",
            "0876f31e9df28a0add1bb7e833e7549d80ff73e72813a1663acb29b04a9bd22c",
            "0ac38ea0f3d7f8a6d4dea2433d73704ed303839ce56177408fdeb505585b0c8e",
            "c303b2ca582ddbbe76818fd52000adb80e95a01087e39e45b5e29e006e4ec2a2",
            "64a6c7596c4f809c229afd87dc32e70e3ae96608081e3f2c4878761197188947",
            "e4ab25e4e1e320ed96add8100ce55485f1abcdbd9c1064342332ac5987bf0a96",
            "e588f9d5878e5c222d4f46c05ca4eb98ff616c7c55ed526e72a743661a86e25b",
            "d50bcaa3b7a59a2ac4caf79b43204b93d24597e4602ba6422a653af8cbf6bed0",
            "9002a7ed2cbae94ee7e95fa61e6614ed47afeb757f54fa1fd2401beb411f34de",
            "7bd4b43e839d3c848424fc857e5dc181be2529a712b9efad4872d00d8613f4df",
            "2a607d5cb7e8d20ed9792026181ea20e2636d43dd0401419c63fd9e36b9299aa",
            "d72af13bdc715d8f452fb87c40696ee2d6075143ca2f6f8ce8b6c1b687ce3ed6",
            "adac4277600c5875ef676632af06482dd29ee2655fe3bf73002a7304935cea3a",
            "eb77a3a6e074eb4767edc2c142e5692b5fa2ac32e0e01945b1d9237b82acabab",
            "1f809d0c02a5ddf7ff48d5fdb2090c4365de8332a787a9296f353b2b6c4cc146",
            "f4edb5cd1d56b9ca9daf089ff900e0818119c64ec8b8a6a4d4393a0c9e79b2c8",
            "d929f017f71826eb1c9d1706bc6190a38c762c0975a680cad21c4d93860cc7d6",
            "a924ed5046c68843cb9d2fe4612ee4dc398dde8b69b67e0f72591e70f876479d",
            "48736c5506c3435d64f591eb9f752830f1ae8e1e1db59ee6b5b833c8d715fb36",
            "007ed6fb3f549a030582dcdc5812520e67ed1d8e6aaa62e31377940e5630d243",
            "a8a32f617494a25dbfa74e85a7b431ff7256f39035653ad55912e24c9950c347",
            "d720f5075685588fe41ceb19fcf82a4fe969b8df125c7a48fa875c7b12d8dc4b",
            "c8f1ed6e537d5ae02ae8b9be5b5c5ed8805fd50206d7a3132b516ac708571157",
            "7a50252fd0be9c563d6143af0580b27b6f408516b37d91cb0b0df5067f9d8c62",
            "2a12cd63e98af2fdf85c6636af5470d79e487ec16a55550ebec23154a65e776b",
            "a5e283abab899b515dce5f9cb8934c5a79eaab520a3a3a2496f13d09e98afa6d",
            "622b0e952a2ae4155fd493d5ab143c6ff7ab7cd2aa8709e9af83b2188e5efe77",
            "a6bf1dd40d145b816109138d2d6b12755c339aa89f4ccd62fec389bdd6ad4280",
            "c35f3c5107e3d0caa8bb5f47cd0a319a6330e8d0dfeacdfeed9a279dbc435187",
            "a6fe8dab1e58df65ef282621af03a2d52c64ab852ab80be96bec079053f7c789",
            "5dd559081be0048f420005d7f945f13f3c329327c4e9980bd61ae4ff2ea0b796",
            "d42365acb5c2115bf8ec500cd44937de149ef50ef0d91ad2263d7b80dd18aaa9",
            "efe152970b103639a540f01b800c404f411c81b8f25d9ebca577f032032513bc",
            "eb31951be37b1d325bbf3d88ba85de8202949c6813f2894a3058190d3fb16fc8",
            "ba628c7e9abe34adc33ce6da0383f02a967b0ee283fdef403b906a39af378ed4",
            "6e5e58c24689b1aaec4d2eaa68de6926341b32b7d315216fa75d8e359cc80ade",
            "98ff2ebebaa6708c73c99e80cf654ca9b5533d952d304f20a7b16c8210cf5be1",
            "cfd6314d7fde23f7e2d04390c046d4b688ed6cd5bbedca8c2143305509c2a5e1",
            "c027c37da6fe4247a0f2312e362d0619f5aa7eab5aa5e6d62e5abae866604fe2",
            "13d85748292e9c298bf0428cf5fd45739f82f8bda8170aca14483a45f69a0fe4",
            "00ddb29fce19681bc70bfae4658dd5f94e5ed433b79722dcad4b4d6dba0822f2",
            "20978e8fa4729d8f1713c0a2586f46c7b0230ec96ff0f3c6e5f39640cfadceed",
            "4549977b511ca697e92f04f3d1d89fc43f7d41c0cda9cbe6f8ec0b35b0456305",
            "2c6d981f5fa8905da1c1155c368d277f79d71d0fd209271aca18ffd47ab035be",
            "2e4daca92f58389c7d1a8142b857d1928137eea0c3470333ba377a29462e07d3",
            "3213545d90280d0ee8ce5757324c50389381d2ef351788a53bea59f8125ecd03",
            "75f36f3f43f978ff46088f40bee7dfa07c65ba39e544714ed1aa3f6404ac4a1c",
            "9d61c958d7e0bb28aa06dba8c8e2ebec5e32b9130c6b25c7cca5387ddc6baa1c",
            "93dcd26d0eac6b2ce57350e8aac064a60f0b185031cfc5af42e204cf1df1141d",
            "a01816b71dcd35bbc5b7f570f8e7a81def4e40bc92ad6313abcc98d249365d2a",
            "eca88fa604b2788d6c6f5c944d3fcf341c2ae1f4ae41bb5761097a3418dc2034",
            "53a3e71df2c672903ea6885e07833a3c2a9cdc38301b61db2f6728d226f82137",
            "9a7d5a2056de5c8c844242a53d6ad7024c0138e1a7c56e8be561ce1838045a4d",
            "9a52f7a7c4a7a2caad72256fc404f21552e131d6700426049c7050f126f15975",
            "ed0a16b34a1032daa92a2595fea4980d8c335a30a271b51f8c217bbcebd0e884",
            "4b6609f05972cd633ae3aa7a687bb3e595069377859f2b2dc629f4c9088a06a2",
            "ff7c0a12eab9cf1e91367c024aa8bf721ac7f716e975a3bba8b7d25adae50ca9",
            "4b89cb4c8f737a21c9b76e87f4f9fb42d4c1792af39251168a187da4818fbdac",
            "ad5657d93c7e097043eb4fc2cdfb8d31029db6e7717d45e89f735db948e5c7ac",
            "e6157ca83f6998471a7d16e2ce0c1b1d8b1fa2fc1836dcaffc744eb18355d3c0",
            "c48bc9ed19af303def9162d90cf14af1930fd71be0f94b21c74fbd483cad41da",
            "6ee4b077f86cc5df56b9f7b75d932dabce8e419cf666f6a5a55e8396146b37e6",
            "63f6891fa866e6bfd00bbac7b5389017f28b85d6a1079929f72258aa1c734afb",
            "561711d0bc0c3b2dfd61f1bb0089baccfdb99e6d23f6566f9066acc3a61392c3",
            "4b777e7af97e6dda2610eca3532f593bb50d2df47faacd1d842096f675d6e28f",
            "c3b06da425a0e63c63b35d11bc9c7d562df42ea32cfa2c7b30acbfe5dc4434e9",
            "ffef8d64f0e7900303001202e9ecad63f12054efda8f384ace8637f35939ddf4",
            "cddea88c3439f6d2259d5b3d3b32fb113751545288db2e8b22c075d3ac83137e",
            "cd55ec380acf5817410ef92afab67915ca279f763a783e998e459c9cdc451630",
            "96f98cc6d34dd0de69ea379e0a434285e0ea39fc72cf8d5d7b9b07848d5f8403",
            "88d7e547f26614ec06ea751aac4906a97b0d4bc53c73c8faab57b450b004fda3",
            "d472a87fd825b7db2e1d9b9b71643b924c64faeaf7c7b2453cc0f0371ff16a5f",
            "c0c883b58f121816fecf03dc04fbeadc3f3dd9312b5d83229cd469b02c835af3",
            "5e0958262a4bc20254775aa9d0317905ded636f3c45bd8276be418d9f1fa3bab",
            "a936d33c85de48ee71f197d981e363f1ea2fe81c8e8f11e6135a80f6f88c1726",
            "672723fe3a828ede7bfb955bde66a3aad1b78ba10de433187c3f6f07340eac17",
            "59e171e3c57bdd352194e30728ab4a2e26aa248ac154f2ea052b2d1e2995fe4c",
            "4a4390a938fec5fdf83163bfd7b4d06273e1d88e3679c10070dd28e30b7ed7ca",
            "a89aa6158d3c36340e39a4693ee81682e44317f0671ed6e2275c529dcb2e4839",
            "19363cdb76e8dbfba158e9d4e483ac90893ed9d2cd1b51ec6df8d59f23c3fc5f"
        ],
        "time": 1713433719,
        "mediantime": 1713432789,
        "nonce": 1293427022,
        "bits": "1975fde5",
        "difficulty": 36400009.58827753,
        "chainwork": "0000000000000000000000000000000000000000000010e3ccd1f1acab7ae6ac",
        "nTx": 132,
        "mweb": {
            "hash": "bb0a3afb2f8d94f0056fd6855b99d76103617c70c0305e67ed8ed08c41c58747",
            "height": 2669997,
            "kernel_offset": "b8880f90ae912520633450e29754602233b7f908dc1faaaa122c0d8a7e63ae19",
            "stealth_offset": "0000000000000000000000000000000000000000000000000000000000000000",
            "num_kernels": 0,
            "num_txos": 50137,
            "kernel_root": "0000000000000000000000000000000000000000000000000000000000000000",
            "output_root": "32ac23ad7d3984ad25115cd4b5fd8b0a5a09f14ec5f0c87cf32b48983ace54fc",
            "leaf_root": "27a38c1746573d6596927d6f9edd392608db41a2e858750b1daaac902c362e30",
            "inputs": [],
            "outputs": [],
            "kernels": []
        },
        "previousblockhash": "b64016167a9b5fc4365adf2113e22d4800f6c73839c1a9f9bb3efbda0b1bd629"
    },
    "error": null,
    "id": "curltest"
}

getblockchaininfo

Returns an object containing various state info regarding blockchain processing.

Method: POST

https://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getblockchaininfo",
    "params": []
}

Example response: 200

{
    "result": {
        "chain": "main",
        "blocks": 2669997,
        "headers": 2669997,
        "bestblockhash": "ea5f168ae8a819fc6db65f5d9eb9422e1c43f92c9b84354648de2362da72c78d",
        "difficulty": 36400009.58827753,
        "mediantime": 1713432789,
        "verificationprogress": 0.9999986809638275,
        "initialblockdownload": false,
        "chainwork": "0000000000000000000000000000000000000000000010e3ccd1f1acab7ae6ac",
        "size_on_disk": 171175111556,
        "pruned": false,
        "softforks": {
            "bip34": {
                "type": "buried",
                "active": true,
                "height": 710000
            },
            "bip66": {
                "type": "buried",
                "active": true,
                "height": 811879
            },
            "bip65": {
                "type": "buried",
                "active": true,
                "height": 918684
            },
            "csv": {
                "type": "buried",
                "active": true,
                "height": 1201536
            },
            "segwit": {
                "type": "buried",
                "active": true,
                "height": 1201536
            },
            "taproot": {
                "type": "bip8",
                "bip8": {
                    "status": "active",
                    "start_height": 2161152,
                    "timeout_height": 2370816,
                    "since": 2257920
                },
                "height": 2257920,
                "active": true
            },
            "mweb": {
                "type": "bip8",
                "bip8": {
                    "status": "active",
                    "start_height": 2217600,
                    "timeout_height": 2427264,
                    "since": 2265984
                },
                "height": 2265984,
                "active": true
            }
        },
        "warnings": ""
    },
    "error": null,
    "id": "curltest"
}

getblockcount

Returns the height of the most-work fully-validated chain.

The genesis block has height 0.

Method: POST

https://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getblockcount",
    "params": []
}

Example response: 200

{
    "result": 2669998,
    "error": null,
    "id": "curltest"
}

getblockhash

Returns hash of block in best-block-chain at height provided.

Method: POST

https://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getblockhash",
    "params": [
        1000
    ]
}

Example response: 200

{
    "result": "e081e3ab67a210d01dc67537eeae475ceea3dbaef6b0245d235c854f8cdadffc",
    "error": null,
    "id": "curltest"
}

getblockheader

If verbose is false, returns a string that is serialized, hex-encoded data for blockheader ‘hash’.

If verbose is true, returns an Object with information about blockheader ‘hash’.

Method: POST

https://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getblockheader",
    "params": [
        "ea5f168ae8a819fc6db65f5d9eb9422e1c43f92c9b84354648de2362da72c78d"
    ]
}

Example response: 200

{
    "result": {
        "hash": "ea5f168ae8a819fc6db65f5d9eb9422e1c43f92c9b84354648de2362da72c78d",
        "confirmations": 2,
        "height": 2669997,
        "version": 536870912,
        "versionHex": "20000000",
        "merkleroot": "28d658aea7c442509d98056ef2eee60f4f8b897359a08a007200988d07cfb6cf",
        "time": 1713433719,
        "mediantime": 1713432789,
        "nonce": 1293427022,
        "bits": "1975fde5",
        "difficulty": 36400009.58827753,
        "chainwork": "0000000000000000000000000000000000000000000010e3ccd1f1acab7ae6ac",
        "nTx": 132,
        "mweb_header": {
            "hash": "bb0a3afb2f8d94f0056fd6855b99d76103617c70c0305e67ed8ed08c41c58747",
            "height": 2669997,
            "kernel_offset": "b8880f90ae912520633450e29754602233b7f908dc1faaaa122c0d8a7e63ae19",
            "stealth_offset": "0000000000000000000000000000000000000000000000000000000000000000",
            "num_kernels": 0,
            "num_txos": 50137,
            "kernel_root": "0000000000000000000000000000000000000000000000000000000000000000",
            "output_root": "32ac23ad7d3984ad25115cd4b5fd8b0a5a09f14ec5f0c87cf32b48983ace54fc",
            "leaf_root": "27a38c1746573d6596927d6f9edd392608db41a2e858750b1daaac902c362e30"
        },
        "mweb_amount": 2920737704148,
        "prev_mweb_amount": 2920737704148,
        "previousblockhash": "b64016167a9b5fc4365adf2113e22d4800f6c73839c1a9f9bb3efbda0b1bd629",
        "nextblockhash": "6cc56d5ec9f114734f1536f78c262e813500251e682dcc80f934ead32be4a5db"
    },
    "error": null,
    "id": "curltest"
}

getblockstats

Compute per block statistics for a given window. All amounts are in satoshis.

It won’t work for some heights with pruning.

Method: POST

https://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getblockstats",
    "params": [
        1000,
        [
            "minfeerate",
            "avgfeerate"
        ]
    ]
}

Example response: 200

{
    "result": {
        "avgfeerate": 0,
        "minfeerate": 0
    },
    "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://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getchaintips",
    "params": []
}

Example response: 200

{
    "result": [
        {
            "height": 2669998,
            "hash": "6cc56d5ec9f114734f1536f78c262e813500251e682dcc80f934ead32be4a5db",
            "branchlen": 0,
            "status": "active"
        },
        {
            "height": 2667189,
            "hash": "1b68fd65ac5149b80f12d7d100ed37d2249e9c7e43ff6fa57511f657e611200b",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2664746,
            "hash": "9391f2b8f36baa756d461c81cd2e15d4130ddb3db162d915e8dd47fe1b91433d",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2664124,
            "hash": "c61969a000bed871635aaffc785a7004484de52b8d58cfde8569406b860780de",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2663393,
            "hash": "638cbe51bdb0f812210a4d251fc83ada0b37d31fff98689edacf0fd54db93c8f",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2663170,
            "hash": "97371203de9acf8c76eb71cf91bb6a74cf8610c5d8c0bef5117567accb04bbe7",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2663095,
            "hash": "da01cb526256c9415d0767e9aff2b5f103d5db207686a1bc25592081438eba03",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2662489,
            "hash": "4e8a7344985eedcaf0c1b75f76a8e92a71dccdc55d363b00e25249afb5ee157b",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2660076,
            "hash": "43d5968ee384ecf95ac9af7fa12cdf39049df49bad528d9afe01d0fb360daa55",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2659653,
            "hash": "19f3ffe90f44507bd9ca82d6a4b7aebae298fc1350724ffbcae63036dc08489c",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2658713,
            "hash": "720a41dbc8e08f9a846c40c222b3790e44c5c6165cf93d79573149409c23ee4e",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2657640,
            "hash": "862a9434004f9be1303dcf4136304ebd70664097ac6a19428628e2e4abb75de2",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2657600,
            "hash": "4d316b2e22f35ef686b0a327224c908d4dec3aad84db339a92ea6855ff9f1ab8",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2653400,
            "hash": "56b9a107c7766a6e927bc28eebe75020a99562787509a2b2d8666c63abc2f6f3",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2651900,
            "hash": "ecad2e899be6cd593098dcababb0b5c8f0fd5d0b7076d77ddfa2a4c59b620f7c",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2647641,
            "hash": "cb823b3ad650cf8af03a6ad57360891a7ce60ba53c30193602c894e4a9fa0565",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2645610,
            "hash": "20503b399263f26c422304dd650d526b03b7d0db95fca4d623c127b42ff3f3a8",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2643618,
            "hash": "3196e640c842a8be1fc297718143eeabd1ebf5dd30e26264fd3cb6c893c6abbf",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2639078,
            "hash": "89f24acead2b6941d9412348637d0e5ff7eb7eb276236a221db97343d712a276",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2637944,
            "hash": "69ff3794e0ee2a8c1a0837f62bd128a50ff04a4e018e0bb912ff3a1c0311f134",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2637462,
            "hash": "45f65aac359433108905e34c596a2ce7e5fbc245bb98ffe209969fcb2a84685b",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2636636,
            "hash": "3287202aea3d04f826b6a8e27a1001c69df6eb46657a27a327d5ca2cd5450aa5",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2634360,
            "hash": "28cc884a56eca4b448bdae587226a7222ddbb62ec22a3fcc2377ab09b06e9018",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2632930,
            "hash": "9a287b08fab00ca6eba70018832aa29d25f4ed6bf201f4b426478dbcf55a850e",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2622195,
            "hash": "5226d84b44d14f5ce1f312167bb1061af565597430ee54bd2b62076ee02f8f96",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2622116,
            "hash": "d69d3444bd5862bf7f82bb78c85dee6df2a96317f224b802014eabd7394e4eeb",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2619982,
            "hash": "7a34b34138ef24bf31e2114195ffb7657db7e37fdc213c189d467d0af938ca51",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2618892,
            "hash": "6fb200e1b5c2720680adf98090e6314ad6802c19c445b0bcaa2f660f79d40006",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2617521,
            "hash": "b0b6f04d76a6b08f2b4e53d46526aeac6f2cd6cfb88dae4bb8381d4c1aaa034d",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2615527,
            "hash": "44e8b8b6475cc244b94a7580cf2209e95e14c2c86c5c9bd61c281b6d363d0dce",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2611541,
            "hash": "a320b24d4616b706db06b218c4422670268297e1b5a2d16085a408dc47d87bae",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2609494,
            "hash": "831795de266bde314247ea59221358d42fbc0d2ec6175dfbdf31459389636127",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2609321,
            "hash": "4fc78c9683b8986b4e501b9a21624b5f8ce906a18d6dcd3f21381ee37958cd20",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2608757,
            "hash": "859b7540e8353fd0d497181b2a5cebe556f28a4c38d6d6f7ae18493798acb99d",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2604491,
            "hash": "f7d04538eed9bf2d7ec689b3d90fc6c346b7a92a03e55a84366d6057f17cf484",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2601747,
            "hash": "d0e44745a20e39f906288f386483182c683030e5b7c5830801c63468083757a5",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2601533,
            "hash": "c0314960a31b5459a7e181f80a4dd8dea0ca3d99af4d5caeeeacdd0fc9a5e151",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2600308,
            "hash": "6673d7b3aa25d426594e676c996ae9276eee86160f8d1b53a14a1e3142211905",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2596290,
            "hash": "d2c19f6da98190a75383b08084f2185a6fcef36a4249abd0ae7990e128990c8d",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2594954,
            "hash": "b1f4658f718ac2f84ba69eb4acc7debc90b9fa03f8d2b0e798828215671068a9",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2593491,
            "hash": "1128e616feebc5d5badeb6fe960eafd51c87742736ad7a04b470b25d4ae95dec",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2590117,
            "hash": "2169da09d312ba30dc0f60f3628ac2f028afd39602631f7b3bc4e5e3adf20a2b",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2585333,
            "hash": "e8cfbc1dd1810895f2fc644020732e75a275965a26f1a54e3dce09fe49d3f22f",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2574483,
            "hash": "7b8c1f08bcf080479d137bb193394a4bd29a68a8e014e18b313f5cbcd6099f89",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2574079,
            "hash": "24eee680699c77dca64fb73afedf9720d96591f1c37bb4b467427e7400c82099",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2572069,
            "hash": "adafb04c4194d9b69e58ad62a7d2581d465ac1434cea27f8b2626981e2cf9917",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2570731,
            "hash": "6631da9db53a24c9aab5e65f94e3e0586f506159c0af312505ccb2809d5d6af4",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2567401,
            "hash": "2f9b4046d05f43c72cae13c3e606e3507724dcfeeeb01b37f7c2b7602605aa40",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2566994,
            "hash": "f94e0abb94b91d1743b8fe909a3956d55a25e4957ebb9958b0e39f8caf0ec47c",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2562136,
            "hash": "e9549cb4205ce9ce127235e8c854c1948cd8934ab4f7aca9a9ffdf3603a2fea9",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2558987,
            "hash": "3a3a1c9319e07313f11b9afc08ac08fb533eaf36b392c4bf3cdd9d44e6e9572a",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2556899,
            "hash": "43de62f09cc10958f8cefb69bfee5650e090a6d95a853387b24fcd9100bf96cc",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2555068,
            "hash": "596c446af9c306888b6e456a6945e98832f93aca90a8268fff502e69ee50fb79",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2553886,
            "hash": "c5e7f05ec53068af4915454a61a01ac6b4bdafce8a76a2aacdf8ea47f0247a80",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2551051,
            "hash": "24fb43abeee3b28f3498e8975df099633860fbdd6f17f0bae1e5f6f48c5bec2f",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2550298,
            "hash": "28a1b7b8fa48e9edf1af66db3377ca200fe359db2e832e1b38e5bf55fefe0afb",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2548776,
            "hash": "3c3708b717005557ab12e3214e13dc034d682a0559133cc37dbc3af60e3dda7e",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2547862,
            "hash": "a3baa2ca78ecd1125501e7921d761a7fe9642dd57126ea89bbb2f0ea6626155b",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2544638,
            "hash": "7c54c37158eebb47038bae9e51e2bc5a583aff17152afd330a207f95d51bed28",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2542825,
            "hash": "bc5c197dcfb9528b97185675e243c239338c0954516b89189a9e4bd9b5a9b3e6",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2540861,
            "hash": "f9e88151e5e131235e3c1567ed9a5b28ae0a6d0e1a05aee14e705e8ae97f82a6",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2539601,
            "hash": "45e32436fc0755ae3687c26e6b1cb9aaa0913748a7949f986ca463810f617cd2",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2539015,
            "hash": "142fbca2c5cd8ba87a5e65e4252c792d86cae4e31281c41c2de1e27e1a38a941",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2538162,
            "hash": "44822a0e6d6e4fe815afd89255c6081b760e0d50c28f5036b425e4f0e050faeb",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2529614,
            "hash": "97c8f0ca1d4043df70143069be381791d1e1aa7fa040d2fdb92cbcc2637e4054",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2525769,
            "hash": "0e099ccef4985d62de67db9713379a21c1ac66e3a76f016cb1f7949cc21298fd",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2517442,
            "hash": "8a2657390682b5d803514a851cfc3b6c864b7870a129cfedf74e420f896309f5",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2516720,
            "hash": "670b5d840b5695ea08a6c2da7b9b9cc2609d041017530a87de32c8a8ed17276d",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2509543,
            "hash": "99ab0c83e276622ce363b2994a9ae7c7fff758b973dd8da7da591c511c633720",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2506507,
            "hash": "3710d3545ff498c771f2bf6cdaab05b41c64a4498f6328b0dfb2f35245e614c6",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2504967,
            "hash": "19ebff36c21c6da074e3e60ac09d7e5279f1891a61dc7939545f2d77152415c0",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2500658,
            "hash": "5bef6fc0712b002b0caedaee952b0ee05e81001c03fa031fff311b3b5b7fdde3",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2499420,
            "hash": "99379a7965ece70f5c338e438dccb814b462cd773898bc6e46554144f570de01",
            "branchlen": 1,
            "status": "valid-headers"
        },
        {
            "height": 2496266,
            "hash": "12874f08f5cfbbd6a61b16613cf6b1bd1322da6b3098b8ddabc5d18efed7d334",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2495260,
            "hash": "67862148560f0bfdfeb7d7ba8e423cf5866181b5182a009323f169c687ebc6f6",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2494495,
            "hash": "c46f0010d3ec3217f373522de3227d261903bc9c159ce3723d5b4dd246773560",
            "branchlen": 1,
            "status": "valid-fork"
        },
        {
            "height": 2493218,
            "hash": "0463e36524f5fec66641a21f19d959f3e797b4aa5c6190cc3206a33117cb185f",
            "branchlen": 1,
            "status": "valid-fork"
        }
    ],
    "error": null,
    "id": "curltest"
}

getchaintxstats

Compute statistics about the total number and rate of transactions in the chain.

Method: POST

https://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getchaintxstats",
    "params": [
        2016
    ]
}

Example response: 200

{
    "result": {
        "time": 1713434138,
        "txcount": 239209040,
        "window_final_block_hash": "b702f0ce92ebb6d75707b28b478fabdccf7b794ca03fe5f845d9c3d448c751bf",
        "window_final_block_height": 2669999,
        "window_block_count": 2016,
        "window_tx_count": 555493,
        "window_interval": 305381,
        "txrate": 1.819016245280486
    },
    "error": null,
    "id": "curltest"
}

getdifficulty

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

Method: POST

https://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getdifficulty",
    "params": []
}

Example response: 200

{
    "result": 36400009.58827753,
    "error": null,
    "id": "curltest"
}

getmempoolancestors

If txid is in the mempool, returns all in-mempool ancestors.

Method: POST

https://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getmempoolancestors",
    "params": [
        "mytxid"
    ]
}

Example response: 200

{
    "result": null,
    "error": {
        "code": -5,
        "message": "Transaction not in mempool"
    },
    "id": "curltest"
}

getmempooldescendants

If txid is in the mempool, returns all in-mempool descendants.

Method: POST

https://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getmempooldescendants",
    "params": [
        "mytxid"
    ]
}

Example response: 200

{
    "result": null,
    "error": {
        "code": -5,
        "message": "Transaction not in mempool"
    },
    "id": "curltest"
}

getmempoolentry

Returns mempool data for given transaction

Method: POST

https://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getmempoolentry",
    "params": [
        "mytxid"
    ]
}

Example response: 200

{
    "result": null,
    "error": {
        "code": -5,
        "message": "Transaction not in mempool"
    },
    "id": "curltest"
}

getmempoolinfo

Returns details on the active state of the TX memory pool.

Method: POST

https://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getmempoolinfo",
    "params": []
}

Example response: 200

{
    "result": {
        "loaded": true,
        "size": 123,
        "bytes": 111456,
        "usage": 587072,
        "maxmempool": 300000000,
        "mempoolminfee": 0.00001000,
        "minrelaytxfee": 0.00001000,
        "unbroadcastcount": 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://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getrawmempool",
    "params": [
        true
    ]
}

Example response: 200

{
    "result": {
        "c588faa8996863f2a8942b6062e1e1aaa09cdfe35ad06cc8fae121cc6ede3602": {
            "vsize": 110,
            "weight": 437,
            "time": 1712644562,
            "height": 838416,
            "descendantcount": 1,
            "descendantsize": 110,
            "ancestorcount": 1,
            "ancestorsize": 110,
            "wtxid": "9d07a7bb953f1fe80d433fe01bdfacf2d65e0669057fa3b1e2a54c4a208d8815",
            "fees": {
                "base": 0.00025000,
                "modified": 0.00025000,
                "ancestor": 0.00025000,
                "descendant": 0.00025000
            },
            "depends": [],
            "spentby": [],
            "bip125-replaceable": true,
            "unbroadcast": false
        },
        "5c238df91299ec97983908fa972f91a0381e8a92f1a1092533377bf25e8c8171": {
            "vsize": 166,
            "weight": 662,
            "time": 1712644540,
            "height": 838415,
            "descendantcount": 1,
            "descendantsize": 166,
            "ancestorcount": 1,
            "ancestorsize": 166,
            "wtxid": "0c58d9a2f251c3e627ea39d7d6fcb638c810ab87f950d7da8c585aae858ea3ea",
            "fees": {
                "base": 0.00026316,
                "modified": 0.00026316,
                "ancestor": 0.00026316,
                "descendant": 0.00026316
            },
            "depends": [],
            "spentby": [],
            "bip125-replaceable": false,
            "unbroadcast": false
        },
        "ec2932b4f4672f12bc834c9c5c4ebd44e170699acae58c738e3df1636d1f7224": {
            "vsize": 142,
            "weight": 565,
            "time": 1712644562,
            "height": 838416,
            "descendantcount": 1,
            "descendantsize": 142,
            "ancestorcount": 1,
            "ancestorsize": 142,
            "wtxid": "b8b924434fec53f21211a9e0bbac216ad994c27ee2f7a4f3187a3e8e0257330f",
            "fees": {
                "base": 0.00017040,
                "modified": 0.00017040,
                "ancestor": 0.00017040,
                "descendant": 0.00017040
            },
            "depends": [],
            "spentby": [],
            "bip125-replaceable": true,
            "unbroadcast": false
        },
        "6d15a02f2c92418f25232d8977c9de73c776d9f1b7d565b7726ccd0a97e21d4b": {
            "vsize": 223,
            "weight": 892,
            "time": 1712644561,
            "height": 838416,
            "descendantcount": 1,
            "descendantsize": 223,
            "ancestorcount": 1,
            "ancestorsize": 223,
            "wtxid": "6d15a02f2c92418f25232d8977c9de73c776d9f1b7d565b7726ccd0a97e21d4b",
            "fees": {
                "base": 0.00025785,
                "modified": 0.00025785,
                "ancestor": 0.00025785,
                "descendant": 0.00025785
            },
            "depends": [],
            "spentby": [],
            "bip125-replaceable": true,
            "unbroadcast": false
        },
        "82aa5aa2fc593ad6699305f99e18145b9bfec58a740427fc6461512bc00be8ac": {
            "vsize": 225,
            "weight": 898,
            "time": 1712644523,
            "height": 838415,
            "descendantcount": 1,
            "descendantsize": 225,
            "ancestorcount": 1,
            "ancestorsize": 225,
            "wtxid": "e2aad847b915700c85120d21dcba8a08508a66e93e467d03c8cd162d2814d243",
            "fees": {
                "base": 0.00023175,
                "modified": 0.00023175,
                "ancestor": 0.00023175,
                "descendant": 0.00023175
            },
            "depends": [],
            "spentby": [],
            "bip125-replaceable": false,
            "unbroadcast": false
        },
...

gettxout

Returns details about an unspent transaction output.

Method: POST

https://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "gettxout",
    "params": [
        "txid",
        1
    ]
}

Example response: 200

{
    "result": null,
    "error": null,
    "id": "curltest"
}

gettxoutproof

Returns a hex-encoded proof that “txid” was included in a block.

Method: POST

https://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "gettxoutproof",
    "params": [
        [
            "cfe79378a24b231b7f646a670549be1a7203038e74b2a19c23470df0450907ee",
            "e91c0a120eec8aa0c34bca96d2ead57d7de4d73ea1cd0861f5c3799819c12f51"
        ],
        null
    ]
}

Example response: 200

{
    "result": "0000002029d61b0bdafb3ebbf9a9c13938c7f600482de21321df5a36c45f9b7a161640b6cfb6cf078d980072008aa05973898b4f0fe6eef26e05989d5042c4a7ae58d62877ec2066e5fd75194e21184d8400000009ee070945f00d47239ca1b2748e0303721abe4905676a647f1b234ba27893e7cf512fc1199879c3f56108cda13ed7e47d7dd5ead296ca4bc3a08aec0e120a1ce9a3f8a1a393f57967eb3b5858f8029b527ac18cf026d1c554eaa5c1888b514b840b9081f6dbe46d1c00a60a76fbff084fce08f6c6e3ea6a4cdf2e6e5f5fa063eb79fe950ef88fd4d0f8bfc501288b72a56d0353ccfd575a051cd557b745ba0f9776445c2216cee069e9e1e344af02d7b5094fc19d52a878bf1db4dae0a132593456b15e19a4e5350971727fa01ba085b9d3c03d1346498ae4cc686040eea889ccc98e804636954d54990d60e924dedefd70f01b7c0cb3f64bcba407dd9d4ee243fac985bf12212445cb429ce23cff29172040f6206e4f2187ee0ee7b47b08636e03ff0300",
    "error": null,
    "id": "curltest"
}

preciousblock

Treats a block as if it were received before others with the same work.

A later preciousblock call can override the effect of an earlier one.

The effects of preciousblock are not retained across restarts.

Method: POST

https://ltc.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "preciousblock",
    "params": [
        "blockhash"
    ]
}

Example response: 200

{
    "result": null,
    "error": null,
    "id": "curltest"
}

Last updated