DOGE Blockbook

Status

Status page returns current status of Blockbook and connected backend.

Method: GET

https://dogebook.nownodes.io/api/

Example response: 200

{
    "blockbook": {
        "coin": "Dogecoin",
        "host": "8d8fdfb49023",
        "version": "devel",
        "gitCommit": "1d95413f",
        "buildTime": "2024-02-19T09:03:59+00:00",
        "syncMode": true,
        "initialSync": false,
        "inSync": true,
        "bestHeight": 5177710,
        "lastBlockTime": "2024-04-19T12:25:53.531225101Z",
        "inSyncMempool": true,
        "lastMempoolTime": "2024-04-19T12:40:06.963042025Z",
        "mempoolSize": 14800,
        "decimals": 8,
        "dbSize": 122906425817,
        "hasFiatRates": true,
        "currentFiatRatesTime": "2024-04-19T12:30:04.391847902Z",
        "historicalFiatRatesTime": "2024-04-18T00: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": 5177723,
        "headers": 5177723,
        "bestBlockHash": "232470225af4fcd1aef69615a4c249716661e133eb1cc1ac85e5032300374f45",
        "difficulty": "15149147.82110281",
        "sizeOnDisk": 155749132521,
        "version": "1140700",
        "subversion": "/Shibetoshi:1.14.7/",
        "protocolVersion": "70015"
    }
}

Get block hash

Method: GET

https://dogebook.nownodes.io/api/v2/block-index/<block height>

Example response: 200

{
    "blockHash": "0e6394e87b68664b4637fda6063c7063a0a7542399682dfd34a9d96fe9937139"
}

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://dogebook.nownodes.io/api/v2/tx/<txid>

Example response: 200

{
    "txid": "9c6512ad2a075b669121ffb35bc78516bbee58a55dcaa4d5d202a84e7b52aac5",
    "version": 1,
    "vin": [
        {
            "txid": "1be925bcd62ef6e140ab7c3ad83f09e39d68e735127239272417773d4e3dc03a",
            "vout": 1,
            "sequence": 4294967295,
            "n": 0,
            "addresses": [
                "DChwJmdMYPKz8NfSmzLyVh12UMGK5Hq9jH"
            ],
            "isAddress": true,
            "value": "164708060960",
            "hex": "47304402200a6b5ab838affd22a250362e5b4090db9fa340d4c7718912b110120b387d159a02200db10cb263645c4e4464d4d615318a5670102ed7038231962b1af7e02aac3bbd0121026bc6cb858ba38efce9b799fe0d3fa47acbb6c3e4a5620d62299611ac6774b59d"
        }
    ],
    "vout": [
        {
            "value": "8000000000",
            "n": 0,
            "spent": true,
            "hex": "76a914422bcfc1871fc54b5bcb980c18b6a8fb44c62ede88ac",
            "addresses": [
                "DBAycztVThnia4SSQbhrzZYwkrnDjuSmYe"
            ],
            "isAddress": true
        },
        {
            "value": "156685366040",
            "n": 1,
            "spent": true,
            "hex": "76a91452fee67887491100ae8519acd4c252732ca28d9f88ac",
            "addresses": [
                "DChwJmdMYPKz8NfSmzLyVh12UMGK5Hq9jH"
            ],
            "isAddress": true
        }
    ],
    "blockHash": "afb60f45a503923682819beaaab237f0b3e0314d95fdd09dbb892f08a1660b9f",
    "blockHeight": 5177592,
    "confirmations": 129,
    "blockTime": 1713522090,
    "size": 225,
    "value": "164685366040",
    "valueIn": "164708060960",
    "fees": "22694920",
    "hex": "01000000013ac03d4e3d7717242739721235e7689de3093fd83a7cab40e1f62ed6bc25e91b010000006a47304402200a6b5ab838affd22a250362e5b4090db9fa340d4c7718912b110120b387d159a02200db10cb263645c4e4464d4d615318a5670102ed7038231962b1af7e02aac3bbd0121026bc6cb858ba38efce9b799fe0d3fa47acbb6c3e4a5620d62299611ac6774b59dffffffff020050d6dc010000001976a914422bcfc1871fc54b5bcb980c18b6a8fb44c62ede88ac18f32c7b240000001976a91452fee67887491100ae8519acd4c252732ca28d9f88ac00000000"
}

Get transaction specific

Returns transaction data in the exact format as returned by backend, including all coin specific fields:

Method: GET

https://dogebook.nownodes.io/api/v2/tx-specific/<txid>

Example response: 200

{
    "hex": "01000000013ac03d4e3d7717242739721235e7689de3093fd83a7cab40e1f62ed6bc25e91b010000006a47304402200a6b5ab838affd22a250362e5b4090db9fa340d4c7718912b110120b387d159a02200db10cb263645c4e4464d4d615318a5670102ed7038231962b1af7e02aac3bbd0121026bc6cb858ba38efce9b799fe0d3fa47acbb6c3e4a5620d62299611ac6774b59dffffffff020050d6dc010000001976a914422bcfc1871fc54b5bcb980c18b6a8fb44c62ede88ac18f32c7b240000001976a91452fee67887491100ae8519acd4c252732ca28d9f88ac00000000",
    "txid": "9c6512ad2a075b669121ffb35bc78516bbee58a55dcaa4d5d202a84e7b52aac5",
    "hash": "9c6512ad2a075b669121ffb35bc78516bbee58a55dcaa4d5d202a84e7b52aac5",
    "size": 225,
    "vsize": 225,
    "version": 1,
    "locktime": 0,
    "vin": [
        {
            "txid": "1be925bcd62ef6e140ab7c3ad83f09e39d68e735127239272417773d4e3dc03a",
            "vout": 1,
            "scriptSig": {
                "asm": "304402200a6b5ab838affd22a250362e5b4090db9fa340d4c7718912b110120b387d159a02200db10cb263645c4e4464d4d615318a5670102ed7038231962b1af7e02aac3bbd[ALL] 026bc6cb858ba38efce9b799fe0d3fa47acbb6c3e4a5620d62299611ac6774b59d",
                "hex": "47304402200a6b5ab838affd22a250362e5b4090db9fa340d4c7718912b110120b387d159a02200db10cb263645c4e4464d4d615318a5670102ed7038231962b1af7e02aac3bbd0121026bc6cb858ba38efce9b799fe0d3fa47acbb6c3e4a5620d62299611ac6774b59d"
            },
            "sequence": 4294967295
        }
    ],
    "vout": [
        {
            "value": 80.00000000,
            "n": 0,
            "scriptPubKey": {
                "asm": "OP_DUP OP_HASH160 422bcfc1871fc54b5bcb980c18b6a8fb44c62ede OP_EQUALVERIFY OP_CHECKSIG",
                "hex": "76a914422bcfc1871fc54b5bcb980c18b6a8fb44c62ede88ac",
                "reqSigs": 1,
                "type": "pubkeyhash",
                "addresses": [
                    "DBAycztVThnia4SSQbhrzZYwkrnDjuSmYe"
                ]
            }
        },
        {
            "value": 1566.85366040,
            "n": 1,
            "scriptPubKey": {
                "asm": "OP_DUP OP_HASH160 52fee67887491100ae8519acd4c252732ca28d9f OP_EQUALVERIFY OP_CHECKSIG",
                "hex": "76a91452fee67887491100ae8519acd4c252732ca28d9f88ac",
                "reqSigs": 1,
                "type": "pubkeyhash",
                "addresses": [
                    "DChwJmdMYPKz8NfSmzLyVh12UMGK5Hq9jH"
                ]
            }
        }
    ],
    "blockhash": "afb60f45a503923682819beaaab237f0b3e0314d95fdd09dbb892f08a1660b9f",
    "confirmations": 134,
    "time": 1713522090,
    "blocktime": 1713522090
}

Get address

Returns balances and transactions of an address. The returned transactions are sorted by block height, newest blocks first.

Method: GET

https://dogebook.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": 653,
    "itemsOnPage": 1000,
    "address": "DLPaeuaJi2JLUcvYHD4ddLxadwnGaVSt4p",
    "balance": "2472366234494406",
    "totalReceived": "5049941356286620876",
    "totalSent": "5047468990052126470",
    "unconfirmedBalance": "0",
    "unconfirmedTxs": 0,
    "txs": 652320,
    "txids": [
        "337e1c08c9460f79aab45da13424e059d508a8f993508f36f75de477ee0c32de",
        "d74206b72741b3b9a24119e0b628dd032478300713b4dbdaaba5afc9eb2dc0c9",
        "cf72f7a2c08be4a5494ba5c28daa3ac0733915bfe01eedd43abfdbd0c5c079c6",
        "7a39fe87cb6d19d67f76802b506bd5e6c9bc5dbffb693f893b904ae2bd7f2d37",
        "ac123c39beb225e278895080b07bf9ae43d38081ffa69cc873238dd9c6e5e2f1",
        "7fab1c6362f54c991fccd33a0508888705a83bddf2550293f29761e74253d6d7",
        "237603aae06d35740f1e97c19dbc49102fb99cca440b5bab2de7788fbf85f1bf",
        "5a208b5f320f10899581c6c53278f7ccc96c233ea97b6520c5ba869ec6118256",
        "67157afb41a18ca4d63892a7135edf1cce66429583013e7ba7ee75829399843f",
        "a400d514581175005804ec5fdfd08f17dfa9e98ddafa2b8d815f51ed68174adb",
        "7d042d699382d873b7c117dcc13bc55b69af24ffd1b1020acfee6cb14bfc7c55",
        "4ad70e810bfceaee1dc3452140386995bf873fbe8a283453e9593f59db920bf1",
        "3defc76bebc5fb6779356425ba9c33089d25ef59039686a228e4a9ad874108a1",
        "c08c20a66147927fe8d8648f0799e747d052d9f721f25dd2e5ecf3a807d37761",
        "ede3e1b37ecfbcd55aee37f8c0983e05d9432ab7b71baa07dc61ffbad72bf482",
        "e5efc8e6cadb57ba126a5cc9528087b702813703176f2d056e55a0d939e4eea6",
        "6142cfdf64d0cb3bc3b89cf35a3e7536b9857f9371f383ed62e4a3a05b5317c9",
        "16005b7e009bd74e3d5dc410a08b8f792f61cc231d09c895a2c8175e4d5492bd",
        "b2f0a0847d1862e3899b0b9ecb37633df2d4ef5f01bef148d4541965da7cda89",
        "f9ad6699c41594ab6cd185bfd81675b672268ea9247e920ebb9ac8461d1d95b9",
        "2b9e3c8419eec5ea72a75908fa7ed4fc1d1302b9623cf4ecd8e2359449a9373a",
        "c394087e04bc4dd3965410d872e3b5ab8244d18461df9b64d7eb9a7cb7e8f487",
        "5a30d947210864edc9d07002b3e1e8e6df47b74affbfa83eab80a1acb16442ec",
        "de4e23b9c8465a012bb8a579948895dcf29a4cf35721e2d6392cb00b4b3c812e",
        "a7f69772d93fb5f91e0f515f1efb1dea5dfa82cf6f5c3228459ba118dc3fd71f",
        "9b45242f4b3654b5d39ede391cfba413e479d260d5af0dca43d3bbac0e9af018",
        "09cd666ea65116f29f2cdad03436cd7a4aa88a730b434392bc8a198c908fb553",
        "2116bcec444f05ceefc3e73639c861f3505c82b6dd1878eb16c6764582fb9702",
        "86e9927b99b422c775b28015c7230cb898ecb00eb3aa41adf71559fbf3c90781",
        "17026cd0e4125ca2c9dcae459ea5f4545df0669942528371af0d5736d31fa155",
        "5ce47a2fbcd4c6fbfe1c0ad183b3195a5cf55be3a4f8c810cc4e2d24e7fce0a3",
        "537fe8211ee340a23160fa9e0857b5f803533e08497f551d3cd7fc33111b445d",
        "35e3477b59558e981afce08be8152e459af18ecca9dbc10e380367a2fa144310",
        "0c22b08e7fe285c772f66fd23b9b5c1137c63aa8641cf0610238c0cf3e5ad55a",
        "2611f2adb4715c40c7400e3dd1340c5a647431d4bb85e00c405b84157e83237d",
        "bb8ef274128c30665bd06901d0f9e2f2966af64bb5000bb8c74e7ebbc35970b1",
        "7eccecb3c44449a50115a586829f960ca767f0ed5efb6f8a2ce291bb4b0926b0",
        "15138941166f24e2fa6e19071274be185ad3aa1a7a84d6d62dbcb9fca1088974",
...

Get xpub

Returns balances and transactions of an xpub or output descriptor, applicable only for Bitcoin-type coins.

Method: GET

https://dogebook.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://dogebook.nownodes.io/api/v2/utxo/<address|xpub|descriptor>[?confirmed=true]

Example response: 200

[
    {
        "txid": "95a7b0d4e4b6ec4b4c1168fc0293a4ac8bf3c519d380a04b9a8827b00895e9f0",
        "vout": 1,
        "value": "4670512945984",
        "confirmations": 0
    },
    {
        "txid": "337e1c08c9460f79aab45da13424e059d508a8f993508f36f75de477ee0c32de",
        "vout": 1,
        "value": "3939166843783",
        "height": 5177719,
        "confirmations": 2
    },
    {
        "txid": "d74206b72741b3b9a24119e0b628dd032478300713b4dbdaaba5afc9eb2dc0c9",
        "vout": 1,
        "value": "906272154567",
        "height": 5177718,
        "confirmations": 3
    },
    {
        "txid": "cf72f7a2c08be4a5494ba5c28daa3ac0733915bfe01eedd43abfdbd0c5c079c6",
        "vout": 1,
        "value": "2326063266161",
        "height": 5177715,
        "confirmations": 6
    },
    {
        "txid": "7a39fe87cb6d19d67f76802b506bd5e6c9bc5dbffb693f893b904ae2bd7f2d37",
        "vout": 1,
        "value": "3534444455474",
        "height": 5177713,
        "confirmations": 8
    },
    {
        "txid": "ac123c39beb225e278895080b07bf9ae43d38081ffa69cc873238dd9c6e5e2f1",
        "vout": 1,
        "value": "1821240840589",
        "height": 5177711,
        "confirmations": 10
    },
    {
        "txid": "7fab1c6362f54c991fccd33a0508888705a83bddf2550293f29761e74253d6d7",
        "vout": 1,
        "value": "2054472592194",
        "height": 5177711,
        "confirmations": 10
    },
...

Get block

Returns information about block with transactions, subject to paging.

Method: GET

https://dogebook.nownodes.io/api/v2/block/<block height|block hash>

Example response: 200

{
    "page": 1,
    "totalPages": 1,
    "itemsOnPage": 1000,
    "hash": "9e98b2a2576b3bb4133dbaf665746e6a906c6427e65a75497185075ae54419df",
    "previousBlockHash": "678e5195691bc0421ace7afb08e1d9667f8668850f07113dcef054cc5e8eb27c",
    "nextBlockHash": "e79e03eb79a38b891e05ec7abde4165570f8a713632cdb1d374eec0881a51b08",
    "height": 5177718,
    "confirmations": 8,
    "size": 16500,
    "time": 1713530044,
    "version": 6422788,
    "merkleRoot": "ab02130e1fbfc4b6946aaeff332c93d1ce290ec78a43d3b48f34771b7560cbbf",
    "nonce": "0",
    "bits": "1a00fcb4",
    "difficulty": "16995839.52513449",
    "txCount": 43,
    "txs": [
        {
            "txid": "98cb1bf367ce38a77cc21e076e276cb98bb0a7cf9c17a88637176af10659afff",
            "vin": [
                {
                    "n": 0,
                    "isAddress": false,
                    "value": "0"
                }
            ],
            "vout": [
                {
                    "value": "1003451577699",
                    "n": 0,
                    "addresses": [
                        "DBgHW1Shjyk91fusm9hm3HcryNBwaFwZbQ"
                    ],
                    "isAddress": true
                }
            ],
            "blockHash": "9e98b2a2576b3bb4133dbaf665746e6a906c6427e65a75497185075ae54419df",
            "blockHeight": 5177718,
            "confirmations": 3,
            "blockTime": 1713530044,
            "value": "1003451577699",
            "valueIn": "0",
            "fees": "0"
        },
        {
            "txid": "b9bc332afa134d55fd3248fd90323cec44769ca2e30c3d0e5aabb6bc206ad521",
            "vin": [
                {
                    "n": 0,
                    "addresses": [
                        "D8Rjitpah1Uh2KnN9pEyyBXBt4KDnrAjK9"
                    ],
                    "isAddress": true,
                    "value": "263200000000"
                }
            ],
...

Send transaction

Sends new transaction to backend.

Method: GET

https://dogebook.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://dogebook.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://dogebook.nownodes.io/api/v2/balancehistory/<XPUB|address>?from=<dateFrom>&to=<dateTo>[&fiatcurrency=<currency>&groupBy=<groupBySeconds>]

Example response: 200

[
    {
        "time": 1690398000,
        "txs": 1,
        "received": "17770000000",
        "sent": "0",
        "sentToSelf": "0",
        "rates": {
            "aed": 0.28627148,
            "ars": 21.234253,
            "aud": 0.11535278,
            "bch": 0.00032218083,
            "bdt": 8.463198,
            "bhd": 0.029385753,
            "bits": 2.6544285,
            "bmd": 0.077941544,
            "bnb": 0.00032609561,
            "brl": 0.36924025,
            "btc": 0.0000026544285,
            "cad": 0.10293778,
            "chf": 0.06716035,
            "clp": 64.28151,
            "cny": 0.55736,
            "czk": 1.6917992,
            "dkk": 0.52428156,
            "dot": 0.014882154,
            "eos": 0.10480963,
            "eth": 0.000041670177,
            "eur": 0.07035128,
            "gbp": 0.060299553,
            "hkd": 0.6080679,
            "huf": 26.871126,
            "idr": 1170.8136,
            "ils": 0.28773874,
            "inr": 6.389316,
            "jpy": 10.943038,
            "krw": 99.4107,
            "kwd": 0.023922987,
            "link": 0.0100495415,
            "lkr": 25.773094,
            "ltc": 0.00085943576,
            "mmk": 163.75423,
            "mxn": 1.3145977,
            "myr": 0.35459504,
            "ngn": 61.66067,
            "nok": 0.78927505,
            "nzd": 0.12555471,
            "php": 4.2524905,
            "pkr": 22.375753,
            "pln": 0.3112727,
...

Last updated