DASH Blockbook
Status
Status page returns current status of Blockbook and connected backend.
Method: GET
https://dashbook.nownodes.io/api/
Example response: 200
{
"blockbook": {
"coin": "Dash",
"host": "766ec529822f",
"version": "devel",
"gitCommit": "bf45be9f",
"buildTime": "2023-03-13T10:52:41+00:00",
"syncMode": true,
"initialSync": false,
"inSync": true,
"bestHeight": 2055105,
"lastBlockTime": "2024-04-15T11:21:02.109015637Z",
"inSyncMempool": true,
"lastMempoolTime": "2024-04-15T11:22:26.047879331Z",
"mempoolSize": 17,
"decimals": 8,
"dbSize": 49520167304,
"currentFiatRatesTime": "2024-03-05T10:49:10.212942986Z",
"historicalFiatRatesTime": "2024-03-04T00:00:00Z",
"about": "Blockbook - blockchain indexer for Trezor Suite https://trezor.io/trezor-suite. Do not use for any other purpose."
},
"backend": {
"chain": "main",
"blocks": 2055105,
"headers": 2055105,
"bestBlockHash": "000000000000000426b36dcf4663277bdf85407ff77c1c08fb717a58ebeb3508",
"difficulty": "93570950.20588085",
"sizeOnDisk": 37873634390,
"version": "200101",
"subversion": "/Dash Core:20.1.1(dashcore)/",
"protocolVersion": "70231"
}
}
Get block hash
Method: GET
https://dashbook.nownodes.io/api/v2/block-index/<block height>
Example response: 200
{
"blockHash": "000000000000000426b36dcf4663277bdf85407ff77c1c08fb717a58ebeb3508"
}
Get transaction
Get transaction returns "normalized" data about transaction, which has the same general structure for all supported coins. It does not return coin specific fields (for example information about Zcash shielded addresses).
Method: GET
https://dashbook.nownodes.io/api/v2/tx/<txid>
Example response: 200
{
"txid": "5efbfea92d442ba0f7172b9cefb9b181b53bf1b9c7de7b4f8a890092df5ed6ab",
"version": 3,
"lockTime": 565236400,
"vin": [
{
"sequence": 2961285562,
"n": 0,
"isAddress": false,
"coinbase": "03a15b1f04d7f91c6608000021ba4fb401000fe4b883e5bda9e7a59ee4bb99e9b1bc04f09f909f"
}
],
"vout": [
{
"value": "51330595",
"n": 0,
"hex": "76a91464d4d4127bbce4b888bb4af080fa4de863b02b3f88ac",
"addresses": [
"XjszN1jZJthEoaQDhGthRkaHL9AqaG3Vzw"
],
"isAddress": true
},
{
"value": "153991785",
"n": 1,
"hex": "76a914b0d43f7eb7d21b43fae7b86c9b3cbfce23ba976888ac",
"addresses": [
"Xroq2GSk1WUTiUx1dNPz3uJ5ruwWuDJL69"
],
"isAddress": true
}
],
"blockHash": "0000000000000030e17fdbc5f0686d5e05572d2529c14f89bc5a54d7ece16733",
"blockHeight": 2055073,
"confirmations": 34,
"blockTime": 1713174999,
"size": 334,
"value": "205322380",
"valueIn": "0",
"fees": "0",
"hex": "03000500010000000000000000000000000000000000000000000000000000000000000000ffffffff2703a15b1f04d7f91c6608000021ba4fb401000fe4b883e5bda9e7a59ee4bb99e9b1bc04f09f909fbaa181b002233e0f03000000001976a91464d4d4127bbce4b888bb4af080fa4de863b02b3f88ac69ba2d09000000001976a914b0d43f7eb7d21b43fae7b86c9b3cbfce23ba976888acb0d2b021af0300a15b1f00fe529cd93c7d8e440af707fbe6cc0e16a4c9418907fcd6ea2b62bdac97bb921bb424666471648be3249bddbb5fc22eb8bce6837dbd74a22588be86c18176f570008275db1fc5bd839bc02f508b6bcc6a237d5f616636db93e8b176867f48e1c3f53f9c534acee22e4e1295246ef739a9f60612b7f45dbae7116f3b9233767e9af5b024fbd8260a58b6c74b11500a685802fd01e3ef8dacb06a4a5a6408b284ac960000000000000000"
}
Get transaction specific
Returns transaction data in the exact format as returned by backend, including all coin specific fields:
Method: GET
https://dashbook.nownodes.io/api/v2/tx-specific/<txid>
Example response: 200
{
"txid": "5efbfea92d442ba0f7172b9cefb9b181b53bf1b9c7de7b4f8a890092df5ed6ab",
"version": 3,
"type": 5,
"size": 334,
"locktime": 565236400,
"vin": [
{
"coinbase": "03a15b1f04d7f91c6608000021ba4fb401000fe4b883e5bda9e7a59ee4bb99e9b1bc04f09f909f",
"sequence": 2961285562
}
],
"vout": [
{
"value": 0.51330595,
"valueSat": 51330595,
"n": 0,
"scriptPubKey": {
"asm": "OP_DUP OP_HASH160 64d4d4127bbce4b888bb4af080fa4de863b02b3f OP_EQUALVERIFY OP_CHECKSIG",
"hex": "76a91464d4d4127bbce4b888bb4af080fa4de863b02b3f88ac",
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"XjszN1jZJthEoaQDhGthRkaHL9AqaG3Vzw"
]
}
},
{
"value": 1.53991785,
"valueSat": 153991785,
"n": 1,
"scriptPubKey": {
"asm": "OP_DUP OP_HASH160 b0d43f7eb7d21b43fae7b86c9b3cbfce23ba9768 OP_EQUALVERIFY OP_CHECKSIG",
"hex": "76a914b0d43f7eb7d21b43fae7b86c9b3cbfce23ba976888ac",
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"Xroq2GSk1WUTiUx1dNPz3uJ5ruwWuDJL69"
]
}
}
],
"extraPayloadSize": 175,
"extraPayload": "0300a15b1f00fe529cd93c7d8e440af707fbe6cc0e16a4c9418907fcd6ea2b62bdac97bb921bb424666471648be3249bddbb5fc22eb8bce6837dbd74a22588be86c18176f570008275db1fc5bd839bc02f508b6bcc6a237d5f616636db93e8b176867f48e1c3f53f9c534acee22e4e1295246ef739a9f60612b7f45dbae7116f3b9233767e9af5b024fbd8260a58b6c74b11500a685802fd01e3ef8dacb06a4a5a6408b284ac960000000000000000",
"cbTx": {
"version": 3,
"height": 2055073,
"merkleRootMNList": "1b92bb97acbd622bead6fc078941c9a4160ecce6fb07f70a448e7d3cd99c52fe",
"merkleRootQuorums": "70f57681c186be8825a274bd7d83e6bcb82ec25fbbdd9b24e38b6471646624b4",
"bestCLHeightDiff": 0,
"bestCLSignature": "8275db1fc5bd839bc02f508b6bcc6a237d5f616636db93e8b176867f48e1c3f53f9c534acee22e4e1295246ef739a9f60612b7f45dbae7116f3b9233767e9af5b024fbd8260a58b6c74b11500a685802fd01e3ef8dacb06a4a5a6408b284ac96",
"creditPoolBalance": 0.00000000
},
"hex": "03000500010000000000000000000000000000000000000000000000000000000000000000ffffffff2703a15b1f04d7f91c6608000021ba4fb401000fe4b883e5bda9e7a59ee4bb99e9b1bc04f09f909fbaa181b002233e0f03000000001976a91464d4d4127bbce4b888bb4af080fa4de863b02b3f88ac69ba2d09000000001976a914b0d43f7eb7d21b43fae7b86c9b3cbfce23ba976888acb0d2b021af0300a15b1f00fe529cd93c7d8e440af707fbe6cc0e16a4c9418907fcd6ea2b62bdac97bb921bb424666471648be3249bddbb5fc22eb8bce6837dbd74a22588be86c18176f570008275db1fc5bd839bc02f508b6bcc6a237d5f616636db93e8b176867f48e1c3f53f9c534acee22e4e1295246ef739a9f60612b7f45dbae7116f3b9233767e9af5b024fbd8260a58b6c74b11500a685802fd01e3ef8dacb06a4a5a6408b284ac960000000000000000",
"blockhash": "0000000000000030e17fdbc5f0686d5e05572d2529c14f89bc5a54d7ece16733",
"height": 2055073,
"confirmations": 34,
"time": 1713174999,
"blocktime": 1713174999,
"instantlock": true,
"instantlock_internal": false,
"chainlock": true
}
Get address
Returns balances and transactions of an address. The returned transactions are sorted by block height, newest blocks first.
Method: GET
https://dashbook.nownodes.io/api/v2/address/<address>[?page=<page>&pageSize=<size>&from=<block height>&to=<block height>&details=<basic|tokens|tokenBalances|txids|txs>&contract=<contract address>&secondary=usd]
Example response: 200
{
"page": 1,
"totalPages": 10,
"itemsOnPage": 1000,
"address": "XjszN1jZJthEoaQDhGthRkaHL9AqaG3Vzw",
"balance": "124454110590",
"totalReceived": "537245058688",
"totalSent": "412790948098",
"unconfirmedBalance": "0",
"unconfirmedTxs": 0,
"txs": 9514,
"txids": [
"2c041bfe51e66420caf74b9d954ec3b4562ebc2342da25f3eb59343e69c3b40e",
"d9580d79001aa5d06ef9e2f83a78b529ed02963dcaa3ab9cc0718eb8aefed786",
"6d815aa084d198fa1315d67fcddbce4fbbd235bd4b7767de8919f64ecde84d96",
"ab4fe8f9f6acee41ad26a27ddd36cc0b90236c6132581d75d1b84a9780dee936",
"e6322c8ed70c308faa9b90f2b232e05ce298b64208dd6656d095964453a7e990",
"f264b65a6f5064df183933b9cd62fe9883ed376102a4ab5b46eaeb522dcc5c4c",
"99bc107ebeaa6ebfe8587ef819d80738c42358152185def5211b34eac884e122",
"82a2572b125fe9a325371b118f01e95c4b49a20ff6906db0c1e44cf762ff6e48",
"f877d554466a8038126f81b4b582689d8f176057eb36bba9767adabf9d701dc1",
"54117d5bd31e00029a191c7e3da2903e56ccdf1615dada47a4d7620423d28be7",
"5efbfea92d442ba0f7172b9cefb9b181b53bf1b9c7de7b4f8a890092df5ed6ab",
"518e61fdc5e704b27803c9b07f1c18817d0cc7fd55449711fc2a0c157d8d1e96",
"017a16f2f9ccf56d9a263b731963ee236f75464c46d945a2955c699e67b0446d",
"bc0a61f2a68bd157c40df2f75e72f1640ec0b4172ceaeb4cb96f778e14c26280",
"5fb9331ce65f3797760f1c35c840b14f6134ab2931bb2f201243da61b49aa807",
"4bbe8217c2e510f8894e1ea688fa533007038dd4d7e9201425f4ab402a3f7910",
"0eeb6671fd5a475a200b78d0114b1ad87b69055200cdd9da694b01ac3f6e1934",
"2f92ffb4158fba200efbb7eed4d851e631dadcdeca95afca5c243adb2e2daf06",
"a69af5dc92759ea8c079d3482d90619dfcfd42d94b3f28e8abae5d28947bff49",
"8e7dea4d24ee99fa68744fe6ff2afaf18456c8bc8f398e1b9e32c807e37a7c92",
"09f74aec060052ccdb3c57ecee6af49370c636d16c9c55d638fd203dd4e29e43",
"6e16da3e94609770581d7d2e2bd596999e53dc771bd4cdf20506b8e958d90d7b",
"6d7696def41d5a9cd1415e530493b42178b7a85a5d637d9bc293199fbc54f3fc",
"dcfede07020cff918e6c91a59b646c87ba4c1b66882c10bc6466e5b15d7e1c23",
"10400801394f2a503c3a75b770fb0e1a2ef408f14ac416368123b2f33a09ac20",
"27d5ec4a48da53bd7809b5ce28fae8457817b0bc3f94fce0a25f415da7e74ffd",
"d4f5a9d76f6392829efa8edb7851b3602b45b8fc1ba4d94f04df78fa8e94e66b",
"51e65cea6a9b69ffb0bc52b7b11d750bd4a96396475720aaf81e41d469007e27",
"5de59c25033a64fef8f98546c06ddff585ead0979bbcb94f748d52dff3bc9cbd",
"82c6f74b74c8951383cff159d869509c0844431b334b62ff4ee20db0a1442dd9",
"074abbf89c38ceca2ca5fcce5ab37309b2c892cd656fbbdf82bd6e03574a5b5c",
"4b637b0d869573a4c9e5020e28e30ade677de5cdc3a6de7d6cb99d89775addd3",
"5e4d9eb1705669159f62c5d99cce1527d486ffe4ab226bd2ad273198e9004e12",
"62700e4149e618c88e16cef9b0b39be5200d9550c05f89e855b2ad084aac00f8",
"4bcc5ed1c71f0a0bb62bbf193e0d93a622dc5ea0ec35c32ce01e8b84974873de",
"3f9b3cd80a2531f32aab043f13eddfdf70bb271de63df48a076d67ff88bb4e9e",
"0fb47ecf99a19c1c2d915ab3a81a99a8c1d0ddd8e3a3cebf1dc66ad156af7c0d",
"86814d168660f7be68aaee692c74bdf58dd74bc5995c8cba75e885ba1c04f48f",
...
Get xpub
Returns balances and transactions of an xpub or output descriptor, applicable only for Bitcoin-type coins.
Method: GET
https://dashbook.nownodes.io/api/v2/xpub/<xpub|descriptor>[?page=<page>&pageSize=<size>&from=<block height>&to=<block height>&details=<basic|tokens|tokenBalances|txids|txs>&tokens=<nonzero|used|derived>&secondary=eur]
Example response: 200
{
"page": 1,
"totalPages": 1,
"itemsOnPage": 1000,
"address": "xpub661MyMwAqRbcFW31YEwpkMuc5THy2PSt5bDMsktWQcFF8syAmRUapSCGu8ED9W6oDMSgv6Zz8idoc4a6mr8BDzTJY47LJhkJ8UB7WEGuduB",
"balance": "0",
"totalReceived": "0",
"totalSent": "0",
"unconfirmedBalance": "0",
"unconfirmedTxs": 0,
"txs": 0
}
Get utxo
Returns array of unspent transaction outputs of address or xpub, applicable only for Bitcoin-type coins. By default, the list contains both confirmed and unconfirmed transactions. The query parameter confirmed=true disables return of unconfirmed transactions. The returned utxos are sorted by block height, newest blocks first. For xpubs or output descriptors, the response also contains address and derivation path of the utxo.
Unconfirmed utxos do not have field height, the field confirmations has value 0 and may contain field lockTime, if not zero.
Coinbase utxos have field coinbase set to true, however due to performance reasons only up to minimum coinbase confirmations limit (100). After this limit, utxos are not detected as coinbase.
Method: GET
https://dashbook.nownodes.io/api/v2/utxo/<address|xpub|descriptor>[?confirmed=true]
Example response: 200
[
{
"txid": "b81976e4409463acd5e47f3760c8833852b26473e2af3768e3429f4269861fde",
"vout": 0,
"value": "51326052",
"height": 2055108,
"confirmations": 1,
"coinbase": true
},
{
"txid": "7c20fa60187d385d1d171e250cffc618bc5e8ca8f741b2d420b3c9204c6de57c",
"vout": 0,
"value": "51336843",
"height": 2055107,
"confirmations": 2,
"coinbase": true
},
{
"txid": "2c041bfe51e66420caf74b9d954ec3b4562ebc2342da25f3eb59343e69c3b40e",
"vout": 0,
"value": "51338907",
"height": 2055104,
"confirmations": 5,
"coinbase": true
},
{
"txid": "d9580d79001aa5d06ef9e2f83a78b529ed02963dcaa3ab9cc0718eb8aefed786",
"vout": 0,
"value": "51331816",
"height": 2055101,
"confirmations": 8,
"coinbase": true
},
{
"txid": "6d815aa084d198fa1315d67fcddbce4fbbd235bd4b7767de8919f64ecde84d96",
"vout": 0,
"value": "51379633",
"height": 2055100,
"confirmations": 9,
"coinbase": true
},
{
"txid": "ab4fe8f9f6acee41ad26a27ddd36cc0b90236c6132581d75d1b84a9780dee936",
"vout": 0,
"value": "51338559",
"height": 2055099,
"confirmations": 10,
"coinbase": true
},
...
Get block
Returns information about block with transactions, subject to paging.
Method: GET
https://dashbook.nownodes.io/api/v2/block/<block height|block hash>
Example response: 200
{
"page": 1,
"totalPages": 1,
"itemsOnPage": 1000,
"hash": "00000000000000275fa83ef8a413ab64e2b087a6bdb2d80def618318ced537a6",
"previousBlockHash": "000000000000000ff0e560c913cf3db532bba48e9aaa2db1173af3d6af8b4895",
"height": 2055108,
"confirmations": 1,
"size": 415,
"time": 1713180478,
"version": 536870912,
"merkleRoot": "b81976e4409463acd5e47f3760c8833852b26473e2af3768e3429f4269861fde",
"nonce": "2897182331",
"bits": "192dfc15",
"difficulty": "93398503.98946396",
"txCount": 1,
"txs": [
{
"txid": "b81976e4409463acd5e47f3760c8833852b26473e2af3768e3429f4269861fde",
"vin": [
{
"n": 0,
"isAddress": false,
"value": "0"
}
],
"vout": [
{
"value": "51326052",
"n": 0,
"addresses": [
"XjszN1jZJthEoaQDhGthRkaHL9AqaG3Vzw"
],
"isAddress": true
},
{
"value": "153978154",
"n": 1,
"addresses": [
"XuyoQHFRCe18Qoacem1KXXmjgH78DgFqNS"
],
"isAddress": true
}
],
"blockHash": "00000000000000275fa83ef8a413ab64e2b087a6bdb2d80def618318ced537a6",
"blockHeight": 2055108,
"confirmations": 1,
"blockTime": 1713180478,
"value": "205304206",
"valueIn": "0",
"fees": "0"
}
]
}
Send transaction
Sends new transaction to backend.
Method: GET
https://dashbook.nownodes.io/api/v2/sendtx/<hex tx data>
Example response: 200
{
"result": "7c3be24063f268aaa1ed81b64776798f56088757641a34fb156c4f51ed2e9d25"
}
or in case of error
{
"error": {
"message": "error message"
}
}
Tickers list
Returns a list of available currency rate tickers (secondary currencies) for the specified date, along with an actual data timestamp.
Method: GET
https://dashbook.nownodes.io/api/v2/tickers-list/?timestamp=<timestamp>
Example response: 200
{
"ts": 1692403200,
"available_currencies": [
"aed",
"ars",
"aud",
"bch",
"bdt",
"bhd",
"bits",
"bmd",
"bnb",
"brl",
"btc",
"cad",
"chf",
"clp",
"cny",
"czk",
"dkk",
"dot",
"eos",
"eth",
"eur",
"gbp",
"hkd",
"huf",
"idr",
"ils",
"inr",
"jpy",
"krw",
"kwd",
"link",
"lkr",
"ltc",
"mmk",
"mxn",
"myr",
"ngn",
"nok",
"nzd",
"php",
"pkr",
"pln",
"rub",
"sar",
"sats",
"sek",
"sgd",
"thb",
"try",
"twd",
"uah",
"usd",
"vef",
"vnd",
"xag",
"xau",
"xdr",
"xlm",
"xrp",
"yfi",
"zar"
]
}
Balance history
Returns a balance history for the specified XPUB or address.
Method: GET
https://dashbook.nownodes.io/api/v2/balancehistory/<XPUB|address>?from=<dateFrom>&to=<dateTo>[&fiatcurrency=<currency>&groupBy=<groupBySeconds>]
Example response: 200
[
{
"time": 1708495200,
"txs": 2,
"received": "100000000",
"sent": "100000000",
"sentToSelf": "0",
"rates": {
"aed": 108.26548,
"ars": 24695.477,
"aud": 44.995167,
"bch": 0.111901656,
"bdt": 3234.8274,
"bhd": 11.106334,
"bits": 568.68445,
"bmd": 29.476034,
"bnb": 0.077784896,
"brl": 145.5055,
"btc": 0.0005686844,
"cad": 39.79919,
"chf": 25.920694,
"clp": 28582.322,
"cny": 211.89732,
"czk": 689.80994,
"dkk": 203.08629,
"dot": 3.9430292,
"eos": 38.601048,
"eth": 0.009900745,
"eur": 27.24358,
"gbp": 23.326656,
"gel": 77.96411,
"hkd": 230.5306,
"huf": 10550.0625,
"idr": 461178.84,
"ils": 108.445724,
"inr": 2444.7026,
"jpy": 4432.2466,
"krw": 39299.312,
"kwd": 9.070572,
"link": 1.5873107,
"lkr": 9182.629,
"ltc": 0.42726442,
"mmk": 61896.34,
"mxn": 502.53986,
"myr": 141.33759,
"ngn": 45938.137,
"nok": 308.93536,
"nzd": 47.696205,
"php": 1648.3292,
"pkr": 8238.348,
...
Last updated