155 code example

Example 1: 155

[
    {
        "_id": "5c34b35d69d5562c2fc43e89",
        "chain": "BTC",
        "network": "mainnet",
        "coinbase": true,
        "mintIndex": 0,
        "spentTxid": "",
        "mintTxid": "0e3e2357e806b6cdb1f70b54c3a3a17b6714ee1f0e68bebb44a74b1efd512098",
        "mintHeight": 1,
        "spentHeight": -2,
        "address": "12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX",
        "script": "410496b538e853519c726a2c91e61ec11600ae1390813a627c66fb8be7947be63c52da7589379515d4e0a604f8141781e62294721166bf621e73a82cbf2342c858eeac",
        "value": 5000000000,
        "confirmations": -1
    }
]

Example 2: 155

[
    {
        "chain": "BTC",
        "network": "mainnet"
    },
    {
        "chain": "BTC",
        "network": "testnet"
    },
    {
        "chain": "BCH",
        "network": "mainnet"
    },
    {
        "chain": "BCH",
        "network": "testnet"
    }
]

Example 3: 155

curl -v localhost:3000/api/BTC/mainnet/stats/daily-transactions

Example 4: 155

{
    "blocks": "22",
    "feerate": "0.00002003"
}

Example 5: 155

curl -v localhost:3000/api/BTC/mainnet/address/12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX/?unspent=true

Example 6: 155

curl -v localhost:3000/api/BTC/mainnet/fee/22

Example 7: 155

curl -v localhost:3000/api/BTC/mainnet/wallet/02870d8366cf8e50f383e38e5fafc01d956b67f25fbf5c1dd4e3766cf85acbc400/utxos

Example 8: 155

[
    {
        "_id": "5bd0b60d19b81e4567d3a10d",
        "chain": "BTC",
        "network": "mainnet",
        "coinbase": true,
        "mintIndex": 0,
        "spentTxid": "",
        "mintTxid": "0e3e2357e806b6cdb1f70b54c3a3a17b6714ee1f0e68bebb44a74b1efd512098",
        "mintHeight": 1,
        "spentHeight": -2,
        "address": "12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX",
        "script": "410496b538e853519c726a2c91e61ec11600ae1390813a627c66fb8be7947be63c52da7589379515d4e0a604f8141781e62294721166bf621e73a82cbf2342c858eeac",
        "value": 5000000000,
        "confirmations": -1
    },
    {
        "_id": "5bd0be3f6d88cf473695b007",
        "chain": "BTC",
        "network": "mainnet",
        "coinbase": false,
        "mintIndex": 1,
        "spentTxid": "",
        "mintTxid": "d6be34ccf6edddc3cf69842dce99fe503bf632ba2c2adb0f95c63f6706ae0c52",
        "mintHeight": 127659,
        "spentHeight": -2,
        "address": "12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX",
        "script": "76a914119b098e2e980a229e139a9ed01a469e518e6f2688ac",
        "value": 2000000,
        "confirmations": -1
    },
    ...
]

Example 9: 155

{
    "confirmed": 46800000000,
    "unconfirmed": 0,
    "balance": 46800000000
}

Example 10: 155

curl -v localhost:3000/api/BTC/mainnet/address/12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX/txs

Tags:

Misc Example