QTUM Blockbook WSS
Get Info
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"2","method":"getInfo","params":{}}
Response: 200
{
"id": "2",
"data": {
"name": "Qtum",
"shortcut": "QUTUM",
"network": "QUTUM",
"decimals": 8,
"version": "0.4.0",
"bestHeight": 4417864,
"bestHash": "2de4d563fcbf130237a095f9d8b4ef42f81816303cea6468bef4c0df46aa6f9e",
"block0Hash": "",
"testnet": false,
"backend": {
"version": "270100",
"subversion": "/Satoshi:27.1.0/"
}
}
}
Ping
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"3","method":"ping","params":{}}
Response: 200
{
"id": "3",
"data": {}
}
Get block hash
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"4","method":"getBlockHash","params":{"height":100000}}
Response: 200
{
"id": "4",
"data": {
"hash": "de1bbb38849c24c4d4593bcb2011af88fa9a64cc07029a549b1596e487257ff4"
}
}
Get account info
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{
"id": "5",
"method": "getAccountInfo",
"params": {
"descriptor": "QWDo2hDXU8EFutjmxwwN39GZHTY6QXcRYB",
"details": "basic",
"tokens": "derived",
"page": null,
"pageSize": 10,
"from": null,
"to": null,
"contractFilter": ""
}
}
Response: 200
{
"id": "5",
"data": {
"address": "QWDo2hDXU8EFutjmxwwN39GZHTY6QXcRYB",
"balance": "0",
"totalReceived": "66000000",
"totalSent": "66000000",
"unconfirmedBalance": "0",
"unconfirmedTxs": 0,
"txs": 2
}
}
Get balance history
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{
"id": "7",
"method": "getBalanceHistory",
"params": {
"descriptor": "QWDo2hDXU8EFutjmxwwN39GZHTY6QXcRYB",
"from": null,
"to": null,
"currencies": [
""
],
"groupBy": null
}
}
Response: 200
{
"id": "7",
"data": [
{
"time": 1734091200,
"txs": 1,
"received": "66000000",
"sent": "0",
"sentToSelf": "0",
"rates": {
"aed": 368700.9,
"ars": 102192020,
"aud": 157311.44,
"bdt": 11990921,
"bhd": 37843.105,
"bmd": 100381.56,
"brl": 606332.8,
"btc": 1.0013523,
"cad": 142694.7,
"chf": 89563.95,
"clp": 98194970,
"cny": 730193.06,
"czk": 2387769.8,
"dkk": 711739.1,
"eth": 25.574362,
"eur": 95448.91,
"gbp": 79255.03,
"hkd": 780456.94,
"huf": 39021560,
"idr": 1608248000,
"ils": 360243.5,
"inr": 8512828,
"jpy": 15409950,
"krw": 143886720,
"kwd": 30910.744,
"lkr": 29117804,
"mmk": 210599900,
"mxn": 2026660.9,
"myr": 446696.25,
"ngn": 155401250,
"nok": 1113845.2,
"nzd": 173847.78,
"php": 5882894.5,
"pkr": 27898460,
"pln": 407188.88,
"rub": 10390307,
"sar": 377176.38,
"sek": 1098795.9,
"sgd": 135233.62,
"thb": 3426214,
"try": 3508164.8,
"twd": 3260384,
"uah": 4180608,
"usd": 100381.56,
"vef": 10051.174,
"vnd": 2550337300,
"zar": 1795281.5
}
},
{
"time": 1734094800,
"txs": 1,
"received": "0",
"sent": "66000000",
"sentToSelf": "0",
"rates": {
"aed": 368319.66,
"ars": 102086350,
"aud": 157148.77,
"bdt": 11978521,
"bhd": 37803.973,
"bmd": 100277.76,
"brl": 605705.8,
"btc": 1.0003169,
"cad": 142547.14,
"chf": 89471.336,
"clp": 98093420,
"cny": 729438,
"czk": 2385300.5,
"dkk": 711003.2,
"eth": 25.547916,
"eur": 95350.195,
"gbp": 79173.07,
"hkd": 779649.9,
"huf": 38981210,
"idr": 1606585100,
"ils": 359870.97,
"inr": 8504025,
"jpy": 15394016,
"krw": 143737920,
"kwd": 30878.78,
"lkr": 29087692,
"mmk": 210382130,
"mxn": 2024565.1,
"myr": 446234.34,
"ngn": 155240560,
"nok": 1112693.4,
"nzd": 173668,
"php": 5876811.5,
"pkr": 27869610,
"pln": 406767.8,
"rub": 10379562,
"sar": 376786.3,
"sek": 1097659.6,
"sgd": 135093.78,
"thb": 3422671,
"try": 3504537,
"twd": 3257012.5,
"uah": 4176284.8,
"usd": 100277.76,
"vef": 10040.779,
"vnd": 2547700000,
"zar": 1793425
}
}
]
}
Get transaction
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"9","method":"getTransaction","params":{"txid":"52ba23857df19d0fc543238f369ae8a72a8501cade13f6e78113fa8bd7ec7504"}}
Response: 200
{
"id": "9",
"data": {
"txid": "52ba23857df19d0fc543238f369ae8a72a8501cade13f6e78113fa8bd7ec7504",
"version": 1,
"vin": [
{
"txid": "60a338c7bbb00048642323ebba35ddd1b932d0cd2e928e545fae02d3af3b6ac1",
"sequence": 4294967295,
"n": 0,
"addresses": [
"QWDo2hDXU8EFutjmxwwN39GZHTY6QXcRYB"
],
"isAddress": true,
"value": "66000000",
"hex": "473044022074fc431088b1d28bbe09f919f3fff30f85f41ff84ebcc2e4fbf0d8c92dc1832d022003775da7d7aee144899602af50c55d2effe91b7452b5d6e950f0829d5a8e02b10121039e92b0150b3bf4f64f77ba034b917f8d06283bd458df57508efef77160212736"
}
],
"vout": [
{
"value": "65807000",
"n": 0,
"hex": "76a914496079fe990d0ddc01c0c7f4dad8a8537ccf783988ac",
"addresses": [
"QTHy1cLdfbkU6kTDYsJcBkqhVs7om7WwQk"
],
"isAddress": true
}
],
"blockHash": "1554864baab7f465030525179d976df32d80fff3d35efda597ed0976eee6a4f3",
"blockHeight": 4417843,
"confirmations": 23,
"blockTime": 1734095484,
"size": 191,
"vsize": 191,
"value": "65807000",
"valueIn": "66000000",
"fees": "193000",
"hex": "0100000001c16a3bafd302ae5f548e922ecdd032b9d1dd35baeb2323644800b0bbc738a360000000006a473044022074fc431088b1d28bbe09f919f3fff30f85f41ff84ebcc2e4fbf0d8c92dc1832d022003775da7d7aee144899602af50c55d2effe91b7452b5d6e950f0829d5a8e02b10121039e92b0150b3bf4f64f77ba034b917f8d06283bd458df57508efef77160212736ffffffff019822ec03000000001976a914496079fe990d0ddc01c0c7f4dad8a8537ccf783988ac00000000"
}
}
Get transaction specific
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"10","method":"getTransactionSpecific","params":{"txid":"52ba23857df19d0fc543238f369ae8a72a8501cade13f6e78113fa8bd7ec7504"}}
Response: 200
{
"id": "10",
"data": {
"txid": "52ba23857df19d0fc543238f369ae8a72a8501cade13f6e78113fa8bd7ec7504",
"hash": "52ba23857df19d0fc543238f369ae8a72a8501cade13f6e78113fa8bd7ec7504",
"version": 1,
"size": 191,
"vsize": 191,
"weight": 764,
"locktime": 0,
"vin": [
{
"txid": "60a338c7bbb00048642323ebba35ddd1b932d0cd2e928e545fae02d3af3b6ac1",
"vout": 0,
"scriptSig": {
"asm": "3044022074fc431088b1d28bbe09f919f3fff30f85f41ff84ebcc2e4fbf0d8c92dc1832d022003775da7d7aee144899602af50c55d2effe91b7452b5d6e950f0829d5a8e02b1[ALL] 039e92b0150b3bf4f64f77ba034b917f8d06283bd458df57508efef77160212736",
"hex": "473044022074fc431088b1d28bbe09f919f3fff30f85f41ff84ebcc2e4fbf0d8c92dc1832d022003775da7d7aee144899602af50c55d2effe91b7452b5d6e950f0829d5a8e02b10121039e92b0150b3bf4f64f77ba034b917f8d06283bd458df57508efef77160212736"
},
"sequence": 4294967295
}
],
"vout": [
{
"value": 0.65807000,
"n": 0,
"scriptPubKey": {
"asm": "OP_DUP OP_HASH160 496079fe990d0ddc01c0c7f4dad8a8537ccf7839 OP_EQUALVERIFY OP_CHECKSIG",
"desc": "addr(QTHy1cLdfbkU6kTDYsJcBkqhVs7om7WwQk)#2v4fje80",
"hex": "76a914496079fe990d0ddc01c0c7f4dad8a8537ccf783988ac",
"address": "QTHy1cLdfbkU6kTDYsJcBkqhVs7om7WwQk",
"type": "pubkeyhash"
}
}
],
"hex": "0100000001c16a3bafd302ae5f548e922ecdd032b9d1dd35baeb2323644800b0bbc738a360000000006a473044022074fc431088b1d28bbe09f919f3fff30f85f41ff84ebcc2e4fbf0d8c92dc1832d022003775da7d7aee144899602af50c55d2effe91b7452b5d6e950f0829d5a8e02b10121039e92b0150b3bf4f64f77ba034b917f8d06283bd458df57508efef77160212736ffffffff019822ec03000000001976a914496079fe990d0ddc01c0c7f4dad8a8537ccf783988ac00000000",
"blockhash": "1554864baab7f465030525179d976df32d80fff3d35efda597ed0976eee6a4f3",
"confirmations": 23,
"time": 1734095484,
"blocktime": 1734095484
}
}
Estimate fee
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"11","method":"estimateFee","params":{"blocks":[2,5,10,20]}}
Response: 200
{
"id": "11",
"data": [
{
"feePerUnit": "997555"
},
{
"feePerUnit": "997555"
},
{
"feePerUnit": "997555"
},
{
"feePerUnit": "997555"
}
]
}
Send transaction
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"1","method":"sendTransaction","params":{"hex":"010000000001019d64f0c72a0d206001decbffaa722eb1044534c74eee7a5df8318e42a4323ec10000000017160014550da1f5d25a9dae2eafd6902b4194c4c6500af6ffffffff02809698000000000017a914cd668d781ece600efa4b2404dc91fd26b8b8aed8870553d7360000000017a914246655bdbd54c7e477d0ea2375e86e0db2b8f80a8702473044022076aba4ad559616905fa51d4ddd357fc1fdb428d40cb388e042cdd1da4a1b7357022011916f90c712ead9a66d5f058252efd280439ad8956a967e95d437d246710bc9012102a80a5964c5612bb769ef73147b2cf3c149bc0fd4ecb02f8097629c94ab013ffd00000000"}}
Response: 200
{
"id": "1",
"data": {
"error": {
"message": "-27: Transaction already in block chain"
}
}
}
Get fiat rates for timestamps
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"13","method":"getFiatRatesForTimestamps","params":{"timestamps":[1575288000,1575550800],"currencies":[""]}}
Response: 200
{
"id": "13",
"data": {
"tickers": [
{
"ts": 1734095701,
"rates": {
"aed": 368203,
"ars": 102054020,
"aud": 157099,
"bdt": 11974728,
"bhd": 37792,
"bmd": 100246,
"brl": 605514,
"btc": 1,
"cad": 142502,
"chf": 89443,
"clp": 98062360,
"cny": 729207,
"czk": 2384545,
"dkk": 710778,
"eth": 25.539825,
"eur": 95320,
"gbp": 79148,
"hkd": 779403,
"huf": 38968864,
"idr": 1606076200,
"ils": 359757,
"inr": 8501332,
"jpy": 15389140,
"krw": 143692400,
"kwd": 30869,
"lkr": 29078480,
"mmk": 210315500,
"mxn": 2023924,
"myr": 446093,
"ngn": 155191400,
"nok": 1112341,
"nzd": 173613,
"php": 5874950,
"pkr": 27860784,
"pln": 406639,
"rub": 10376275,
"sar": 376667,
"sek": 1097312,
"sgd": 135051,
"thb": 3421587,
"try": 3503427,
"twd": 3255981,
"uah": 4174962,
"usd": 100246,
"vef": 10037.6,
"vnd": 2546893000,
"zar": 1792857
}
},
{
"ts": 1734095701,
"rates": {
"aed": 368203,
"ars": 102054020,
"aud": 157099,
"bdt": 11974728,
"bhd": 37792,
"bmd": 100246,
"brl": 605514,
"btc": 1,
"cad": 142502,
"chf": 89443,
"clp": 98062360,
"cny": 729207,
"czk": 2384545,
"dkk": 710778,
"eth": 25.539825,
"eur": 95320,
"gbp": 79148,
"hkd": 779403,
"huf": 38968864,
"idr": 1606076200,
"ils": 359757,
"inr": 8501332,
"jpy": 15389140,
"krw": 143692400,
"kwd": 30869,
"lkr": 29078480,
"mmk": 210315500,
"mxn": 2023924,
"myr": 446093,
"ngn": 155191400,
"nok": 1112341,
"nzd": 173613,
"php": 5874950,
"pkr": 27860784,
"pln": 406639,
"rub": 10376275,
"sar": 376667,
"sek": 1097312,
"sgd": 135051,
"thb": 3421587,
"try": 3503427,
"twd": 3255981,
"uah": 4174962,
"usd": 100246,
"vef": 10037.6,
"vnd": 2546893000,
"zar": 1792857
}
}
]
}
}
Get fiat rates for tickers list
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"15","method":"getFiatRatesTickersList","params":{"timestamp":1676591569}}
Response: 200
{
"id": "15",
"data": {
"ts": 1734095701,
"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",
"vnd",
"zar"
]
}
}
Get current fiat rates
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"6","method":"getCurrentFiatRates","params":{"currencies":[""]}}
Response: 200
{
"id": "6",
"data": {
"ts": 1734095701,
"rates": {
"aed": 368203,
"ars": 102054020,
"aud": 157099,
"bdt": 11974728,
"bhd": 37792,
"bmd": 100246,
"brl": 605514,
"btc": 1,
"cad": 142502,
"chf": 89443,
"clp": 98062360,
"cny": 729207,
"czk": 2384545,
"dkk": 710778,
"eth": 25.539825,
"eur": 95320,
"gbp": 79148,
"hkd": 779403,
"huf": 38968864,
"idr": 1606076200,
"ils": 359757,
"inr": 8501332,
"jpy": 15389140,
"krw": 143692400,
"kwd": 30869,
"lkr": 29078480,
"mmk": 210315500,
"mxn": 2023924,
"myr": 446093,
"ngn": 155191400,
"nok": 1112341,
"nzd": 173613,
"php": 5874950,
"pkr": 27860784,
"pln": 406639,
"rub": 10376275,
"sar": 376667,
"sek": 1097312,
"sgd": 135051,
"thb": 3421587,
"try": 3503427,
"twd": 3255981,
"uah": 4174962,
"usd": 100246,
"vef": 10037.6,
"vnd": 2546893000,
"zar": 1792857
}
}
}
Subscribe new block
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"16","method":"subscribeNewBlock","params":{}}
Response: 200
{
"id": "16",
"data": {
"subscribed": true
}
}
Unsubscribe new block
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"16","method":"unsubscribeNewBlock","params":{}}
Response: 200
{
"id": "16",
"data": {
"subscribed": false
}
}
Subscribe new transaction
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"17","method":"subscribeNewTransaction","params":{}}
Response: 200
{
"id": "17",
"data": {
"subscribed": true
}
}
Unsubscribe new transaction
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"17","method":"unsubscribeNewTransaction","params":{}}
Response: 200
{
"id": "17",
"data": {
"subscribed": false
}
}
Subscribe address
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"18","method":"subscribeAddresses","params":{"addresses":["bc1qrhsext2jjaczc26etu58fry28ycatznn2zv706","bc1pvan3ka9p3fqln8277hp0m9qts4h7qpcupvz3z2s0v9687tfulcfs9aydm5"]}}
Response: 200
{
"id": "18",
"data": {
"subscribed": true
}
}
Unsubscribe address
wss://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"18","method":"unsubscribeAddresses","params":{}}
Response: 200
{
"id": "18",
"data": {
"subscribed": false
}
}
Subscribe new fiat rates
wss://qtum-blockbook.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://qtum-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"19","method":"unsubscribeFiatRates","params":{}}
Response: 200
{
"id": "19",
"data": {
"subscribed": false
}
}
Last updated