DOGE Blockbook WSS
Get Info
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"2","method":"getInfo","params":{}}
Response: 200
{
"id": "2",
"data": {
"name": "Dogecoin",
"shortcut": "DOGE",
"decimals": 8,
"version": "devel",
"bestHeight": 5177724,
"bestHash": "deaea6c6bdd5ccb85634108bb581025f92af9dc5ba9c2e05910e6269e5de8ffd",
"block0Hash": "1a91e3dace36e2be3bf030a65679fe821aa1d6ef92e7c9902eb318182c355691",
"testnet": false,
"backend": {
"version": "1140700",
"subversion": "/Shibetoshi:1.14.7/"
}
}
}
Ping
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"3","method":"ping","params":{}}
Response: 200
{
"id": "3",
"data": {}
}
Get block hash
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"4","method":"getBlockHash","params":{"height":100000}}
Response: 200
{
"id": "4",
"data": {
"hash": "13ab3b961fcc500c03f51279385c42e9f055d48a37dfa72d0073c0d3f595036b"
}
}
Get account info
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{
"id": "5",
"method": "getAccountInfo",
"params": {
"descriptor": "D854CmnFiqauTDryE4Cq7rKRPjbStFj49T",
"details": "basic",
"tokens": "derived",
"page": null,
"pageSize": 10,
"from": null,
"to": null,
"contractFilter": ""
}
}
Response: 200
{
"id": "5",
"data": {
"address": "D854CmnFiqauTDryE4Cq7rKRPjbStFj49T",
"balance": "143270000000",
"totalReceived": "31592208097970",
"totalSent": "31448938097970",
"unconfirmedBalance": "0",
"unconfirmedTxs": 0,
"txs": 566
}
}
Get balance history
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{
"id": "7",
"method": "getBalanceHistory",
"params": {
"descriptor": "D854CmnFiqauTDryE4Cq7rKRPjbStFj49T",
"from": null,
"to": null,
"currencies": [
""
],
"groupBy": null
}
}
Response: 200
{
"id": "7",
"data": [
{
"time": 1690398000,
"txs": 1,
"received": "17770000000",
"sent": "0",
"sentToSelf": "0",
"rates": {
"aed": 0.28627148,
"ars": 21.234253,
"aud": 0.11535278,
"bdt": 8.463198,
"bhd": 0.029385753,
"bmd": 0.077941544,
"brl": 0.36924025,
"btc": 0.0000026544285,
"cad": 0.10293778,
"chf": 0.06716035,
"clp": 64.28151,
"cny": 0.55736,
"czk": 1.6917992,
"dkk": 0.52428156,
"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,
"lkr": 25.773094,
"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,
"rub": 7.0154405,
"sar": 0.29234478,
"sek": 0.810945,
"sgd": 0.10335048,
"thb": 2.6704764,
...
Get transaction
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"9","method":"getTransaction","params":{"txid":"9c6512ad2a075b669121ffb35bc78516bbee58a55dcaa4d5d202a84e7b52aac5"}}
Response: 200
{
"id": "9",
"data": {
"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": "72119d74f4560b3f2e030b7840ce8a053fc464dcce6a5ce69d7b2989bbb89394",
"blockHeight": 5177606,
"confirmations": 133,
"blockTime": 1713522090,
"size": 225,
"value": "164685366040",
"valueIn": "164708060960",
"fees": "22694920",
"hex": "01000000013ac03d4e3d7717242739721235e7689de3093fd83a7cab40e1f62ed6bc25e91b010000006a47304402200a6b5ab838affd22a250362e5b4090db9fa340d4c7718912b110120b387d159a02200db10cb263645c4e4464d4d615318a5670102ed7038231962b1af7e02aac3bbd0121026bc6cb858ba38efce9b799fe0d3fa47acbb6c3e4a5620d62299611ac6774b59dffffffff020050d6dc010000001976a914422bcfc1871fc54b5bcb980c18b6a8fb44c62ede88ac18f32c7b240000001976a91452fee67887491100ae8519acd4c252732ca28d9f88ac00000000"
}
}
Get transaction specific
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"10","method":"getTransactionSpecific","params":{"txid":"9c6512ad2a075b669121ffb35bc78516bbee58a55dcaa4d5d202a84e7b52aac5"}}
Response: 200
{
"id": "10",
"data": {
"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": 147,
"time": 1713522090,
"blocktime": 1713522090
}
}
Estimate fee
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"11","method":"estimateFee","params":{"blocks":[2,5,10,20]}}
Response: 200
{
"id": "11",
"data": [
{
"feePerUnit": "50206460"
},
{
"feePerUnit": "5058386"
},
{
"feePerUnit": "5058386"
},
{
"feePerUnit": "5058386"
}
]
}
Send transaction
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"1","method":"sendTransaction","params":{"hex":"01000000016cf335dcf956288c8accf502780cd7ee8cfe2ca196abb5318b4a43b382e9ca89000000006b483045022100ff5e0a663f2831a3178c2400bfcb889a002a5410d40269aae8b2e91fd383c0e902202ffc219665dc195f76cf6fc83de99966d6e493c5c81ab96fc0acc94bdbba922441210340b9ff8973614c195feaab1a04abbe7fc793a29070e489945cf9c8629ea04e5bffffffff0380969800000000001976a9140a0e2c484394a7698ac0bab399933d34bc0ff4da88ac903a9400000000001976a9140c77797d0fb9ebc22fde0536ff699a7a7faa44b388ac0000000000000000426a403d3a4253432e424e423a3078374233356645316366394341344344663538383863393439343946316164433531313932363931363a302f312f303a74643a373000000000"}}
Response: 200
{
"id": "1",
"data": {
"error": {
"message": "-25: Missing inputs"
}
}
}
Get fiat rates for timestamps
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"13","method":"getFiatRatesForTimestamps","params":{"timestamps":[1575288000,1575550800],"currencies":[""]}}
Response: 200
{
"id": "13",
"data": {
"tickers": [
{
"ts": 1575331200,
"rates": {
"aed": 0.00822585,
"ars": 0.13410495,
"aud": 0.0032846227,
"bdt": 0.19016334,
"bhd": 0.0008443679,
"bmd": 0.0022394233,
"brl": 0.009458428,
"btc": 3.0651657e-7,
"cad": 0.0029798842,
"chf": 0.0022203121,
"clp": 1.8000454,
"cny": 0.015763974,
"czk": 0.05165286,
"dkk": 0.015105441,
"eth": 0.000015044684,
"eur": 0.002021738,
"gbp": 0.0017307115,
"hkd": 0.017531438,
"huf": 0.6716531,
"idr": 31.6381,
"ils": 0.007777741,
"inr": 0.16042131,
"jpy": 0.24415666,
"krw": 2.6532688,
"kwd": 0.0006809728,
"lkr": 0.40610906,
"mmk": 3.3745248,
"mxn": 0.043851044,
"myr": 0.009358102,
"ngn": 0.81206334,
"nok": 0.020536397,
"nzd": 0.0034463808,
"php": 0.11427777,
"pkr": 0.34771958,
"pln": 0.008668015,
"rub": 0.14378509,
"sar": 0.008397813,
"sek": 0.02137232,
"sgd": 0.0030606042,
"thb": 0.06777599,
"try": 0.012859665,
"twd": 0.06818596,
"uah": 0.05366155,
"usd": 0.0022394233,
...
Get fiat rates for tickers list
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"15","method":"getFiatRatesTickersList","params":{"timestamp":1676591569}}
Response: 200
{
"id": "15",
"data": {
"ts": 1676592000,
"available_currencies": [
"aed",
"ars",
"aud",
"bdt",
"bhd",
"bmd",
"brl",
"btc",
"cad",
"chf",
"clp",
"cny",
"czk",
"dkk",
"eth",
"eur",
"gbp",
"hkd",
"huf",
"idr",
"ils",
"inr",
"jpy",
"krw",
"kwd",
"lkr",
"mmk",
"mxn",
"myr",
"ngn",
"nok",
"nzd",
"php",
"pkr",
"pln",
"rub",
"sar",
"sek",
"sgd",
"thb",
"try",
"twd",
"uah",
"usd",
"vef",
...
Get current fiat rates
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"6","method":"getCurrentFiatRates","params":{"currencies":[""]}}
Response: 200
{
"id": "6",
"data": {
"ts": 1713531610,
"rates": {
"aed": 0.559573,
"ars": 132.52,
"aud": 0.237254,
"bdt": 16.72,
"bhd": 0.057435,
"bmd": 0.152361,
"brl": 0.800201,
"btc": 0.00000235,
"cad": 0.209563,
"chf": 0.138302,
"clp": 146.77,
"cny": 1.1,
"czk": 3.61,
"dkk": 1.066,
"eth": 0.00004916,
"eur": 0.142842,
"gbp": 0.122356,
"hkd": 1.19,
"huf": 56.36,
"idr": 2472.94,
"ils": 0.572994,
"inr": 12.71,
"jpy": 23.54,
"krw": 209.86,
"kwd": 0.04696868,
"lkr": 46.02,
"mmk": 319.98,
"mxn": 2.62,
"myr": 0.72882,
"ngn": 197.61,
"nok": 1.68,
"nzd": 0.258426,
"php": 8.77,
"pkr": 42.41,
"pln": 0.617659,
"rub": 14.2,
"sar": 0.571575,
"sek": 1.66,
"sgd": 0.207377,
"thb": 5.62,
"try": 4.97,
"twd": 4.95,
"uah": 6.06,
"usd": 0.152361,
"vef": 0.01525592,
"vnd": 3876.87,
"zar": 2.92
}
}
}
Subscribe new block
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"16","method":"subscribeNewBlock","params":{}}
Response: 200
{
"id": "17",
"data": {
"subscribed": true
}
}
Unsubscribe new block
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"16","method":"unsubscribeNewBlock","params":{}}
Response: 200
{
"id": "16",
"data": {
"subscribed": false
}
}
Subscribe new transaction
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"17","method":"subscribeNewTransaction","params":{}}
Response: 200
{
"id": "17",
"data": {
"subscribed": true
}
}
Unsubscribe new transaction
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"17","method":"unsubscribeNewTransaction","params":{}}
Response: 200
{
"id": "17",
"data": {
"subscribed": false
}
}
Subscribe address
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"18","method":"subscribeAddresses","params":{"addresses":["bc1qrhsext2jjaczc26etu58fry28ycatznn2zv706","bc1pvan3ka9p3fqln8277hp0m9qts4h7qpcupvz3z2s0v9687tfulcfs9aydm5"]}}
Response: 200
{
"id": "18",
"data": {
"subscribed": true
}
}
Unsubscribe address
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"18","method":"unsubscribeAddresses","params":{}}
Response: 200
{
"id": "18",
"data": {
"subscribed": false
}
}
Subscribe new fiat rates
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"19","method":"subscribeFiatRates","params":{"currency":"usd"}}
Response: 200
{
"id": "19",
"data": {
"subscribed": true
}
}
Unsubscribe new fiat rates
wss://dogebook.nownodes.io/wss/{{api_key}}
Body
{"id":"19","method":"unsubscribeFiatRates","params":{}}
Response: 200
{
"id": "19",
"data": {
"subscribed": false
}
}
Last updated