ARB Blockbook WSS
Get Info
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"2","method":"getInfo","params":{}}
Response: 200
{
"id": "2",
"data": {
"name": "Arbitrum",
"shortcut": "ETH",
"decimals": 18,
"version": "devel",
"bestHeight": 190576073,
"bestHash": "0xf21dc0ba32642f65b312edfb6d2704ef9c6d33f719849b4830470b719b528745",
"block0Hash": "0x7ee576b35482195fc49205cec9af72ce14f003b9ae69f6ba0faef4514be8b442",
"testnet": false,
"backend": {
"version": "nitro/v2.3.1-26fad6f/linux-amd64/go1.20.14"
}
}
}
Ping
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"3","method":"ping","params":{}}
Response: 200
{
"id": "3",
"data": {}
}
Get block hash
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"4","method":"getBlockHash","params":{"height":1000000}}
Response: 200
{
"id": "4",
"data": {
"hash": "0x9159189758a2da07865965cf0a5c39136ffac9d172d18c9b64a7c8e61841feea"
}
}
Get account info
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{
"id": "5",
"method": "getAccountInfo",
"params": {
"descriptor": "0xba98d6a5ac827632e3457de7512d211e4ff7e8bd",
"details": "basic",
"tokens": "derived",
"page": null,
"pageSize": 10,
"from": null,
"to": null,
"contractFilter": ""
}
}
Response: 200
{
"id": "5",
"data": {
"address": "0xba98D6a5ac827632E3457De7512d211e4ff7e8bD",
"balance": "0",
"unconfirmedBalance": "0",
"unconfirmedTxs": 0,
"txs": 0,
"nonce": "0"
}
}
Get balance history
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{
"id": "7",
"method": "getBalanceHistory",
"params": {
"descriptor": "0x00008eb96bbe046aee645d8933adf151c4b7b614",
"from": null,
"to": null,
"currencies": [
""
],
"groupBy": null
}
}
Response: 200
{
"id": "7",
"data": [
{
"time": 1710158400,
"txs": 1,
"received": "0",
"sent": "180279909685508",
"sentToSelf": "0"
},
{
"time": 1710162000,
"txs": 3,
"received": "0",
"sent": "711100890525281",
"sentToSelf": "0"
},
{
"time": 1710165600,
"txs": 2,
"received": "0",
"sent": "557348176082120",
"sentToSelf": "0"
},
{
"time": 1710169200,
"txs": 1,
"received": "0",
"sent": "369537580738008",
"sentToSelf": "0"
},
{
"time": 1710172800,
"txs": 8,
"received": "0",
"sent": "7317761148891618",
"sentToSelf": "0"
},
{
"time": 1710176400,
"txs": 9,
"received": "0",
"sent": "21032502885622945",
"sentToSelf": "0"
},
{
"time": 1710180000,
"txs": 2,
"received": "0",
"sent": "416830647503734",
"sentToSelf": "0"
},
{
"time": 1710183600,
"txs": 6,
"received": "0",
"sent": "1920165078911830",
"sentToSelf": "0"
},
{
"time": 1710187200,
"txs": 2,
"received": "0",
"sent": "335878579952549",
"sentToSelf": "0"
},
{
"time": 1710190800,
"txs": 4,
"received": "0",
"sent": "7218397603989054",
"sentToSelf": "0"
},
{
"time": 1710194400,
"txs": 3,
"received": "0",
"sent": "446227428355510",
"sentToSelf": "0"
},
{
"time": 1710201600,
"txs": 6,
"received": "0",
"sent": "1648250700684914",
"sentToSelf": "0"
},
{
"time": 1710205200,
"txs": 6,
"received": "0",
"sent": "1260108998841893",
"sentToSelf": "0"
},
{
"time": 1710208800,
"txs": 2,
"received": "0",
"sent": "332973449229747",
"sentToSelf": "0"
},
{
"time": 1710212400,
"txs": 10,
"received": "0",
"sent": "2485520961433302",
"sentToSelf": "0"
},
{
"time": 1710216000,
"txs": 5,
"received": "0",
"sent": "1021496579684443",
"sentToSelf": "0"
},
{
"time": 1710219600,
"txs": 3,
"received": "0",
"sent": "1238164039925784",
"sentToSelf": "0"
},
{
"time": 1710223200,
"txs": 9,
"received": "0",
"sent": "1159000985379841",
"sentToSelf": "0"
},
{
"time": 1710226800,
"txs": 2,
"received": "0",
"sent": "1843221872791858",
"sentToSelf": "0"
},
{
"time": 1710230400,
"txs": 15,
"received": "0",
"sent": "3624554002061345",
"sentToSelf": "0"
},
{
"time": 1710234000,
"txs": 3,
"received": "0",
"sent": "877725346761463",
"sentToSelf": "0"
},
{
"time": 1710237600,
"txs": 6,
"received": "0",
"sent": "755412601843660",
"sentToSelf": "0"
},
{
"time": 1710241200,
"txs": 11,
"received": "0",
"sent": "2669563136474233",
"sentToSelf": "0"
},
{
"time": 1710244800,
"txs": 21,
"received": "0",
"sent": "5469453625048411",
"sentToSelf": "0"
},
{
"time": 1710248400,
"txs": 9,
"received": "0",
"sent": "2183573100900452",
"sentToSelf": "0"
},
{
"time": 1710252000,
"txs": 15,
"received": "0",
"sent": "2772515174215609",
"sentToSelf": "0"
},
{
"time": 1710255600,
"txs": 13,
"received": "0",
"sent": "5530456614818886",
"sentToSelf": "0"
},
{
"time": 1710259200,
"txs": 26,
"received": "0",
"sent": "7114185196385800",
"sentToSelf": "0"
},
{
"time": 1710262800,
"txs": 38,
"received": "0",
"sent": "16618001084779241",
"sentToSelf": "0"
},
{
"time": 1710266400,
"txs": 4,
"received": "0",
"sent": "1393437761652914",
"sentToSelf": "0"
},
{
"time": 1710270000,
"txs": 2,
"received": "0",
"sent": "485557454727205",
"sentToSelf": "0"
},
{
"time": 1710273600,
"txs": 8,
"received": "0",
"sent": "1732684727074454",
"sentToSelf": "0"
},
{
"time": 1710277200,
"txs": 4,
"received": "0",
"sent": "3478682783221544",
"sentToSelf": "0"
},
{
"time": 1710280800,
"txs": 3,
"received": "0",
"sent": "609695285473963",
"sentToSelf": "0"
},
{
"time": 1710284400,
"txs": 2,
"received": "0",
"sent": "273239827046372",
"sentToSelf": "0"
},
{
"time": 1710288000,
"txs": 6,
"received": "0",
"sent": "805856378341524",
"sentToSelf": "0"
},
{
"time": 1710291600,
"txs": 4,
"received": "0",
"sent": "527697459064738",
"sentToSelf": "0"
},
{
"time": 1710295200,
"txs": 2,
"received": "0",
"sent": "313086455783596",
"sentToSelf": "0"
},
{
"time": 1710298800,
"txs": 9,
"received": "0",
"sent": "1173884075104792",
"sentToSelf": "0"
},
{
"time": 1710302400,
"txs": 7,
"received": "0",
"sent": "4635477557494016",
"sentToSelf": "0"
},
{
"time": 1710306000,
"txs": 1,
"received": "0",
"sent": "118648720113330",
"sentToSelf": "0"
},
{
"time": 1710309600,
"txs": 7,
"received": "0",
"sent": "1759340707798972",
"sentToSelf": "0"
},
{
"time": 1710313200,
"txs": 9,
"received": "0",
"sent": "2114837898934235",
"sentToSelf": "0"
},
{
"time": 1710316800,
"txs": 13,
"received": "0",
"sent": "2545344341187749",
"sentToSelf": "0"
},
{
"time": 1710320400,
"txs": 23,
"received": "0",
"sent": "17332142814030374",
"sentToSelf": "0"
},
{
"time": 1710324000,
"txs": 4,
"received": "0",
"sent": "1555322493249106",
"sentToSelf": "0"
},
{
"time": 1710327600,
"txs": 3,
"received": "0",
"sent": "873225083551001",
"sentToSelf": "0"
},
{
"time": 1710331200,
"txs": 19,
"received": "0",
"sent": "4223337615957063",
"sentToSelf": "0"
},
{
"time": 1710334800,
"txs": 23,
"received": "0",
"sent": "5827666233123637",
"sentToSelf": "0"
},
{
"time": 1710338400,
"txs": 22,
"received": "0",
"sent": "5275144139553168",
"sentToSelf": "0"
},
{
"time": 1710342000,
"txs": 14,
"received": "0",
"sent": "3693401093335734",
"sentToSelf": "0"
},
{
"time": 1710345600,
"txs": 4,
"received": "0",
"sent": "922956322474772",
"sentToSelf": "0"
},
{
"time": 1710349200,
"txs": 7,
"received": "0",
"sent": "1751564915315299",
"sentToSelf": "0"
},
{
"time": 1710352800,
"txs": 1,
"received": "0",
"sent": "387417070410665",
"sentToSelf": "0"
},
{
"time": 1710356400,
"txs": 4,
"received": "0",
"sent": "754362427501654",
"sentToSelf": "0"
},
{
"time": 1710360000,
"txs": 3,
"received": "0",
"sent": "1532186853542129",
"sentToSelf": "0"
},
{
"time": 1710363600,
"txs": 2,
"received": "0",
"sent": "1091934952032472",
"sentToSelf": "0"
},
{
"time": 1710367200,
"txs": 3,
"received": "0",
"sent": "589630705435198",
"sentToSelf": "0"
},
{
"time": 1710370800,
"txs": 5,
"received": "0",
"sent": "1705618599453779",
"sentToSelf": "0"
},
{
"time": 1710374400,
"txs": 3,
"received": "0",
"sent": "917388448937763",
"sentToSelf": "0"
},
{
"time": 1710378000,
"txs": 7,
"received": "0",
"sent": "1126023240484866",
"sentToSelf": "0"
},
{
"time": 1710381600,
"txs": 5,
"received": "0",
"sent": "1466082976682801",
"sentToSelf": "0"
},
{
"time": 1710385200,
"txs": 2,
"received": "0",
"sent": "10806545958440309",
"sentToSelf": "0"
},
{
"time": 1710388800,
"txs": 7,
"received": "0",
"sent": "1065844039089744",
"sentToSelf": "0"
},
{
"time": 1710392400,
"txs": 2,
"received": "0",
"sent": "270611469474340",
"sentToSelf": "0"
},
{
"time": 1710396000,
"txs": 4,
"received": "0",
"sent": "630478858710948",
"sentToSelf": "0"
},
{
"time": 1710399600,
"txs": 3,
"received": "0",
"sent": "411282493014466",
"sentToSelf": "0"
},
{
"time": 1710403200,
"txs": 2,
"received": "0",
"sent": "721072976935284",
"sentToSelf": "0"
},
{
"time": 1710406800,
"txs": 7,
"received": "0",
"sent": "1038423352333020",
"sentToSelf": "0"
},
{
"time": 1710410400,
"txs": 10,
"received": "0",
"sent": "6410521480850669",
"sentToSelf": "0"
},
{
"time": 1710414000,
"txs": 6,
"received": "0",
"sent": "967376705641009",
"sentToSelf": "0"
},
{
"time": 1710417600,
"txs": 10,
"received": "0",
"sent": "13923116829332214",
"sentToSelf": "0"
},
{
"time": 1710421200,
"txs": 30,
"received": "0",
"sent": "7220831280429620",
"sentToSelf": "0"
},
{
"time": 1710424800,
"txs": 23,
"received": "0",
"sent": "7080930681803827",
"sentToSelf": "0"
},
{
"time": 1710428400,
"txs": 44,
"received": "0",
"sent": "5159218725629918",
"sentToSelf": "0"
},
{
"time": 1710432000,
"txs": 60,
"received": "0",
"sent": "10364749794230067",
"sentToSelf": "0"
},
{
"time": 1710435600,
"txs": 23,
"received": "0",
"sent": "8674879360815585",
"sentToSelf": "0"
},
{
"time": 1710439200,
"txs": 65,
"received": "0",
"sent": "20840296474381507",
"sentToSelf": "0"
},
{
"time": 1710442800,
"txs": 80,
"received": "0",
"sent": "23882119864566560",
"sentToSelf": "0"
},
{
"time": 1710446400,
"txs": 25,
"received": "0",
"sent": "2289528226891149",
"sentToSelf": "0"
},
{
"time": 1710450000,
"txs": 19,
"received": "0",
"sent": "2661470269787345",
"sentToSelf": "0"
},
{
"time": 1710453600,
"txs": 10,
"received": "0",
"sent": "909266857522978",
"sentToSelf": "0"
},
{
"time": 1710457200,
"txs": 8,
"received": "0",
"sent": "1691736754346962",
"sentToSelf": "0"
},
{
"time": 1710460800,
"txs": 13,
"received": "0",
"sent": "1538794406191880",
"sentToSelf": "0"
},
{
"time": 1710464400,
"txs": 13,
"received": "0",
"sent": "1302501848701126",
"sentToSelf": "0"
},
{
"time": 1710468000,
"txs": 57,
"received": "0",
"sent": "7137525871082012",
"sentToSelf": "0"
},
{
"time": 1710471600,
"txs": 47,
"received": "0",
"sent": "6552201015527404",
"sentToSelf": "0"
},
{
"time": 1710475200,
"txs": 83,
"received": "0",
"sent": "11068361535966645",
"sentToSelf": "0"
},
{
"time": 1710478800,
"txs": 32,
"received": "0",
"sent": "2743885669872223",
"sentToSelf": "0"
},
{
"time": 1710482400,
"txs": 31,
"received": "0",
"sent": "3849649178748214",
"sentToSelf": "0"
},
{
"time": 1710486000,
"txs": 23,
"received": "0",
"sent": "10690629064299170",
"sentToSelf": "0"
},
{
"time": 1710489600,
"txs": 55,
"received": "0",
"sent": "5459945980167387",
"sentToSelf": "0"
},
{
"time": 1710493200,
"txs": 32,
"received": "0",
"sent": "5244225477501343",
"sentToSelf": "0"
}
]
}
Get transaction
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"9","method":"getTransaction","params":{"txid":"0xdc18ac078e20f5ce8ee72004c89400ffa4bee67e8aa292dce69f5978dce84532"}}
Response: 200
{
"id": "9",
"data": {
"txid": "0xdc18ac078e20f5ce8ee72004c89400ffa4bee67e8aa292dce69f5978dce84532",
"vin": [
{
"n": 0,
"addresses": [
"0xe93685f3bBA03016F02bD1828BaDD6195988D950"
],
"isAddress": true
}
],
"vout": [
{
"value": "0",
"n": 0,
"addresses": [
"0x177d36dBE2271A4DdB2Ad8304d82628eb921d790"
],
"isAddress": true
}
],
"blockHash": "0xc2bacfa81ab16ebef5ae29de5ba563d95df06b708aed291bd8bd2c0ef3eb74ec",
"blockHeight": 190584384,
"confirmations": 1651,
"blockTime": 1710495125,
"value": "0",
"fees": "131184967392000",
"tokenTransfers": [
{
"type": "ERC20",
"from": "0x816f722424B49Cf1275cc86DA9840Fbd5a6167e9",
"to": "0x83d061489bd80Bc6d3895644B39b72654719bf43",
"contract": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"name": "USD Coin",
"symbol": "USDC",
"decimals": 6,
"value": "141400000"
}
],
"ethereumSpecific": {
"status": 1,
"nonce": 9777499,
"gasLimit": 3200000,
"gasUsed": 603116,
"gasPrice": "217512000",
"l1Fee": "39555862272000",
"l1GasUsed": 181856,
"l1BlockNumber": 19439469,
"data": "0x252f7b0100000000000000000000000000000000000000000000000000000000000000d5000000000000000000000000173b47edbeca665125edc24c509bfe545cda60a90000000000000000000000000000000000000000000000000000000000061a80d6f3c2508e347fce2d8c2b9f5c8a62902e3332c8711fd53cea0dcae75ed1c672d6f3c2508e347fce2d8c2b9f5c8a62902e3332c8711fd53cea0dcae75ed1c67200000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000003b400000000000000000000000038de71124f7a447a01d67945a51edce9ff491251000000000001565300d5173b47edbeca665125edc24c509bfe545cda60a9006e173b47edbeca665125edc24c509bfe545cda60a9000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0a07a78c7d31e6f8698f48fc9219f9a3030f38c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000123000000000000000000000000000000000000000000000000000000000000a4b100000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000088c1c4000000000000000000000000000000000000000000000000000000000001e8480000000000000000000000000000000000000000000000000000000000000a4b12cf54640a61d19292fded49db06dc0ecc53c679a212e2fb1dbd106ca390a695ceaf1f5d2254155a3c701ec98332f3d9ac94ed4bf1229520df102c52d86bd050c5c1e754b75c77931e33efc56649f273b843c5143c9d391d6d90aaa65a0930455000000000000000000000000000000000000000000000000000000000000001b00000000000000000000000083d061489bd80bc6d3895644b39b72654719bf43000000000000000000000000000000000000000000000000000000000000000100000000000000000000000083d061489bd80bc6d3895644b39b72654719bf430000000000000000000000000000000000000000000000000000018e4170ff4500000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000009776f6f66695f70726f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000000000000000000000000000",
"parsedData": {
"methodId": "0x252f7b01",
"name": ""
}
}
}
}
Get transaction specific
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"10","method":"getTransactionSpecific","params":{"txid":"0xdc18ac078e20f5ce8ee72004c89400ffa4bee67e8aa292dce69f5978dce84532"}}
Response: 200
{
"id": "10",
"data": {
"tx": {
"nonce": "0x95315b",
"gasPrice": "0xcf6f840",
"gas": "0x30d400",
"to": "0x177d36dBE2271A4DdB2Ad8304d82628eb921d790",
"value": "0x0",
"input": "0x252f7b0100000000000000000000000000000000000000000000000000000000000000d5000000000000000000000000173b47edbeca665125edc24c509bfe545cda60a90000000000000000000000000000000000000000000000000000000000061a80d6f3c2508e347fce2d8c2b9f5c8a62902e3332c8711fd53cea0dcae75ed1c672d6f3c2508e347fce2d8c2b9f5c8a62902e3332c8711fd53cea0dcae75ed1c67200000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000003b400000000000000000000000038de71124f7a447a01d67945a51edce9ff491251000000000001565300d5173b47edbeca665125edc24c509bfe545cda60a9006e173b47edbeca665125edc24c509bfe545cda60a9000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0a07a78c7d31e6f8698f48fc9219f9a3030f38c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000123000000000000000000000000000000000000000000000000000000000000a4b100000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000088c1c4000000000000000000000000000000000000000000000000000000000001e8480000000000000000000000000000000000000000000000000000000000000a4b12cf54640a61d19292fded49db06dc0ecc53c679a212e2fb1dbd106ca390a695ceaf1f5d2254155a3c701ec98332f3d9ac94ed4bf1229520df102c52d86bd050c5c1e754b75c77931e33efc56649f273b843c5143c9d391d6d90aaa65a0930455000000000000000000000000000000000000000000000000000000000000001b00000000000000000000000083d061489bd80bc6d3895644b39b72654719bf43000000000000000000000000000000000000000000000000000000000000000100000000000000000000000083d061489bd80bc6d3895644b39b72654719bf430000000000000000000000000000000000000000000000000000018e4170ff4500000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000009776f6f66695f70726f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000000000000000000000000000",
"hash": "0xdc18ac078e20f5ce8ee72004c89400ffa4bee67e8aa292dce69f5978dce84532",
"blockNumber": "0xb5c1640",
"blockHash": "0xc2bacfa81ab16ebef5ae29de5ba563d95df06b708aed291bd8bd2c0ef3eb74ec",
"from": "0xe93685f3bBA03016F02bD1828BaDD6195988D950",
"transactionIndex": "0x4"
},
"receipt": {
"gasUsed": "0x933ec",
"status": "0x1",
"logs": [
{
"address": "0x4D73AdB72bC3DD368966edD0f0b2148401A178E2",
"topics": [
"0x2bd2d8a84b748439fd50d79a49502b4eb5faa25b864da6a9ab5c150704be9a4d",
"0x00000000000000000000000000000000000000000000000000000000000000d5",
"0x000000000000000000000000173b47edbeca665125edc24c509bfe545cda60a9"
],
"data": "0x00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000015653072df499efee4e0f1943cd5624e0c1b14d1c079f39828edea1983db29bb767760000000000000000000000000000000000000000000000000000000000000014173b47edbeca665125edc24c509bfe545cda60a9000000000000000000000000"
},
{
"address": "0x173B47eDBeCa665125edc24C509bfE545CDA60a9",
"topics": [
"0xaa94d9569e3433bf82e1bc5e7538f0daf5888f56b8a72f11b46bdd1389f9e8c6"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000001"
},
{
"address": "0x173B47eDBeCa665125edc24C509bfE545CDA60a9",
"topics": [
"0xe9bfff0ce8cf616f88426fbf0d63e946ca8b38be00435b3a5f231d98c24988ca"
],
"data": "0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0a07a78c7d31e6f8698f48fc9219f9a3030f38c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000123000000000000000000000000000000000000000000000000000000000000a4b100000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000088c1c4000000000000000000000000000000000000000000000000000000000001e8480000000000000000000000000000000000000000000000000000000000000a4b12cf54640a61d19292fded49db06dc0ecc53c679a212e2fb1dbd106ca390a695ceaf1f5d2254155a3c701ec98332f3d9ac94ed4bf1229520df102c52d86bd050c5c1e754b75c77931e33efc56649f273b843c5143c9d391d6d90aaa65a0930455000000000000000000000000000000000000000000000000000000000000001b00000000000000000000000083d061489bd80bc6d3895644b39b72654719bf43000000000000000000000000000000000000000000000000000000000000000100000000000000000000000083d061489bd80bc6d3895644b39b72654719bf430000000000000000000000000000000000000000000000000000018e4170ff4500000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000009776f6f66695f70726f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000"
},
{
"address": "0x177d36dBE2271A4DdB2Ad8304d82628eb921d790",
"topics": [
"0xdf21c415b78ed2552cc9971249e32a053abce6087a0ae0fbf3f78db5174a3493"
],
"data": "0x000000000000000000000000000000000000000000000000000002ca22c6af41"
},
{
"address": "0x4D73AdB72bC3DD368966edD0f0b2148401A178E2",
"topics": [
"0xb0c632f55f1e1b3b2c3d82f41ee4716bb4c00f0f5d84cdafc141581bb8757a4f"
],
"data": "0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002200010000000000000000000000000000000000000000000000000000000000030d40000000000000000000000000000000000000000000000000000000000000"
},
{
"address": "0xA0Cc33Dd6f4819D473226257792AFe230EC3c67f",
"topics": [
"0x4e41ee13e03cd5e0446487b524fdc48af6acf26c074dacdbdfb6b574b42c8146"
],
"data": "0x00000000000000000000000000000000000000000000000000000000000000d500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000014000000000000000000000000173b47edbeca665125edc24c509bfe545cda60a900000000000000000000000000000000000000000000000000000017d24a09e0"
},
{
"address": "0x4D73AdB72bC3DD368966edD0f0b2148401A178E2",
"topics": [
"0xe9bded5f24a4168e4f3bf44e00298c993b22376aad8c58c7dda9718a54cbea82"
],
"data": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002540000000000031466006e173b47edbeca665125edc24c509bfe545cda60a900d5173b47edbeca665125edc24c509bfe545cda60a9000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000a0a07a78c7d31e6f8698f48fc9219f9a3030f38c000000000000000000000000a0a07a78c7d31e6f8698f48fc9219f9a3030f38c000000000000000000000000000000000000000000000000000000000000a4b10000000000000000000000000000000000000000000000000000000000000123000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001002cf54640a61d19292fded49db06dc0ecc53c679a212e2fb1dbd106ca390a695c6ca2f644ef7bd6d75953318c7f2580014941e753b3c6d54da56b3bf75dd14dfcd6aca1be9729c13d677335161321649cccae6a591554772516700f986f942eaa00000000000000000000000000000000000000000000000000000000088c1c4000000000000000000000000000000000000000000000000000000000001e848000000000000000000000000083d061489bd80bc6d3895644b39b72654719bf4300000000000000000000000083d061489bd80bc6d3895644b39b72654719bf430000000000000000000000000000000000000000000000000000000000000001000000000000000000000000"
},
{
"address": "0x173B47eDBeCa665125edc24C509bfE545CDA60a9",
"topics": [
"0xc48902bcedcd43e775943404128335d3d202897bed101087f8b7bebf26bb7903"
],
"data": "0x000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000a0a07a78c7d31e6f8698f48fc9219f9a3030f38c000000000000000000000000a0a07a78c7d31e6f8698f48fc9219f9a3030f38c000000000000000000000000000000000000000000000000000000000000a4b10000000000000000000000000000000000000000000000000000000000000123000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001002cf54640a61d19292fded49db06dc0ecc53c679a212e2fb1dbd106ca390a695c6ca2f644ef7bd6d75953318c7f2580014941e753b3c6d54da56b3bf75dd14dfcd6aca1be9729c13d677335161321649cccae6a591554772516700f986f942eaa00000000000000000000000000000000000000000000000000000000088c1c4000000000000000000000000000000000000000000000000000000000001e848000000000000000000000000083d061489bd80bc6d3895644b39b72654719bf4300000000000000000000000083d061489bd80bc6d3895644b39b72654719bf430000000000000000000000000000000000000000000000000000000000000001"
},
{
"address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000816f722424b49cf1275cc86da9840fbd5a6167e9",
"0x00000000000000000000000083d061489bd80bc6d3895644b39b72654719bf43"
],
"data": "0x00000000000000000000000000000000000000000000000000000000086d97c0"
},
{
"address": "0x816f722424B49Cf1275cc86DA9840Fbd5a6167e9",
"topics": [
"0x732a6fe7863c74cbd74d2f2b1e3c27304465e354a9d38f03bf10c8436a70aa27",
"0x2cf54640a61d19292fded49db06dc0ecc53c679a212e2fb1dbd106ca390a695c",
"0x0000000000000000000000000000000000000000000000000000000000000001"
],
"data": "0x6ca2f644ef7bd6d75953318c7f2580014941e753b3c6d54da56b3bf75dd14dfc00000000000000000000000083d061489bd80bc6d3895644b39b72654719bf4300000000000000000000000083d061489bd80bc6d3895644b39b72654719bf43d6aca1be9729c13d677335161321649cccae6a591554772516700f986f942eaa00000000000000000000000000000000000000000000000000000000088c1c4000000000000000000000000000000000000000000000000000000000001e8480"
}
],
"gasUsedForL1": "0x2c660",
"l1BlockNumber": "0x1289f6d"
}
}
}
Estimate fee
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"11","method":"estimateFee","params":{"blocks":[2,5,10,20]}}
Response: 200
{
"id": "11",
"data": [
{
"feePerTx": "11481600000000",
"feePerUnit": "100000000",
"feeLimit": "114816"
},
{
"feePerTx": "1318271385600000000",
"feePerUnit": "11481600000000",
"feeLimit": "114816"
},
{
"feePerTx": "151358647409049600000000",
"feePerUnit": "1318271385600000000",
"feeLimit": "114816"
},
{
"feePerTx": "17378394460917438873600000000",
"feePerUnit": "151358647409049600000000",
"feeLimit": "114816"
}
]
}
Send transaction
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"1","method":"sendTransaction","params":{"hex":"010000000001019d64f0c72a0d206001decbffaa722eb1044534c74eee7a5df8318e42a4323ec10000000017160014550da1f5d25a9dae2eafd6902b4194c4c6500af6ffffffff02809698000000000017a914cd668d781ece600efa4b2404dc91fd26b8b8aed8870553d7360000000017a914246655bdbd54c7e477d0ea2375e86e0db2b8f80a8702473044022076aba4ad559616905fa51d4ddd357fc1fdb428d40cb388e042cdd1da4a1b7357022011916f90c712ead9a66d5f058252efd280439ad8956a967e95d437d246710bc9012102a80a5964c5612bb769ef73147b2cf3c149bc0fd4ecb02f8097629c94ab013ffd00000000"}}
Response: 200
{
"id": "1",
"data": {
"error": {
"message": "invalid argument 0: json: cannot unmarshal hex string without 0x prefix into Go value of type hexutil.Bytes"
}
}
}
Get fiat rates for timestamps
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"13","method":"getFiatRatesForTimestamps","params":{"timestamps":[1575288000,1575550800],"currencies":[""]}}
Response: 200
{
"id": "13",
"data": {
"tickers": [
{
"ts": 1575288000,
"rates": {}
},
{
"ts": 1575550800,
"rates": {}
}
]
}
}
Get fiat rates for tickers list
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"15","method":"getFiatRatesTickersList","params":{"timestamp":1676591569}}
Response: 200
{
"id": "15",
"data": {
"error": {
"message": "No tickers found for date 2023-02-16 23:52:49 +0000 UTC."
}
}
}
Get current fiat rates
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"6","method":"getCurrentFiatRates","params":{"currencies":[""]}}
Response: 200
{
"id": "6",
"data": {
"error": {
"message": "No tickers found!"
}
}
}
Get subscribe new block
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"16","method":"subscribeNewBlock","params":{}}
Response: 200
{
"id": "17",
"data": {
"subscribed": true
}
}
Subscribe new block
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"16","method":"unsubscribeNewBlock","params":{}}
Response: 200
{
"id": "16",
"data": {
"subscribed": false
}
}
Subscribe new transaction
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"17","method":"subscribeNewTransaction","params":{}}
Response: 200
{
"id": "17",
"data": {
"subscribed": true
}
}
Unsubscribe new transaction
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"17","method":"unsubscribeNewTransaction","params":{}}
Response: 200
{
"id": "17",
"data": {
"subscribed": false
}
}
Subscribe address
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"18","method":"subscribeAddresses","params":{"addresses":["0xba98d6a5ac827632e3457de7512d211e4ff7e8bd","0x73d0385f4d8e00c5e6504c6030f47bf6212736a8"]}}
Response: 200
{
"id": "18",
"data": {
"subscribed": true
}
}
Unsubscribe address
wss://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"18","method":"unsubscribeAddresses","params":{}}
Response: 200
{
"id": "18",
"data": {
"subscribed": false
}
}
Subscribe new fiat rates
wss://arb-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://arb-blockbook.nownodes.io/wss/{{api_key}}
Body
{"id":"19","method":"unsubscribeFiatRates","params":{}}
Response: 200
{
"id": "19",
"data": {
"subscribed": false
}
}
Last updated