ARB Blockbook

Status

Status page returns current status of Blockbook and connected backend.

Method: GET

https://arb-blockbook.nownodes.io/api

Example response: 200

{
    "blockbook": {
        "coin": "Arbitrum",
        "host": "89f235a38756",
        "version": "devel",
        "gitCommit": "1ada959",
        "buildTime": "2023-05-12T10:15:54+00:00",
        "syncMode": true,
        "initialSync": false,
        "inSync": true,
        "bestHeight": 196233099,
        "lastBlockTime": "2024-03-31T20:08:34.931841299Z",
        "inSyncMempool": true,
        "lastMempoolTime": "2024-03-31T20:07:40.414748037Z",
        "mempoolSize": 0,
        "decimals": 18,
        "dbSize": 101851982807,
        "about": "Blockbook - blockchain indexer for Trezor Suite https://trezor.io/trezor-suite. Do not use for any other purpose."
    },
    "backend": {
        "chain": "mainnet",
        "blocks": 196233103,
        "bestBlockHash": "0xb1814a1968676169e3e34a74a1a33e7d8f5419f80412b4405ad15d6e683add75",
        "difficulty": "1",
        "version": "nitro/v2.3.3-6a1c1a7/linux-amd64/go1.20.14"
    }
}

Get block hash

Method: GET

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

Example response: 200

{
  "blockHash": "ed8f3af8c10ca70a136901c6dd3adf037f0aea8a93fbe9e80939214034300f1e"
}

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

Example response: 200

{
    "txid": "0xca9a78b08d81e3aebdc470d8075a5df86641df01044c9b6fc5480da5eb305a52",
    "vin": [
        {
            "n": 0,
            "addresses": [
                "0xf89d7b9c864f589bbF53a82105107622B35EaA40"
            ],
            "isAddress": true
        }
    ],
    "vout": [
        {
            "value": "0",
            "n": 0,
            "addresses": [
                "0x912CE59144191C1204E64559FE8253a0e49E6548"
            ],
            "isAddress": true
        }
    ],
    "blockHash": "0x9f5993b4533b59db4495d8305bfdef4bf7a1a638b76971fe120871164bbc3364",
    "blockHeight": 196216407,
    "confirmations": 17272,
    "blockTime": 1711911537,
    "value": "0",
    "fees": "245572000000000",
    "tokenTransfers": [
        {
            "type": "ERC20",
            "from": "0xf89d7b9c864f589bbF53a82105107622B35EaA40",
            "to": "0xE4C48c09833ee49BbEb71AD3D1b7c21DbB50aaf8",
            "contract": "0x912CE59144191C1204E64559FE8253a0e49E6548",
            "name": "Arbitrum",
            "symbol": "ARB",
            "decimals": 18,
            "value": "453125720000000000000"
        }
    ],
    "ethereumSpecific": {
        "status": 1,
        "nonce": 1712537,
        "gasLimit": 15000000,
        "gasUsed": 245572,
        "gasPrice": "1000000000",
        "l1Fee": "199361000000000",
        "l1GasUsed": 199361,
        "l1BlockNumber": 19555797,
        "data": "0xa9059cbb000000000000000000000000e4c48c09833ee49bbeb71ad3d1b7c21dbb50aaf80000000000000000000000000000000000000000000000189061f193b91d8000",
        "parsedData": {
            "methodId": "0xa9059cbb",
            "name": ""
        }
    }
}

Get transaction specific

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

Method: GET

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

Example response: 200

{
    "tx": {
        "nonce": "0x1a2199",
        "gasPrice": "0x3b9aca00",
        "gas": "0xe4e1c0",
        "to": "0x912CE59144191C1204E64559FE8253a0e49E6548",
        "value": "0x0",
        "input": "0xa9059cbb000000000000000000000000e4c48c09833ee49bbeb71ad3d1b7c21dbb50aaf80000000000000000000000000000000000000000000000189061f193b91d8000",
        "hash": "0xca9a78b08d81e3aebdc470d8075a5df86641df01044c9b6fc5480da5eb305a52",
        "blockNumber": "0xbb20657",
        "blockHash": "0x9f5993b4533b59db4495d8305bfdef4bf7a1a638b76971fe120871164bbc3364",
        "from": "0xf89d7b9c864f589bbF53a82105107622B35EaA40",
        "transactionIndex": "0x4"
    },
    "receipt": {
        "gasUsed": "0x3bf44",
        "status": "0x1",
        "logs": [
            {
                "address": "0x912CE59144191C1204E64559FE8253a0e49E6548",
                "topics": [
                    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                    "0x000000000000000000000000f89d7b9c864f589bbf53a82105107622b35eaa40",
                    "0x000000000000000000000000e4c48c09833ee49bbeb71ad3d1b7c21dbb50aaf8"
                ],
                "data": "0x0000000000000000000000000000000000000000000000189061f193b91d8000"
            }
        ],
        "gasUsedForL1": "0x30ac1",
        "l1BlockNumber": "0x12a65d5"
    }
}

Get address

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

Method: GET

https://arb-blockbook.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": 1,
    "itemsOnPage": 1000,
    "address": "0xE4C48c09833ee49BbEb71AD3D1b7c21DbB50aaf8",
    "balance": "0",
    "unconfirmedBalance": "0",
    "unconfirmedTxs": 0,
    "txs": 7,
    "txids": [
        "0xca9a78b08d81e3aebdc470d8075a5df86641df01044c9b6fc5480da5eb305a52",
        "0xa0f51f158d490be3591961b588febd3083c8d2ac7b32ed6cf8cc2edfccf3cf2d",
        "0xffa88b9589224f1d2cbe6afe94c73adcf35b42c826213da111de0f3f07664f77",
        "0x16fbf1aef4d71fccfd6b3eb1b573f0f9167efb0b96766e47fc9d41ea0c53ff13",
        "0x070715b437e35348b5da711dce19accacf1fccfbf6dd57dcc933ea7270d6cbc9",
        "0x06aedd6ecb1c4a33d2061ee8e06fc02d415f0870f3b0060a5f03c90f98bd3bba",
        "0x43dbc1ebaf80f431b05e348240b1b5a918d899cca9043d594d41fbd5970b271f"
    ],
    "nonce": "0",
    "tokens": [
        {
            "type": "ERC20",
            "name": "Arbitrum",
            "contract": "0x912CE59144191C1204E64559FE8253a0e49E6548",
            "transfers": 7,
            "symbol": "ARB",
            "decimals": 18,
            "balance": "4277483330000000000000"
        }
    ]
}

Get block

Returns information about block with transactions, subject to paging.

Method: GET

https://arb-blockbook.nownodes.io/api/v2/block/<block height|block hash>

Example response: 200

{
    "page": 1,
    "totalPages": 1,
    "itemsOnPage": 1000,
    "hash": "0x9f5993b4533b59db4495d8305bfdef4bf7a1a638b76971fe120871164bbc3364",
    "previousBlockHash": "0xeac6ae7767486f3e73532807eea23fba0ccf5e445f88dea8b03959912ec0d888",
    "nextBlockHash": "0x386f4e660f8f510de1a84ca1580b0eb874bd6890250d491e31e36636ffdf5129",
    "height": 196216407,
    "confirmations": 20738,
    "size": 2406,
    "time": 1711911537,
    "version": 0,
    "merkleRoot": "",
    "nonce": "0x0000000000166464",
    "bits": "",
    "difficulty": "0x1",
    "l1BlockNumber": 19555797,
    "txCount": 7,
    "txs": [
        {
            "txid": "0x4fc5aedfacbd404c4850ccb4a53131fa0c7094c561251459ce587a05a752f16e",
            "vin": [
                {
                    "n": 0,
                    "addresses": [
                        "0x00000000000000000000000000000000000A4B05"
                    ],
                    "isAddress": true
                }
            ],
            "vout": [
                {
                    "value": "0",
                    "n": 0,
                    "addresses": [
                        "0x00000000000000000000000000000000000A4B05"
                    ],
                    "isAddress": true
                }
            ],
            "blockHash": "0x9f5993b4533b59db4495d8305bfdef4bf7a1a638b76971fe120871164bbc3364",
            "blockHeight": 196216407,
            "confirmations": 20736,
            "blockTime": 1711911537,
            "value": "0",
            "fees": "0",
            "ethereumSpecific": {
                "status": 1,
                "nonce": 0,
                "gasLimit": 0,
                "gasUsed": 0,
                "gasPrice": "0",
                "l1BlockNumber": 19555797,
                "data": "0x6bf6a42d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012a65d5000000000000000000000000000000000000000000000000000000000bb206570000000000000000000000000000000000000000000000000000000000000000",
                "parsedData": {
                    "methodId": "0x6bf6a42d",
                    "name": ""
                }
            }
        },
        {
            "txid": "0x551bbe889d4b66ff7b2273c74bf6873a88b0c5cab72ea9cb1a3cf6cd5378c352",
            "vin": [
                {
                    "n": 0,
                    "addresses": [
                        "0xE9cc54500B320b9390Df953f5C5D5C505F01A231"
                    ],
                    "isAddress": true
                }
            ],
            "vout": [
                {
                    "value": "7398595192963242",
                    "n": 0,
                    "addresses": [
                        "0x20C2A9430BAa7251Eb9143Cbe80aC3968893D06C"
                    ],
                    "isAddress": true
                }
            ],
            "blockHash": "0x9f5993b4533b59db4495d8305bfdef4bf7a1a638b76971fe120871164bbc3364",
            "blockHeight": 196216407,
            "confirmations": 20736,
            "blockTime": 1711911537,
            "value": "7398595192963242",
            "fees": "7919470000000",
            "tokenTransfers": [
                {
                    "type": "ERC20",
                    "from": "0x0000000000000000000000000000000000000000",
                    "to": "0x20C2A9430BAa7251Eb9143Cbe80aC3968893D06C",
                    "contract": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
                    "name": "Wrapped Ether",
                    "symbol": "WETH",
                    "decimals": 18,
                    "value": "7398595192963242"
                },
                {
                    "type": "ERC20",
                    "from": "0x20C2A9430BAa7251Eb9143Cbe80aC3968893D06C",
                    "to": "0xEE9deC2712cCE65174B561151701Bf54b99C24C8",
                    "contract": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
                    "name": "Wrapped Ether",
                    "symbol": "WETH",
                    "decimals": 18,
                    "value": "7398595192963242"
                },
                {
                    "type": "ERC20",
                    "from": "0xEE9deC2712cCE65174B561151701Bf54b99C24C8",
                    "to": "0x0000000000000000000000000000000000000000",
                    "contract": "0x2983bf5c334743Aa6657AD70A55041d720d225dB",
                    "name": "nextWETH",
                    "symbol": "nextWETH",
                    "decimals": 18,
                    "value": "7389010205629284"
                }
            ],
            "ethereumSpecific": {
                "status": 1,
                "nonce": 4,
                "gasLimit": 1303180,
                "gasUsed": 791947,
                "gasPrice": "10000000",
                "l1Fee": "4493890000000",
                "l1GasUsed": 449389,
                "l1BlockNumber": 19555797,
                "data": "0x8d80ff0a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000026b0082af49447d8a07e3bd95bd0d56f35241523fbab1000000000000000000000000000000000000000000000000001a48fbae5040aa0000000000000000000000000000000000000000000000000000000000000004d0e30db00082af49447d8a07e3bd95bd0d56f35241523fbab100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044095ea7b3000000000000000000000000ee9dec2712cce65174b561151701bf54b99c24c8000000000000000000000000000000000000000000000000001a48fbae5040aa00ee9dec2712cce65174b561151701bf54b99c24c8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001248aac16ba000000000000000000000000000000000000000000000000000000006c696e6d0000000000000000000000005a53576dde5071719a9a3a9e78e68cbcdf86325300000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1000000000000000000000000e9cc54500b320b9390df953f5c5d5c505f01a231000000000000000000000000000000000000000000000000001a48fbae5040aa000000000000000000000000000000000000000000000000000000000000012c00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000e9cc54500b320b9390df953f5c5d5c505f01a231000000000000000000000000000000000000000000",
                "parsedData": {
                    "methodId": "0x8d80ff0a",
                    "name": ""
                }
            }
        },
        {
            "txid": "0x4e06692e60d9ec7d51b54459308236f7c185933d2ac64a407d5030eedc55ccca",
            "vin": [
                {
                    "n": 0,
                    "addresses": [
                        "0x4Fe376418248c3C4B4f81165E08E9adA3b7E218D"
                    ],
                    "isAddress": true
                }
            ],
            "vout": [
                {
                    "value": "87991020000000000",
                    "n": 0,
                    "addresses": [
                        "0x0938C63109801Ee4243a487aB84DFfA2Bba4589e"
                    ],
                    "isAddress": true
                }
            ],
            "blockHash": "0x9f5993b4533b59db4495d8305bfdef4bf7a1a638b76971fe120871164bbc3364",
            "blockHeight": 196216407,
            "confirmations": 20736,
            "blockTime": 1711911537,
            "value": "87991020000000000",
            "fees": "17333690000000",
            "ethereumSpecific": {
                "status": 1,
                "nonce": 0,
                "gasLimit": 1300000,
                "gasUsed": 157579,
                "gasPrice": "110000000",
                "l1Fee": "15023690000000",
                "l1GasUsed": 136579,
                "l1BlockNumber": 19555797,
                "data": "0x",
                "parsedData": {
                    "methodId": "",
                    "name": "Transfer"
                }
            }
        },
        {
            "txid": "0x50c99b97885f379ae50fa703e1c91cf4622cda6d7d7ec9df57091152a91c54be",
            "vin": [
                {
                    "n": 0,
                    "addresses": [
                        "0xC82ACb2c4f0B069dd3e25dF479E8C848cE503d65"
                    ],
                    "isAddress": true
                }
            ],
            "vout": [
                {
                    "value": "133848640000000000",
                    "n": 0,
                    "addresses": [
                        "0x0938C63109801Ee4243a487aB84DFfA2Bba4589e"
                    ],
                    "isAddress": true
                }
            ],
            "blockHash": "0x9f5993b4533b59db4495d8305bfdef4bf7a1a638b76971fe120871164bbc3364",
            "blockHeight": 196216407,
            "confirmations": 20736,
            "blockTime": 1711911537,
            "value": "133848640000000000",
            "fees": "17333690000000",
            "ethereumSpecific": {
                "status": 1,
                "nonce": 6,
                "gasLimit": 1300000,
                "gasUsed": 157579,
                "gasPrice": "110000000",
                "l1Fee": "15023690000000",
                "l1GasUsed": 136579,
                "l1BlockNumber": 19555797,
                "data": "0x",
                "parsedData": {
                    "methodId": "",
                    "name": "Transfer"
                }
            }
        },
        {
            "txid": "0xca9a78b08d81e3aebdc470d8075a5df86641df01044c9b6fc5480da5eb305a52",
            "vin": [
                {
                    "n": 0,
                    "addresses": [
                        "0xf89d7b9c864f589bbF53a82105107622B35EaA40"
                    ],
                    "isAddress": true
                }
            ],
            "vout": [
                {
                    "value": "0",
                    "n": 0,
                    "addresses": [
                        "0x912CE59144191C1204E64559FE8253a0e49E6548"
                    ],
                    "isAddress": true
                }
            ],
            "blockHash": "0x9f5993b4533b59db4495d8305bfdef4bf7a1a638b76971fe120871164bbc3364",
            "blockHeight": 196216407,
            "confirmations": 20736,
            "blockTime": 1711911537,
            "value": "0",
            "fees": "245572000000000",
            "tokenTransfers": [
                {
                    "type": "ERC20",
                    "from": "0xf89d7b9c864f589bbF53a82105107622B35EaA40",
                    "to": "0xE4C48c09833ee49BbEb71AD3D1b7c21DbB50aaf8",
                    "contract": "0x912CE59144191C1204E64559FE8253a0e49E6548",
                    "name": "Arbitrum",
                    "symbol": "ARB",
                    "decimals": 18,
                    "value": "453125720000000000000"
                }
            ],
            "ethereumSpecific": {
                "status": 1,
                "nonce": 1712537,
                "gasLimit": 15000000,
                "gasUsed": 245572,
                "gasPrice": "1000000000",
                "l1Fee": "199361000000000",
                "l1GasUsed": 199361,
                "l1BlockNumber": 19555797,
                "data": "0xa9059cbb000000000000000000000000e4c48c09833ee49bbeb71ad3d1b7c21dbb50aaf80000000000000000000000000000000000000000000000189061f193b91d8000",
                "parsedData": {
                    "methodId": "0xa9059cbb",
                    "name": ""
                }
            }
        },
        {
            "txid": "0xe6850dc7cb034286ab51e3867a05aa3b4eac02d32bf3bc25765b6ffc84260540",
            "vin": [
                {
                    "n": 0,
                    "addresses": [
                        "0x8D22BeEbB3634d632F6524A561ec82e0b951D35D"
                    ],
                    "isAddress": true
                }
            ],
            "vout": [
                {
                    "value": "0",
                    "n": 0,
                    "addresses": [
                        "0x56f0B6a66E9ABed55c2449E4B5c01bEa2F718101"
                    ],
                    "isAddress": true
                }
            ],
            "blockHash": "0x9f5993b4533b59db4495d8305bfdef4bf7a1a638b76971fe120871164bbc3364",
            "blockHeight": 196216407,
            "confirmations": 20736,
            "blockTime": 1711911537,
            "value": "0",
            "fees": "4002260000000",
            "ethereumSpecific": {
                "status": 1,
                "nonce": 2,
                "gasLimit": 470181,
                "gasUsed": 400226,
                "gasPrice": "10000000",
                "l1Fee": "3436510000000",
                "l1GasUsed": 343651,
                "l1BlockNumber": 19555797,
                "data": "0x2071469c000000000000000000000000000000000000000000000000000000006609f900000000000000000000000000000000000000000000000000000000000c106dee0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004173ec3f3e5b6e10121c570ce1ea7fd3a3f627c0ff4e0db5c7b9a89e33e8be72dc6e019342efe38ace7cfff4dd750b853c61c7e8f7f5352ff26a40b8377154c5c01c00000000000000000000000000000000000000000000000000000000000000",
                "parsedData": {
                    "methodId": "0x2071469c",
                    "name": ""
                }
            }
        },
        {
            "txid": "0xfe44bf2dd421d834279cac54c8c2069f749871fe564b034e5b1d968ee9696de1",
            "vin": [
                {
                    "n": 0,
                    "addresses": [
                        "0x563537412ad5D49fAA7FA442b9193B8238d98c3c"
                    ],
                    "isAddress": true
                }
            ],
            "vout": [
                {
                    "value": "1318510000000000",
                    "n": 0,
                    "addresses": [
                        "0x44de438919f284eCF1dF552d021C43480f6Fe572"
                    ],
                    "isAddress": true
                }
            ],
            "blockHash": "0x9f5993b4533b59db4495d8305bfdef4bf7a1a638b76971fe120871164bbc3364",
            "blockHeight": 196216407,
            "confirmations": 20736,
            "blockTime": 1711911537,
            "value": "1318510000000000",
            "fees": "1531730000000",
            "ethereumSpecific": {
                "status": 1,
                "nonce": 40523,
                "gasLimit": 406536,
                "gasUsed": 153173,
                "gasPrice": "10000000",
                "l1Fee": "1321730000000",
                "l1GasUsed": 132173,
                "l1BlockNumber": 19555797,
                "data": "0x",
                "parsedData": {
                    "methodId": "",
                    "name": "Transfer"
                }
            }
        }
    ]
}

Send transaction

Sends new transaction to backend.

Method: GET

https://arb-blockbook.nownodes.io/api/v2/sendtx/<hex tx data>

Method: POST

https://arb-blockbook.nownodes.io/api/v2/sendtx/(hex tx data in request body)  
NB: the '/' symbol at the end is mandatory.

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://arb-blockbook.nownodes.io/api/v2/tickers-list/?timestamp=<timestamp>

Example response: 200

{
  "ts":1574346615,
  "available_currencies": [
    "eur",
    "usd"
  ]
}

Tickers

Returns currency rate for the specified currency and date. If the currency is not available for that specific timestamp, the next closest rate will be returned. All responses contain an actual rate timestamp.

Method: GET

https://arb-blockbook.nownodes.io/api/v2/tickers/[?currency=<currency>&timestamp=<timestamp>]

Example response (no parameters): 200

{
  "ts": 1574346615,
  "rates": {
    "eur": 7134.1,
    "usd": 7914.5
    }
}

Example error response (e.g. rate unavailable, incorrect currency...):

{
  "ts":7980386400,
  "rates": {
    "usd": -1
  }
}

Balance history

Returns a balance history for the specified XPUB or address.

Method: GET

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

Example response: 200

[
    {
        "time": 1710075600,
        "txs": 2,
        "received": "0",
        "sent": "0",
        "sentToSelf": "0"
    },
    {
        "time": 1710820800,
        "txs": 1,
        "received": "0",
        "sent": "0",
        "sentToSelf": "0"
    },
    {
        "time": 1710871200,
        "txs": 1,
        "received": "0",
        "sent": "0",
        "sentToSelf": "0"
    },
    {
        "time": 1711483200,
        "txs": 1,
        "received": "0",
        "sent": "0",
        "sentToSelf": "0"
    },
    {
        "time": 1711620000,
        "txs": 1,
        "received": "0",
        "sent": "0",
        "sentToSelf": "0"
    },
    {
        "time": 1711908000,
        "txs": 1,
        "received": "0",
        "sent": "0",
        "sentToSelf": "0"
    }
]

Last updated