Skip to main content

Block

tokenviewAbout 6 min

Block

Latest Block Height

GET https://services.tokenview.io/vipapi/coin/latest/{lowercase-coin-abbr}?apikey={apikey}

Parameters

Request

curl --location https://services.tokenview.io/vipapi/coin/latest/btc?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": 766556
}

Block Header Info

GET https://services.tokenview.io/vipapi/block/{lowercase-coin-abbr}/{block-height}?apikey={apikey}

Parameters

The Data in Block Header:

  • Hash of the parent block;
  • Mining difficulty, block timestamp and Nonce;
  • Merkle tree

Request

curl --location https://services.tokenview.io/vipapi/block/usdt/576905?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": [
        {
            "type": "block",
            "network": "USDT",
            "block_no": 576905,
            "time": 1558338742,
            "fee": "0.20745427",
            "blockhash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
            "previous_blockhash": "000000000000000000293d79271c9373ae7635354f417963a47e5bfd941aaa3d",
            "next_blockhash": "000000000000000000027fa12c9e27b184df107d6bf174ff916c7cd6b7308632",
            "confirmations": 189654,
            "txs": [
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 0,
                    "time": 1558338742,
                    "txid": "413e4b2f5ba812574b1012d601df9e6d63d209aade003389efabe27bd005c512",
                    "fee": "0.00260000",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "164PCzabq18UN1p1KhtxvLA3AitQ2RAuNM",
                            "value": "104.86000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1FLZj33UcRjQeEUXVP1ERm44P6E2QqqiY4",
                            "value": "104.86000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 1,
                    "time": 1558338742,
                    "txid": "5a4f1f14aa0e192c53fd092fddc3e5b4f80faf68f2997d44ab97a3029c94bc2e",
                    "fee": "0.00092400",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "1Dp1TZfsMDfrNwuAzXi8mJwcXNA5xiHPor",
                            "value": "190.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1KHUAqoJiHEop3QScsyAVCHi4S19847oeF",
                            "value": "190.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 2,
                    "time": 1558338742,
                    "txid": "1af5b4782cfaa2912093abcccee2e4e23f0e7a4265165bc88965edf228ebfc4b",
                    "fee": "0.00100000",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "1Po1oWkD2LmodfkBYiAktwh76vkF93LKnh",
                            "value": "3000.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1C9Gd2ihACDcr4RcHRkPSPrCDq9PsxuyM6",
                            "value": "3000.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 3,
                    "time": 1558338742,
                    "txid": "5fee4d42a7a2f3419fff91a754e8bbe75200813f16b528f6ef796e3fdfaa8c73",
                    "fee": "0.00100000",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "1CLN5pKRtgxAKuBxjjtwBK3S3DJkX5kz2g",
                            "value": "247.92989717"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1Po1oWkD2LmodfkBYiAktwh76vkF93LKnh",
                            "value": "247.92989717"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 4,
                    "time": 1558338742,
                    "txid": "8d1ae763d07146c94ebc394e2e5231e8bf4d2cc0b31522a5769811b4c5db12aa",
                    "fee": "0.00100000",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "17Zm62Jp8JqJSmwnSRqWFNRPYNEhFuhSM3",
                            "value": "25.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1Po1oWkD2LmodfkBYiAktwh76vkF93LKnh",
                            "value": "25.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 5,
                    "time": 1558338742,
                    "txid": "8e4b0f82331791c918f76bb9c7fa2580ee1c5ca8ea85de2c931dbdb1d4d91015",
                    "fee": "0.00625663",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "12aNFi4Fqj86UEj3SuXx8wrfDuqwbTB6sZ",
                            "value": "469.68600000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1KuSxsEs7Zy5MBqkrobYz9wJE7EK6M4t3Q",
                            "value": "469.68600000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 6,
                    "time": 1558338742,
                    "txid": "d21b8171660b0d53bac496a3cda11fdb19f7edbbb8d17798aa3d68a8e05e2f25",
                    "fee": "0.00045527",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "1DUb2YYbQA1jjaNYzVXLZ7ZioEhLXtbUru",
                            "value": "15091.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "3A4TH3y1jS5XfbDBsY9R6rrwMPAfoUguNn",
                            "value": "15091.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 7,
                    "time": 1558338742,
                    "txid": "91fe541b41098be86917b03344535c1b969161685a010cd9177fc13539c2f03e",
                    "fee": "0.00090466",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "3A4TH3y1jS5XfbDBsY9R6rrwMPAfoUguNn",
                            "value": "450.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1256NBcdBcm7GDawczZCBF9Yh9499qDwcM",
                            "value": "450.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 8,
                    "time": 1558338742,
                    "txid": "41da9e224a6b7906be06a31af265cb559cb2f6bfe9a51609abf95aa26a4bfcb7",
                    "fee": "0.00044730",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "3CPTVGfbaANd25CUDu51GzkrbrtYZTdtDi",
                            "value": "7900.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "171dMQWj76EHHoQNAaqoWxw68aPJJx84yc",
                            "value": "7900.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 9,
                    "time": 1558338742,
                    "txid": "978f8c342415d5a1fc4c07a6b8ce8a78e62760bf4ef2a44ea6df080a080f5011",
                    "fee": "0.00054908",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "1TuowwTqLr6z74yGRstsJuUuXJvYgm5wg",
                            "value": "500.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1AyqjnuGsNTzKVjus4mYKYczZrK8h5LzZe",
                            "value": "500.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 10,
                    "time": 1558338742,
                    "txid": "00110b5741358de7fe8564fceb57498578e815ef3b8dfe4d0d026aa837fe5031",
                    "fee": "0.00117390",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "1HojD6KLwzqF541iYeWrJpqkFvLzWbxtEx",
                            "value": "1050.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1Gi7scgt19CidGz8ZpHTrtsMUfXLS6Wt8Q",
                            "value": "1050.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 11,
                    "time": 1558338742,
                    "txid": "77267df962ea79c0e98f24460a3e627262d772cc49a4b8d0ac69113370c74c49",
                    "fee": "0.00085680",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "1MvRphPqci9LJRee7kgWgTuP3Na4UKzTwJ",
                            "value": "111650.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1CXqavpmJ93KCn5sdVSUa9HZfpfJnacxFk",
                            "value": "111650.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 12,
                    "time": 1558338742,
                    "txid": "a4ed7974cdc4cef966b94bb6d5a77f32c8181c68183fecb64dfd7ea818521651",
                    "fee": "0.00054600",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "1MvRphPqci9LJRee7kgWgTuP3Na4UKzTwJ",
                            "value": "790.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1CaGDFtRQ24tLMUhNUBsjDzRd3gJTTk19V",
                            "value": "790.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 13,
                    "time": 1558338742,
                    "txid": "112dc71d166e91bf25fff277a8b0da946c1f610d6595f33d87562358fb133349",
                    "fee": "0.00085680",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "16MLz8cvgTHM7tyqsPRRaQ4MZGAtVKuKnV",
                            "value": "208.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "14tJsnJvjLQrKRf1MdcKRg7LSmKUvC5MGa",
                            "value": "208.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 14,
                    "time": 1558338742,
                    "txid": "d3941404e163b20c529cd0af38ce5952a751aab5f4ae7d487347d56b16d1e76f",
                    "fee": "0.00052000",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "17SwhJp7VwDxLaT74o2eKceykyC6TcscnG",
                            "value": "1602.86000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1MzBHs5z7NYjP7NpzjtCM5xHqdKWaCibQk",
                            "value": "1602.86000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 15,
                    "time": 1558338742,
                    "txid": "7244de38419d99d41f949a49b93c0a771d6ab267ea95676b8ba0d6857195a881",
                    "fee": "0.00052000",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "1CobYRy9bwmb4mpFLiHkjNooGtvqSPA1zL",
                            "value": "132339.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1M8FVe3Tf6RpeVc1kwfhqqXEfb8DtLjYnT",
                            "value": "132339.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 16,
                    "time": 1558338742,
                    "txid": "6fa85afd77d3951f43ab9674cab0e3054db8c64abf21a93dfa49532ff8f524b3",
                    "fee": "0.00051200",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "17m5SEXEY8oB9nsyJVRKhGoafhRJ3ukJau",
                            "value": "731.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1Fw5GFJRchRhgWgkfTqr36hF3dVAW5p232",
                            "value": "731.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 17,
                    "time": 1558338742,
                    "txid": "8477dee74994c87be02a439af7d9b69db16d5a786f67e9f23b5dc162be999df1",
                    "fee": "0.00051000",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "17m5SEXEY8oB9nsyJVRKhGoafhRJ3ukJau",
                            "value": "928.27997000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "3D8wNZd8X2fiUnHFreP68Tczn5h1sDpnym",
                            "value": "928.27997000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 18,
                    "time": 1558338742,
                    "txid": "96fc01205a00c31333136a8ac4617bd409af0368070a12e1eaac36aab952b5b9",
                    "fee": "0.00050000",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "1Kp7sZ43fS9yirGFmwmWUmJR8zsFuL6gT3",
                            "value": "100000.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "1NcZ7fWTsLGbhCy4zNRYBb2aYJHYFb2gcW",
                            "value": "100000.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                },
                {
                    "type": "tx",
                    "network": "USDT",
                    "block_no": 576905,
                    "height": 576905,
                    "blockHash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d",
                    "index": 19,
                    "time": 1558338742,
                    "txid": "75e0e33c8402f7b9391f1787437088071e7e1c63de7c27b04505bd87ffe41ac7",
                    "fee": "0.00038340",
                    "confirmations": 189654,
                    "inputs": [
                        {
                            "address": "38pDbRsR83ntuqsnMvRHcKWDXftE97BTkQ",
                            "value": "80.00000000"
                        }
                    ],
                    "outputs": [
                        {
                            "address": "18GWqAMY3ZHqno2ETNGpwPkwv6NMHo5JeC",
                            "value": "80.00000000"
                        }
                    ],
                    "inputCnt": 1,
                    "outputCnt": 1,
                    "type_int": 0,
                    "type_str": "Simple Send",
                    "status": 1
                }
            ],
            "sent_value": 7349614.50752171,
            "merkleroot": "1a2d7d7043cd6849b7e824a90cf9387cef96a212f70f7ce617ef7f29c3da5757",
            "txCnt": 624
        }
    ]
}

Transaction List in Block

GET https://services.tokenview.io/vipapi/tx/{lowercase-coin-abbr}/{block-height}/{page}/{page-size}?apikey={apikey}

Parameters

  • {lowercase-coin-abbr}: btc, ltc, doge ...(BTC Category);
  • {block-height}: the block height number;
  • {page}: 1,2,3,......50 (Max);
  • {page-size}: transactions per page. 50 transactions is the Max per page;
  • {apikey}: Get your activated apikey from the API system: https://services.tokenview.ioopen in new window

Request

curl --location https://services.tokenview.io/vipapi/tx/btc/766558/1/10?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": [
        {
            "type": "tx",
            "network": "BTC",
            "block_no": 766558,
            "height": 766558,
            "index": 0,
            "time": 1670553535,
            "txid": "de1c2bb284ca6eee886508bfdebb4b3d391b4abb18b6dcda184089e54f4bba7c",
            "fee": "0.0",
            "confirmations": 1,
            "inputs": [
                {
                    "input_no": 0,
                    "address": "coinbase",
                    "value": "6.2538912",
                    "signature": "035eb20b315c20506f7765726564206279204c75786f722054656368205c000000004a120080452ef8390001fcf01f5c010000000000"
                }
            ],
            "outputs": [
                {
                    "output_no": 0,
                    "address": "1MkCDCzHpBsYQivp8MxjY5AkTGG1f2baoe",
                    "value": "6.2538912"
                },
                {
                    "output_no": 1,
                    "value": "0.0",
                    "asm": "OP_RETURN aa21a9eda256504d30206700c1fb3c5085ff7ac696c9ca7bdf62d07a183082fe1a3b62a8"
                }
            ],
            "inputCnt": 1,
            "outputCnt": 2
        },
        {
            "type": "tx",
            "network": "BTC",
            "block_no": 766558,
            "height": 766558,
            "index": 1,
            "time": 1670553535,
            "txid": "02e5ae5b17f09fafc5e6236290c37f4e1651efefe5ae0cd5ffffa8a7c912bda6",
            "fee": "0.00063364",
            "confirmations": 1,
            "inputs": [
                {
                    "input_no": 0,
                    "address": "bc1qtpmp2pzvv7ap6weuzq4wlvrgl7aswr34rmxyac",
                    "value": "0.01061803",
                    "received_from": {
                        "output_no": 52,
                        "txid": "1eca58b86474541c9c86d609240b561ed96ffd91ba190053ffe62db8f96b4798"
                    }
                }
            ],
            "outputs": [
                {
                    "output_no": 0,
                    "address": "bc1qa5txxfp3c82k4fh3ayd5ual6d8lpsgmrkvtkjk",
                    "value": "0.00998439"
                }
            ],
            "inputCnt": 1,
            "outputCnt": 1
        },
        {
            "type": "tx",
            "network": "BTC",
            "block_no": 766558,
            "height": 766558,
            "index": 2,
            "time": 1670553535,
            "txid": "2279e33d74afc5879225cd40067b20ca86f031be69ce0d908adbf44f09539786",
            "fee": "0.0004",
            "confirmations": 1,
            "inputs": [
                {
                    "input_no": 0,
                    "address": "bc1qwqdg6squsna38e46795at95yu9atm8azzmyvckulcc7kytlcckxswvvzej",
                    "value": "0.28399866",
                    "received_from": {
                        "output_no": 2,
                        "txid": "7672f217e5dcfe0354a8acc7da3fd3b34eef2a9fd0a315b9c3ec248c52ec8c55"
                    }
                }
            ],
            "outputs": [
                {
                    "output_no": 0,
                    "address": "bc1qpdrucv0mzsj2cfq3qqmrfhgf3q0c2z2lhcyn98",
                    "value": "0.0822"
                },
                {
                    "output_no": 1,
                    "address": "1Q2kDwg64ipgaxsqkr4CZMvciX6DD1Axf5",
                    "value": "0.01611"
                },
                {
                    "output_no": 2,
                    "address": "15U2nfh2QsnEccmsMMyA65sqe2R6Xk4aox",
                    "value": "0.02"
                },
                {
                    "output_no": 3,
                    "address": "bc1qwqdg6squsna38e46795at95yu9atm8azzmyvckulcc7kytlcckxswvvzej",
                    "value": "0.16528866"
                }
            ],
            "inputCnt": 1,
            "outputCnt": 4
        },
        {
            "type": "tx",
            "network": "BTC",
            "block_no": 766558,
            "height": 766558,
            "index": 3,
            "time": 1670553535,
            "txid": "cd3a898e05e01a5c0cdce8569a31b6fe907ae44cf6aa38cc513d162260bc17d5",
            "fee": "0.00008263",
            "confirmations": 1,
            "inputs": [
                {
                    "input_no": 0,
                    "address": "1MGGcA6j3inTbaSWn9HcLbjm5c7nzppKwS",
                    "value": "0.0055487",
                    "received_from": {
                        "output_no": 161,
                        "txid": "581ae1c0f528eecce0aebc7d4b269868e1fbcbc55aa4b6a2c6a9276bcaa99ccf"
                    }
                }
            ],
            "outputs": [
                {
                    "output_no": 0,
                    "address": "bc1qdafkuky2ajdrxh5r5dushv53a3jmnggjvcua8m",
                    "value": "0.00546607"
                }
            ],
            "inputCnt": 1,
            "outputCnt": 1
        },
        {
            "type": "tx",
            "network": "BTC",
            "block_no": 766558,
            "height": 766558,
            "index": 4,
            "time": 1670553535,
            "txid": "660663c04859917e0d7505e71442cf97e77abb67738c427a58c5f9e68c2f1aa2",
            "fee": "0.00007117",
            "confirmations": 1,
            "inputs": [
                {
                    "input_no": 0,
                    "address": "bc1qzdhv5d5a46sft6zp7h6ydt666tmh0r9l643zad",
                    "value": "0.00012761",
                    "received_from": {
                        "output_no": 0,
                        "txid": "4cc1c65168f9d4cc1dafec3ab2b3832b26547deba371c865ff88b96646e8b4a5"
                    }
                },
                {
                    "input_no": 1,
                    "address": "bc1q3p3k7k46exe5sf92ew9kzx2k6ymh5yznjenp64",
                    "value": "0.01114",
                    "received_from": {
                        "output_no": 82,
                        "txid": "816df1890d1cf3f0889271f1328cfd08d0cce2957300ac230f0f7e29ec2dfdb0"
                    }
                }
            ],
            "outputs": [
                {
                    "output_no": 0,
                    "address": "1MovEzNrrXb82fftBZo6hwBFTTQMTihpX4",
                    "value": "0.01119644"
                }
            ],
            "inputCnt": 2,
            "outputCnt": 1
        },
        {
            "type": "tx",
            "network": "BTC",
            "block_no": 766558,
            "height": 766558,
            "index": 5,
            "time": 1670553535,
            "txid": "c4c02a9c7c60f64f356b8fd4a06a42395c281f27119e02de2f8eeaf0146f386d",
            "fee": "0.00008908",
            "confirmations": 1,
            "inputs": [
                {
                    "input_no": 0,
                    "address": "1Cxmc1zjdop3WNeDEB5RPuYgtqMEpHSgph",
                    "value": "0.00019628",
                    "received_from": {
                        "output_no": 1,
                        "txid": "87a3668b55f212ccdf998e368cdf71517dae6902a7d5217edc039eebfdfd9908"
                    }
                },
                {
                    "input_no": 1,
                    "address": "1Cxmc1zjdop3WNeDEB5RPuYgtqMEpHSgph",
                    "value": "0.00131",
                    "received_from": {
                        "output_no": 0,
                        "txid": "af163c3f11e72333637c5a7e821aaa211ab637aadf4f77730d1ee7ce80bfbc6b"
                    }
                }
            ],
            "outputs": [
                {
                    "output_no": 0,
                    "address": "18BqcBo65FhrxnKa9mvKrX5u8w1hkwBgga",
                    "value": "0.0014172"
                }
            ],
            "inputCnt": 2,
            "outputCnt": 1
        },
        {
            "type": "tx",
            "network": "BTC",
            "block_no": 766558,
            "height": 766558,
            "index": 6,
            "time": 1670553535,
            "txid": "4811d2dfe2e25b499b49f8b23962f352e57a177aadb09e9630c8fe58a90aa8e4",
            "fee": "0.0000442",
            "confirmations": 1,
            "inputs": [
                {
                    "input_no": 0,
                    "address": "bc1qw8wrek2m7nlqldll66ajnwr9mh64syvkt67zlu",
                    "value": "0.1161021",
                    "received_from": {
                        "output_no": 1,
                        "txid": "589f994aa72fa4233a5dd7f49f5613c1451defad047cc897edf8551410567d7f"
                    }
                }
            ],
            "outputs": [
                {
                    "output_no": 0,
                    "address": "bc1qmp9ek9xjjdkllfu4a8qhun6fkru9xw7pa0qs0s",
                    "value": "0.0098"
                },
                {
                    "output_no": 1,
                    "address": "3KqEk1VJ6KExE77BAQWLhzp9Ek6i71RtpR",
                    "value": "0.0031"
                },
                {
                    "output_no": 2,
                    "address": "bc1qw8wrek2m7nlqldll66ajnwr9mh64syvkt67zlu",
                    "value": "0.1031579"
                }
            ],
            "inputCnt": 1,
            "outputCnt": 3
        },
        {
            "type": "tx",
            "network": "BTC",
            "block_no": 766558,
            "height": 766558,
            "index": 7,
            "time": 1670553535,
            "txid": "44bdcf8bac5a0adfcebfdce1dee6bea4259038f5cc34a48742382788228230ab",
            "fee": "0.00006336",
            "confirmations": 1,
            "inputs": [
                {
                    "input_no": 0,
                    "address": "12CeCTTKXNW1D57Pzfc2QheJBEHd37Cnq8",
                    "value": "0.0619788",
                    "received_from": {
                        "output_no": 1,
                        "txid": "e923d150225f32136d9a572e34030bcc5f5769dfd222105e82277c68bf6cc572"
                    }
                }
            ],
            "outputs": [
                {
                    "output_no": 0,
                    "value": "0.0",
                    "asm": "OP_RETURN 76e8fb8f27e03c984d2e3dc5e79ca8475d7d1409ed852a6de6c68034dc6d9bb897ee18e983f944ae6f31a343214903a9499117"
                },
                {
                    "output_no": 1,
                    "address": "12CeCTTKXNW1D57Pzfc2QheJBEHd37Cnq8",
                    "value": "0.06191544"
                }
            ],
            "inputCnt": 1,
            "outputCnt": 2
        },
        {
            "type": "tx",
            "network": "BTC",
            "block_no": 766558,
            "height": 766558,
            "index": 8,
            "time": 1670553535,
            "txid": "95faeb1b4e9ff8f67f445f5d21efa52c1e5325949068532423b7699c13f8d691",
            "fee": "0.00006336",
            "confirmations": 1,
            "inputs": [
                {
                    "input_no": 0,
                    "address": "12CeCTTKXNW1D57Pzfc2QheJBEHd37Cnq8",
                    "value": "0.06191544",
                    "received_from": {
                        "output_no": 1,
                        "txid": "44bdcf8bac5a0adfcebfdce1dee6bea4259038f5cc34a48742382788228230ab"
                    }
                }
            ],
            "outputs": [
                {
                    "output_no": 0,
                    "value": "0.0",
                    "asm": "OP_RETURN a10fe27c0ff7934f9d58da1e4516c68080e858bf1868c38c5cfc78063e69ad2da8921574006a5c410a49d311fd00e0e746bf50"
                },
                {
                    "output_no": 1,
                    "address": "12CeCTTKXNW1D57Pzfc2QheJBEHd37Cnq8",
                    "value": "0.06185208"
                }
            ],
            "inputCnt": 1,
            "outputCnt": 2
        },
        {
            "type": "tx",
            "network": "BTC",
            "block_no": 766558,
            "height": 766558,
            "index": 9,
            "time": 1670553535,
            "txid": "eabc9ee944c18e2f86ee8fef5fdc09b6f238b7ebbf3b9f34c1ea79bb51d27657",
            "fee": "0.00003358",
            "confirmations": 1,
            "inputs": [
                {
                    "input_no": 0,
                    "address": "bc1qym70e88ryg84aw2str2ckfuhr2ygnkxr2upsmq",
                    "value": "0.03498069",
                    "received_from": {
                        "output_no": 1,
                        "txid": "813702628a22ee672b36761c6d46e4dc7d72c32993652613fc352bfefcd1c308"
                    }
                }
            ],
            "outputs": [
                {
                    "output_no": 0,
                    "address": "36FdvPEYA2TcHJGsxRd7qTJ5RknskhQVYy",
                    "value": "0.00425767"
                },
                {
                    "output_no": 1,
                    "address": "bc1qm3zu5ud60j6vshsrfvr7p7ahr6mmad6jtt7w5q",
                    "value": "0.03068944"
                }
            ],
            "inputCnt": 1,
            "outputCnt": 2
        }
    ]
}

Block List

GET https://services.tokenview.io/vipapi/blocks/{lowercase-coin-abbr}/{page}/{page-size}?apikey={apikey}

Parameters

  • {lowercase-coin-abbr}: btc, ltc, doge ...(BTC Category);
  • {page}: 1,2,3,......50 (Max);
  • {page-size}: transactions per page. 50 transactions is the Max per page;
  • {apikey}: Get your activated apikey from the API system: https://services.tokenview.ioopen in new window

Request

curl --location https://services.tokenview.io/vipapi/blocks/zen/1/10?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": [
        {
            "appendixData": null,
            "pending": null,
            "network": "ZEN",
            "block_no": 1260195,
            "time": 1670553879,
            "size": 122050,
            "txCnt": 68,
            "sentValue": "22.50404093",
            "miner": "znndMR7koR6treFnhAfzqX6AHheanpQWerz",
            "minerAlias": null,
            "fee": "0.00626552",
            "reward": "6.25626552",
            "miningDifficulty": "28477970.70314336"
        },
        {
            "appendixData": null,
            "pending": null,
            "network": "ZEN",
            "block_no": 1260194,
            "time": 1670553693,
            "size": 1675,
            "txCnt": 1,
            "sentValue": "0.0",
            "miner": "znn9sBiqxuLCXXPbjGQWfmJwFFcWcGohshi",
            "minerAlias": null,
            "fee": "0.0",
            "reward": "6.25",
            "miningDifficulty": "28391382.74451527"
        },
        {
            "appendixData": null,
            "pending": null,
            "network": "ZEN",
            "block_no": 1260193,
            "time": 1670553680,
            "size": 32622,
            "txCnt": 19,
            "sentValue": "107.26572803",
            "miner": "znUovxhrE91tep6D7YtgSc3XJZoYQLVDwVn",
            "minerAlias": null,
            "fee": "0.00161004",
            "reward": "6.25161004",
            "miningDifficulty": "28669177.1371878"
        },
        {
            "appendixData": null,
            "pending": null,
            "network": "ZEN",
            "block_no": 1260192,
            "time": 1670553500,
            "size": 41528,
            "txCnt": 20,
            "sentValue": "400.0038198",
            "miner": "znndMR7koR6treFnhAfzqX6AHheanpQWerz",
            "minerAlias": null,
            "fee": "0.0020998",
            "reward": "6.2520998",
            "miningDifficulty": "28644063.29577116"
        },
        {
            "appendixData": null,
            "pending": null,
            "network": "ZEN",
            "block_no": 1260191,
            "time": 1670553393,
            "size": 52723,
            "txCnt": 31,
            "sentValue": "257.96316428",
            "miner": "znUovxhrE91tep6D7YtgSc3XJZoYQLVDwVn",
            "minerAlias": null,
            "fee": "0.00245225",
            "reward": "6.25245225",
            "miningDifficulty": "29112584.38138611"
        },
        {
            "appendixData": null,
            "pending": null,
            "network": "ZEN",
            "block_no": 1260190,
            "time": 1670553258,
            "size": 91000,
            "txCnt": 53,
            "sentValue": "365.23437722",
            "miner": "znUovxhrE91tep6D7YtgSc3XJZoYQLVDwVn",
            "minerAlias": null,
            "fee": "0.00449283",
            "reward": "6.25449283",
            "miningDifficulty": "28910971.16813641"
        },
        {
            "appendixData": null,
            "pending": null,
            "network": "ZEN",
            "block_no": 1260189,
            "time": 1670552969,
            "size": 40603,
            "txCnt": 19,
            "sentValue": "669.5129213",
            "miner": "znndMR7koR6treFnhAfzqX6AHheanpQWerz",
            "minerAlias": null,
            "fee": "0.00148936",
            "reward": "6.25148936",
            "miningDifficulty": "28558318.21986727"
        },
        {
            "appendixData": null,
            "pending": null,
            "network": "ZEN",
            "block_no": 1260188,
            "time": 1670552865,
            "size": 80937,
            "txCnt": 47,
            "sentValue": "339.01226039",
            "miner": "znnQPdWkZR8N6hkuHHwB46J6FxXhRwuAapm",
            "minerAlias": null,
            "fee": "0.00373817",
            "reward": "6.25373817",
            "miningDifficulty": "28394315.52083878"
        },
        {
            "appendixData": null,
            "pending": null,
            "network": "ZEN",
            "block_no": 1260187,
            "time": 1670552624,
            "size": 61080,
            "txCnt": 37,
            "sentValue": "1448.89324052",
            "miner": "znUovxhrE91tep6D7YtgSc3XJZoYQLVDwVn",
            "minerAlias": null,
            "fee": "0.00330918",
            "reward": "6.25330918",
            "miningDifficulty": "28145192.36858491"
        },
        {
            "appendixData": null,
            "pending": null,
            "network": "ZEN",
            "block_no": 1260186,
            "time": 1670552490,
            "size": 59154,
            "txCnt": 37,
            "sentValue": "593.3604447",
            "miner": "znRchPtvEyJJUwGbCALqyjwHJb1Gx6z4H4j",
            "minerAlias": null,
            "fee": "0.00276716",
            "reward": "6.25276716",
            "miningDifficulty": "27602201.14346682"
        }
    ]
}
Last update: