Node

Retrieve the configuration

Used to access a Node’s configuration and the network it is attached to (identified by the nethash).

Method: GET

https://ark.nownodes.io/api/node/configuration

Example response: 200

{
    "data": {
        "core": {
            "version": "3.8.2"
        },
        "nethash": "6e84d08bd299ed97c212c886c98a57e36545c8f5d645ca7eeae63a8bd62d8988",
        "slip44": 111,
        "wif": 170,
        "token": "ARK",
        "symbol": "Ѧ",
        "explorer": "https://explorer.ark.io",
        "version": 23,
        "ports": {},
        "constants": {
            "height": 21235300,
            "reward": 200000000,
            "activeDelegates": 51,
            "blocktime": 8,
            "block": {
                "version": 0,
                "maxTransactions": 150,
                "maxPayload": 6300000,
                "acceptExpiredTransactionTimestamps": false,
                "idFullSha256": true
            },
            "epoch": "2017-03-21T13:00:00.000Z",
            "fees": {
                "staticFees": {
                    "transfer": 10000000,
                    "secondSignature": 500000000,
                    "delegateRegistration": 2500000000,
                    "vote": 100000000,
                    "multiSignature": 500000000,
                    "ipfs": 500000000,
                    "multiPayment": 10000000,
                    "delegateResignation": 2500000000,
                    "htlcLock": 10000000,
                    "htlcClaim": 0,
                    "htlcRefund": 0
                }
            },
            "vendorFieldLength": 255,
            "multiPaymentLimit": 64,
            "aip11": true,
            "aip36": true,
            "aip37": true,
            "p2p": {
                "minimumVersions": [
                    ">=3.5.0"
                ]
            }
        },
...

Retrieve the Cryptography Configuration

Used to access a Node’s configuration for the @arkecosystem/crypto package that handles all cryptography operations.

Method: GET

https://ark.nownodes.io/api/node/configuration/crypto

Example response: 200

{
    "data": {
        "network": {
            "name": "mainnet",
            "messagePrefix": "ARK message:\n",
            "bip32": {
                "public": 46090600,
                "private": 46089520
            },
            "pubKeyHash": 23,
            "nethash": "6e84d08bd299ed97c212c886c98a57e36545c8f5d645ca7eeae63a8bd62d8988",
            "wif": 170,
            "slip44": 111,
            "aip20": 0,
            "client": {
                "token": "ARK",
                "symbol": "Ѧ",
                "explorer": "https://explorer.ark.io"
            }
        },
        "exceptions": {
            "blocks": [
                "10370119864814436559"
            ],
            "blocksTransactions": {
                "10370119864814436559": [
                    "43223de192d61a341301cc831a325ffe21d3e99666c023749bd4b562652f6796"
                ]
            },
            "transactions": [
                "608c7aeba0895da4517496590896eb325a0b5d367e1b186b1c07d7651a568b9e",
                "43223de192d61a341301cc831a325ffe21d3e99666c023749bd4b562652f6796",
                "2d8ed494d852880eb674c279fad64468bfccadd79d2a63cc69a5ca80116933f5",
                "31de62ecd08b12b897d0ab50fb8cb07cff149b8cee7116c17ccb8b3916e2eeb7",
                "12be521f2bafb28cc7ada7139d424eaf0e68f7ac20216b5840d68509badebbe8",
                "cbd6862966bb1b03ba742397b7e5a88d6eefb393a362ead0d605723b840db2af",
                "e54fdacca38409781abdfd273d9ab11bf04c65286311b9c17d2f73829408b561",
                "38ef7225c653e9aa9e78434a30403c379318bbde514ccb7f32aff72c067043e6",
                "67f9eacdde5e4f8c90f430ea6bca0972984e50d3fc404c0d85c59a2aeecacda7",
                "7a31e574c93c61aecc2801b543cbccdd1776e44edfcadbc08439e61cec68a7cb",
                "da7590beca2aaa04df430cd30f1ab57fef2867b7afaf2c4aba09a8902864fece",
                "a2743b3ed2556a31ab1ac0551124fd507b10d86da95bf3a742744a5e55fbeb40",
                "8d150b3ea9b1bc3609e763aad30089f784fa3349369d62eeeb6de62a0d3ec56f",
                "834c1cdbb55f78a8c390dfa28b352671a2ee452e69842c5ae0431b909b295ea2",
                "1603029ad41e4cdf22a91e7650513b1dceaf5c27a854b9ff6b66f7f9eaa51f0e",
                "0977bf68d7349b9c10160c6fe7e533c650bb593514d4289dc99f6b0f9f28c504",
                "24714428cbcf94b4c5a02dce5a9ed22019b07327e71873764ec945465efb56f7",
                "13e5f2fe5eb5197e50662de599318bac9ae364bf78896de356c40bcc9c6cce71",
                "c41555d7dec8612966803135a55550c2fe0753219fc31f6b55e7d20250f33430",
                "4bc5378f069c476ca9f7aead1592eed8664a381ec40405a12ed2c5ec1db734e1",
...

Retrieve the Fee Statistics

Used to access a Node’s fee statistics. By default, this endpoint returns calculations based on the 20 most-recent transactions for each type. Also note while using the days query that statistics may not be available for all transaction-types over a given period of time.

Method: GET

https://ark.nownodes.io/api/node/fees

Example response: 200

{
    "meta": {},
    "data": {
        "1": {
            "transfer": {
                "avg": "7029500",
                "max": "10000000",
                "min": "600000",
                "sum": "140590000"
            },
            "secondSignature": {
                "avg": "211534550",
                "max": "500000000",
                "min": "10000000",
                "sum": "4230691000"
            },
            "delegateRegistration": {
                "avg": "2365633161",
                "max": "2500000000",
                "min": "2000000000",
                "sum": "47312663216"
            },
            "vote": {
                "avg": "15776831",
                "max": "100000000",
                "min": "600000",
                "sum": "315536614"
            },
            "multiSignature": {
                "avg": "1667695341",
                "max": "5500000000",
                "min": "4661425",
                "sum": "30018516144"
            },
            "ipfs": {
                "avg": "172000000",
                "max": "500000000",
                "min": "8000000",
                "sum": "516000000"
            },
            "multiPayment": {
                "avg": "6909600",
                "max": "10000000",
                "min": "1893000",
                "sum": "138192000"
            },
            "delegateResignation": {
                "avg": "1223275031",
                "max": "2500000000",
                "min": "100000",
                "sum": "24465500623"
            },
...

Retrieve the status

The status allows for health checking, showing if the node is in sync with the network.

Method: GET

https://ark.nownodes.io/api/node/status

Example response: 200

{
    "data": {
        "synced": true,
        "now": 28012668,
        "blocksCount": -23688,
        "timestamp": 225859635
    }
}

Retrieve the Syncing Status

The syncing resource is very much alike node/status, providing information on the syncing progress. If a node is not syncing but significantly behind in blocks, it might be time to perform a check.

Method: GET

https://ark.nownodes.io/api/node/syncing

Example response: 200

{
    "data": {
        "syncing": true,
        "blocks": -23696,
        "height": 28012676,
        "id": "5269ece49eba71c7340bf77bc86fe0011921cd7355005544f11c72d7de12a454"
    }
}

Last updated