Blocks
Get Block
Get a block object given a block ID or block height.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getBlock&block=17198700977300371337
Example response: 200
{
"previousBlockHash": "2712975740bf66378d2038bd8d779feb324928c68eb84405170613a0c6acf480",
"generationSignature": "a4c68a0da3bc7218bddc0e745c1fa47965cc2aa81f56278704bac41916ce1f17",
"generator": "11551286933940986965",
"generatorPublicKey": "feb823bac150e799fbfc124564d4c1a72b920ec26ce11a07e3efda51ca9a425f",
"baseTarget": "1848260922",
"payloadHash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"generatorRS": "ARDOR-MT4P-AHG4-A4NA-CCMM2",
"requestProcessingTime": 2,
"numberOfTransactions": 0,
"blockSignature": "905ac9794e46ec2e3b591d075d7f462b1bef0c3d7081e6ad0b4c5b0931d6840495c2e8690263bba0f30273b8010af6874bfb6f318f754f43eef16368de6cac07",
"transactions": [],
"version": 3,
"previousBlock": "3992088402778853927",
"cumulativeDifficulty": "239737813491795208",
"totalFeeFQT": "0",
"block": "17198700977300371337",
"height": 3343730,
"timestamp": 197454132
}
Get Block Id
Get a block ID given a block height.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getBlockId&height=3343730
Example response: 200
{
"block": "17198700977300371337",
"requestProcessingTime": 0
}
Get Blockchain Status
Get the blockchain status.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getBlockchainStatus
Example response: 200
{
"apiProxy": false,
"correctInvalidFees": false,
"ledgerTrimKeep": 30000,
"maxAPIRecords": 100,
"blockchainState": "UP_TO_DATE",
"currentMinRollbackHeight": 3342545,
"numberOfBlocks": 3343735,
"isTestnet": false,
"includeExpiredPrunable": true,
"isLightClient": false,
"services": [
"API",
"CORS"
],
"requestProcessingTime": 0,
"version": "2.4.2",
"maxRollback": 800,
"lastBlock": "11935440749967498120",
"application": "Ardor",
"isScanning": false,
"isDownloading": false,
"cumulativeDifficulty": "239737969917643747",
"lastBlockchainFeederHeight": 3343733,
"maxPrunableLifetime": 7776000,
"time": 197454389,
"lastBlockchainFeeder": "ardor.nftmagic.art"
}
Get Blocks
Get blocks from the blockchain in reverse block height order.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getBlocks&lastIndex=1
Example response: 200
{
"blocks": [
{
"previousBlockHash": "b9f447b4bd399fcfe6c8fceddcfc1171814fcce6135400b0e26ac71b4ac94d41",
"generationSignature": "c2948ef0f9869100535187a6ea7b805190ea33d4cacf4842320b4eb967384308",
"generator": "824255902634910111",
"generatorPublicKey": "bda7d1366ffae373480250a0e6995655ae11aae56b71e8f8f0a393a9d738f514",
"baseTarget": "1731023679",
"payloadHash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"generatorRS": "ARDOR-7AEZ-E3EB-DRF8-2S4WQ",
"numberOfTransactions": 0,
"blockSignature": "c3660ffa4566ec37b3ad4f6ccf6a21dc222cc6a0bd6d5d0da43608fea3702a0e7c9bc28e3d91da596e9822a85b43556e5162698229b5e85c7b10dee77c85878b",
"transactions": [],
"version": 3,
"previousBlock": "14960739974084293817",
"cumulativeDifficulty": "239737969917643747",
"totalFeeFQT": "0",
"block": "11935440749967498120",
"height": 3343734,
"timestamp": 197454346
},
{
"previousBlockHash": "c5f203a7df62fcb63d6ed499a5c6a9c63184c709c0b1f78f95216c2ea6e336f5",
"generationSignature": "1e24fca27f3cdc00d6427a4271c4f291ea499090c92c09061acb0712da342894",
"generator": "856846536254330721",
"generatorPublicKey": "1dde2711def60870edae4cd2c1e4d3160dd7bb7942d2096075712f0f695eff00",
"baseTarget": "1731023679",
"payloadHash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"generatorRS": "ARDOR-F7V3-EC89-CX8P-233TR",
"nextBlock": "11935440749967498120",
"numberOfTransactions": 0,
"blockSignature": "dfca6690bd6031fc1f8e4b5caee0458c098ff945889440f31358c8d91135770611740b3de755b2bfc39ad097ac51fa92af59032cd4aa91caa642df2d6f61cd2c",
"transactions": [],
"version": 3,
"previousBlock": "13185522521753252549",
"cumulativeDifficulty": "239737956596953585",
"totalFeeFQT": "0",
"block": "14960739974084293817",
"height": 3343733,
"timestamp": 197454298
}
],
"requestProcessingTime": 2
}
Get EC Block
Get Economic Cluster block data.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getECBlock
Example response: 200
{
"ecBlockHeight": 3343018,
"requestProcessingTime": 0,
"ecBlockId": "3096208009638653999",
"timestamp": 197454580
}
Last updated