跳至主要內容

区块

tokenview大约 7 分钟

区块

最新块高

GET https://services.tokenview.io/vipapi/block/latest/{公链简称小写}?apikey={apikey}

参数

Request

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

Response

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

区块头详情

GET https://services.tokenview.io/vipapi/block/{公链简称小写}/{区块高度}?apikey={apikey}

参数

区块头的三组数据:
  • 父区块哈希值的数据
  • 挖矿难度值、区块时间戳以及随机数
  • Merkle树根

Request

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

Response

{
    "code": 1,
    "msg": "成功",
    "data": [
        {
            "type": "block",
            "network": "ETH",
            "block_no": 16145538,
            "time": 1670569403,
            "fee": "0.018807620828853719",
            "blockhash": "0x7c1b3b356a8326e50a6dda451ecf40b34de6724a402aaf32d26e0e1720f85da1",
            "reward": "0.018807620828853719",
            "size": 61203,
            "previous_blockhash": "0xf070e6d5ec480949aaf3b1ffdebc351f24de61ec03ace7bb7bf59d4f15768519",
            "next_blockhash": "0xf6fa5c6b6ae3d683d27a5df15f9f0d1da78468b0459e306e1a28e284af426cf8",
            "confirmations": 2,
            "miner": "0xf2f5c73fa04406b1995e397b55c24ab1f3ea726c",
            "txs": [
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 0,
                    "time": 1670569403,
                    "txid": "0xe3688918553ecf5fcd25f3811fa565e3de6241c1b85ab7198364163192907079",
                    "fee": "0.001659074907811403",
                    "confirmations": 2,
                    "from": "0x38563699560e4512c7574c8cc5cf89fd43923bca",
                    "to": "0x000000000035b5e5ad9019092c665357240f594e",
                    "nonce": 144404,
                    "toIsContract": 1,
                    "gasPrice": 14715807983,
                    "gasLimit": 212741,
                    "value": "0",
                    "gasUsed": 112741,
                    "tokenTransfer": [
                        {
                            "index": 0,
                            "token": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                            "tokenAddr": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                            "tokenSymbol": "WETH",
                            "tokenDecimals": "18",
                            "tokenInfo": {
                                "h": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                                "f": "Wrapped Ether",
                                "s": "WETH",
                                "d": "18"
                            },
                            "from": "0x000000000035b5e5ad9019092c665357240f594e",
                            "to": "0xf284a63c6824137037a598a49c9c92d4708da2bf",
                            "value": "429260253906250000",
                            "fromIsContract": 1,
                            "toIsContract": 1
                        },
                        {
                            "index": 0,
                            "token": "0xe7defe4c26eb1fc5017a8f8bbbca3baf516f5fa0",
                            "tokenAddr": "0xe7defe4c26eb1fc5017a8f8bbbca3baf516f5fa0",
                            "tokenSymbol": "DREAM",
                            "tokenDecimals": "18",
                            "tokenInfo": {
                                "h": "0xe7defe4c26eb1fc5017a8f8bbbca3baf516f5fa0",
                                "f": "Yumekujira",
                                "s": "DREAM",
                                "d": "18"
                            },
                            "from": "0xf284a63c6824137037a598a49c9c92d4708da2bf",
                            "to": "0x000000000035b5e5ad9019092c665357240f594e",
                            "value": "4798037748715391197669154104",
                            "fromIsContract": 1,
                            "toIsContract": 1
                        }
                    ],
                    "maxFeePerGas": 14715807983,
                    "maxPriorityFeePerGas": 14715807983
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 1,
                    "time": 1670569403,
                    "txid": "0xf7fab1ae6405b739d300c8bf5c2435990460e1af1a5801d12590cfcb2cd8a773",
                    "fee": "0.003496874128302018",
                    "confirmations": 2,
                    "from": "0x156503e142687805595e9f39cea5c891cc33690b",
                    "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45",
                    "nonce": 45,
                    "toIsContract": 1,
                    "gasPrice": 16215807983,
                    "gasLimit": 270532,
                    "value": "0",
                    "gasUsed": 215646,
                    "tokenTransfer": [
                        {
                            "index": 1,
                            "token": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
                            "tokenAddr": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
                            "tokenSymbol": "USDC",
                            "tokenDecimals": "6",
                            "tokenInfo": {
                                "h": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
                                "f": "USD Coin",
                                "s": "USDC",
                                "d": "6"
                            },
                            "from": "0x156503e142687805595e9f39cea5c891cc33690b",
                            "to": "0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc",
                            "value": "100000000",
                            "toIsContract": 1
                        },
                        {
                            "index": 1,
                            "token": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                            "tokenAddr": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                            "tokenSymbol": "WETH",
                            "tokenDecimals": "18",
                            "tokenInfo": {
                                "h": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                                "f": "Wrapped Ether",
                                "s": "WETH",
                                "d": "18"
                            },
                            "from": "0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc",
                            "to": "0xf284a63c6824137037a598a49c9c92d4708da2bf",
                            "value": "77824984413377275",
                            "fromIsContract": 1,
                            "toIsContract": 1
                        },
                        {
                            "index": 1,
                            "token": "0xe7defe4c26eb1fc5017a8f8bbbca3baf516f5fa0",
                            "tokenAddr": "0xe7defe4c26eb1fc5017a8f8bbbca3baf516f5fa0",
                            "tokenSymbol": "DREAM",
                            "tokenDecimals": "18",
                            "tokenInfo": {
                                "h": "0xe7defe4c26eb1fc5017a8f8bbbca3baf516f5fa0",
                                "f": "Yumekujira",
                                "s": "DREAM",
                                "d": "18"
                            },
                            "from": "0xf284a63c6824137037a598a49c9c92d4708da2bf",
                            "to": "0x156503e142687805595e9f39cea5c891cc33690b",
                            "value": "817861015190922891260127862",
                            "fromIsContract": 1
                        }
                    ],
                    "maxFeePerGas": 23083918148,
                    "maxPriorityFeePerGas": 1500000000
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 2,
                    "time": 1670569403,
                    "txid": "0x638dfe1315bb95f1ae10ed80d81dad43e32372bd74449f2be310166cc3e24817",
                    "fee": "0.003590603073509231",
                    "confirmations": 2,
                    "from": "0x38563699560e4512c7574c8cc5cf89fd43923bca",
                    "to": "0x000000000035b5e5ad9019092c665357240f594e",
                    "nonce": 144405,
                    "toIsContract": 1,
                    "gasPrice": 30110131519,
                    "gasLimit": 219249,
                    "value": "0",
                    "gasUsed": 119249,
                    "tokenTransfer": [
                        {
                            "index": 2,
                            "token": "0xe7defe4c26eb1fc5017a8f8bbbca3baf516f5fa0",
                            "tokenAddr": "0xe7defe4c26eb1fc5017a8f8bbbca3baf516f5fa0",
                            "tokenSymbol": "DREAM",
                            "tokenDecimals": "18",
                            "tokenInfo": {
                                "h": "0xe7defe4c26eb1fc5017a8f8bbbca3baf516f5fa0",
                                "f": "Yumekujira",
                                "s": "DREAM",
                                "d": "18"
                            },
                            "from": "0x000000000035b5e5ad9019092c665357240f594e",
                            "to": "0xf284a63c6824137037a598a49c9c92d4708da2bf",
                            "value": "4798037748715391197669154103",
                            "fromIsContract": 1,
                            "toIsContract": 1
                        },
                        {
                            "index": 2,
                            "token": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                            "tokenAddr": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                            "tokenSymbol": "WETH",
                            "tokenDecimals": "18",
                            "tokenInfo": {
                                "h": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                                "f": "Wrapped Ether",
                                "s": "WETH",
                                "d": "18"
                            },
                            "from": "0xf284a63c6824137037a598a49c9c92d4708da2bf",
                            "to": "0x000000000035b5e5ad9019092c665357240f594e",
                            "value": "434551227050157360",
                            "fromIsContract": 1,
                            "toIsContract": 1
                        }
                    ],
                    "maxFeePerGas": 30110131519,
                    "maxPriorityFeePerGas": 30110131519
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 3,
                    "time": 1670569403,
                    "txid": "0x377678ccfbcabd3d2d7ea08d9d0f0be09bdc73806ab3f24a9059c0ea2e56264a",
                    "fee": "0.000648522687977622",
                    "confirmations": 2,
                    "from": "0x506c082ae6caabba8a37bd5a8b671aeac4f68164",
                    "to": "0x58124619a4ea38d215d36c962ac5cd73462acdd6",
                    "nonce": 143732,
                    "toIsContract": 1,
                    "gasPrice": 23494645074,
                    "gasLimit": 82809,
                    "value": "0",
                    "gasUsed": 27603
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 4,
                    "time": 1670569403,
                    "txid": "0x3c4c7b7bbcff27d31d35b6db99deaa0c82d347635324046fe144065b9cebd7d9",
                    "fee": "0.000450896521257",
                    "confirmations": 2,
                    "from": "0xb77c64a1fd89d57e0f26e1a5c0a4d5934ad84350",
                    "to": "0xf6c465989b9bcb745cad0c9b96ede6bf21849bb7",
                    "nonce": 34926,
                    "gasPrice": 21471262917,
                    "gasLimit": 21000,
                    "value": "0.46050676",
                    "gasUsed": 21000
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 5,
                    "time": 1670569403,
                    "txid": "0xd28025caf259ebb783ea9c604cc895d9ebd62454f4cb52c5d108f17119da5f56",
                    "fee": "0.00043596",
                    "confirmations": 2,
                    "from": "0x883826032fb44e832b55f6e338038e51e49d4cf3",
                    "to": "0x6dfc34609a05bc22319fa4cce1d1e2929548c0d7",
                    "nonce": 0,
                    "gasPrice": 20760000000,
                    "gasLimit": 21000,
                    "value": "0.01519404",
                    "gasUsed": 21000
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 6,
                    "time": 1670569403,
                    "txid": "0xd19d9f60cee9572f59f5e16981b70e253a0f4c21d75668296f727a561d52af2b",
                    "fee": "0.001089136657923032",
                    "confirmations": 2,
                    "from": "0xbf945fd1d86656f3839cab709a51f35c362c689a",
                    "to": "0xe9663ae7d85d8f1ecee35e54538e846626a63b89",
                    "nonce": 6,
                    "toIsContract": 1,
                    "gasPrice": 19921652392,
                    "gasLimit": 59651,
                    "value": "0",
                    "gasUsed": 54671,
                    "callTransfer": [
                        {
                            "index": 6,
                            "fromIsContract": 1,
                            "from": "0xe9663ae7d85d8f1ecee35e54538e846626a63b89",
                            "to": "0xbf945fd1d86656f3839cab709a51f35c362c689a",
                            "value": "0.099",
                            "gasUsed": 0,
                            "gasLimit": 3719
                        }
                    ],
                    "maxFeePerGas": 19921652392,
                    "maxPriorityFeePerGas": 19921652392
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 7,
                    "time": 1670569403,
                    "txid": "0x6fc6da499013f24fe675eaea4bf2380ec4a3d58ece6e09157e98bec9057c3cb1",
                    "fee": "0.00091924",
                    "confirmations": 2,
                    "from": "0x6dfc34609a05bc22319fa4cce1d1e2929548c0d7",
                    "to": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                    "nonce": 924781,
                    "toIsContract": 1,
                    "gasPrice": 19600000000,
                    "gasLimit": 100000,
                    "value": "0",
                    "gasUsed": 46900,
                    "tokenTransfer": [
                        {
                            "index": 7,
                            "token": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                            "tokenAddr": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                            "tokenSymbol": "USDT",
                            "tokenDecimals": "6",
                            "tokenInfo": {
                                "h": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                                "f": "Tether USD",
                                "s": "USDT",
                                "d": "6"
                            },
                            "from": "0xc7cbc75cafebf245c225ac235f8a7a0cf9d4beff",
                            "to": "0x6dfc34609a05bc22319fa4cce1d1e2929548c0d7",
                            "value": "43303054"
                        }
                    ]
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 8,
                    "time": 1670569403,
                    "txid": "0xabafc74ed527c6bd60ac2026cb88b3ec5c108d7afda0d872a139174182e8bd36",
                    "fee": "0.00041118",
                    "confirmations": 2,
                    "from": "0xa1e1404249789a38e9fadfdac66b6c8b136f0368",
                    "to": "0x6dfc34609a05bc22319fa4cce1d1e2929548c0d7",
                    "nonce": 0,
                    "gasPrice": 19580000000,
                    "gasLimit": 21000,
                    "value": "0.01310029",
                    "gasUsed": 21000
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 9,
                    "time": 1670569403,
                    "txid": "0xc09338fdf71fecf53aa5d2a050d4661292e469ea34161299cfe580743171c01a",
                    "fee": "0.0003969",
                    "confirmations": 2,
                    "from": "0xcc573822e72372e795802075791f54df81d01650",
                    "to": "0xef693d6eadccdbb98d557690d76506f4a4ab047f",
                    "nonce": 17,
                    "gasPrice": 18900000000,
                    "gasLimit": 21000,
                    "value": "0.002247579235822756",
                    "gasUsed": 21000
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 10,
                    "time": 1670569403,
                    "txid": "0x4fa5a3e45bd3e0c26b2c2a970c6ece9d2976b05722b4aa8c5a0ef11db00212a6",
                    "fee": "0.000394710037239",
                    "confirmations": 2,
                    "from": "0xf34c84e9c7256247ebd28232b8cb00163436daea",
                    "to": "0x094b4cf43908f0adb3dbdb5025f52470aac3b160",
                    "nonce": 1492,
                    "gasPrice": 18795716059,
                    "gasLimit": 21000,
                    "value": "0.149605289962761",
                    "gasUsed": 21000
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 11,
                    "time": 1670569403,
                    "txid": "0x5f650ed07552f69a6c9d70e7d4b90c2da6facd1590b18bed9563b92005c18f40",
                    "fee": "0.000837324",
                    "confirmations": 2,
                    "from": "0x7f56dfc14b3b020e703450d8e349f45ef034468f",
                    "to": "0x249ca82617ec3dfb2589c4c17ab7ec9765350a18",
                    "nonce": 2,
                    "toIsContract": 1,
                    "gasPrice": 18000000000,
                    "gasLimit": 46518,
                    "value": "0",
                    "gasUsed": 46518
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 12,
                    "time": 1670569403,
                    "txid": "0xe75920aeed49bf602d9957e139814b1d539eea22f23b6c82f6aa837c389fece5",
                    "fee": "0.000632784293116065",
                    "confirmations": 2,
                    "from": "0x2bd61f77c6015a57deb730a89a2be0a08c0a24b0",
                    "to": "0x473037de59cf9484632f4a27b509cfe8d4a31404",
                    "nonce": 2,
                    "toIsContract": 1,
                    "gasPrice": 17958969579,
                    "gasLimit": 130000,
                    "value": "0",
                    "gasUsed": 35235,
                    "tokenTransfer": [
                        {
                            "index": 12,
                            "token": "0x473037de59cf9484632f4a27b509cfe8d4a31404",
                            "tokenAddr": "0x473037de59cf9484632f4a27b509cfe8d4a31404",
                            "tokenSymbol": "GST",
                            "tokenDecimals": "8",
                            "tokenInfo": {
                                "h": "0x473037de59cf9484632f4a27b509cfe8d4a31404",
                                "f": "GreenSatoshiToken",
                                "s": "GST",
                                "d": "8"
                            },
                            "from": "0x2bd61f77c6015a57deb730a89a2be0a08c0a24b0",
                            "to": "0x6238872a0bd9f0e19073695532a7ed77ce93c69e",
                            "value": "3500000000"
                        }
                    ],
                    "maxFeePerGas": 32431615966,
                    "maxPriorityFeePerGas": 3243161596
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 13,
                    "time": 1670569403,
                    "txid": "0x2125e5c99fc324925bab83ebc7b51ae05ccf7ea0be471364376503d9af7745bf",
                    "fee": "0.000372282129786",
                    "confirmations": 2,
                    "from": "0x517f57e9b66bb4c0a9762368322a31df2eb1d49f",
                    "to": "0x1409c701bcce01a0e01f4ca02201b50fa3840ade",
                    "nonce": 28,
                    "gasPrice": 17727720466,
                    "gasLimit": 21000,
                    "value": "3.478",
                    "gasUsed": 21000,
                    "maxFeePerGas": 19000000000,
                    "maxPriorityFeePerGas": 3011912483
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 14,
                    "time": 1670569403,
                    "txid": "0x369ec0514b5d493126bc448ed9d0980331c896cba053e70e3540fc05bed82fdd",
                    "fee": "0.002749103651185974",
                    "confirmations": 2,
                    "from": "0xd873d47495e2c9f8b17580cc322fa4a8057cafae",
                    "to": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
                    "nonce": 3313,
                    "toIsContract": 1,
                    "gasPrice": 17715807983,
                    "gasLimit": 273692,
                    "value": "0.05",
                    "gasUsed": 155178,
                    "callTransfer": [
                        {
                            "index": 14,
                            "fromIsContract": 1,
                            "toIsContract": 1,
                            "from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
                            "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                            "value": "0.05",
                            "gasUsed": 23974,
                            "gasLimit": 229257
                        }
                    ],
                    "tokenTransfer": [
                        {
                            "index": 14,
                            "token": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                            "tokenAddr": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                            "tokenSymbol": "WETH",
                            "tokenDecimals": "18",
                            "tokenInfo": {
                                "h": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                                "f": "Wrapped Ether",
                                "s": "WETH",
                                "d": "18"
                            },
                            "from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
                            "to": "0xc1eb1c99ef79add000a1bac6508da0f5361fe014",
                            "value": "50000000000000000",
                            "fromIsContract": 1,
                            "toIsContract": 1
                        },
                        {
                            "index": 14,
                            "token": "0xd2f9d77984a2e5dc899a40c5d257c3a02750555c",
                            "tokenAddr": "0xd2f9d77984a2e5dc899a40c5d257c3a02750555c",
                            "tokenSymbol": "XAPE",
                            "tokenDecimals": "8",
                            "tokenInfo": {
                                "h": "0xd2f9d77984a2e5dc899a40c5d257c3a02750555c",
                                "f": "Xen Ape",
                                "s": "XAPE",
                                "d": "8"
                            },
                            "from": "0xc1eb1c99ef79add000a1bac6508da0f5361fe014",
                            "to": "0xd873d47495e2c9f8b17580cc322fa4a8057cafae",
                            "value": "2956325548598",
                            "fromIsContract": 1
                        }
                    ],
                    "maxFeePerGas": 26228026221,
                    "maxPriorityFeePerGas": 3000000000
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 15,
                    "time": 1670569403,
                    "txid": "0xeba3a7af366235c70be81efa9cf39495c7c1ea05256ff52666d39806438e55af",
                    "fee": "0.003034912781375713",
                    "confirmations": 2,
                    "from": "0x8cd9a395eeec6442dc6a85f053a4b0043259735a",
                    "to": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
                    "nonce": 1368,
                    "toIsContract": 1,
                    "gasPrice": 17715807983,
                    "gasLimit": 312521,
                    "value": "0.05",
                    "gasUsed": 171311,
                    "callTransfer": [
                        {
                            "index": 15,
                            "fromIsContract": 1,
                            "toIsContract": 1,
                            "from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
                            "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                            "value": "0.05",
                            "gasUsed": 23974,
                            "gasLimit": 267391
                        }
                    ],
                    "tokenTransfer": [
                        {
                            "index": 15,
                            "token": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                            "tokenAddr": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                            "tokenSymbol": "WETH",
                            "tokenDecimals": "18",
                            "tokenInfo": {
                                "h": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                                "f": "Wrapped Ether",
                                "s": "WETH",
                                "d": "18"
                            },
                            "from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
                            "to": "0x596d7b33ff5e9fd331ffd3e93c326a4289ad5979",
                            "value": "50000000000000000",
                            "fromIsContract": 1,
                            "toIsContract": 1
                        },
                        {
                            "index": 15,
                            "token": "0x66cbde213a4465b863f481f7fb375fd4cb1a8a49",
                            "tokenAddr": "0x66cbde213a4465b863f481f7fb375fd4cb1a8a49",
                            "tokenSymbol": "Hope",
                            "tokenDecimals": "18",
                            "tokenInfo": {
                                "h": "0x66cbde213a4465b863f481f7fb375fd4cb1a8a49",
                                "f": "Water Rabbit",
                                "s": "Hope",
                                "d": "18"
                            },
                            "from": "0x596d7b33ff5e9fd331ffd3e93c326a4289ad5979",
                            "to": "0x66cbde213a4465b863f481f7fb375fd4cb1a8a49",
                            "value": "486592123569001451576774",
                            "fromIsContract": 1,
                            "toIsContract": 1
                        },
                        {
                            "index": 15,
                            "token": "0x66cbde213a4465b863f481f7fb375fd4cb1a8a49",
                            "tokenAddr": "0x66cbde213a4465b863f481f7fb375fd4cb1a8a49",
                            "tokenSymbol": "Hope",
                            "tokenDecimals": "18",
                            "tokenInfo": {
                                "h": "0x66cbde213a4465b863f481f7fb375fd4cb1a8a49",
                                "f": "Water Rabbit",
                                "s": "Hope",
                                "d": "18"
                            },
                            "from": "0x596d7b33ff5e9fd331ffd3e93c326a4289ad5979",
                            "to": "0x8cd9a395eeec6442dc6a85f053a4b0043259735a",
                            "value": "1946368494276005806307100",
                            "fromIsContract": 1
                        }
                    ],
                    "maxFeePerGas": 25073711975,
                    "maxPriorityFeePerGas": 3000000000
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 16,
                    "time": 1670569403,
                    "txid": "0x08196632681b7b0f7e4e1611cf0adb9e39a7f1afb6afd6adada36b5b31ec9311",
                    "fee": "0.006075028242001125",
                    "confirmations": 2,
                    "from": "0xf5bb3aa6263eda8e634ffdcff5e0d5d87587d659",
                    "to": "0x595a8974c1473717c4b5d456350cd594d9bda687",
                    "nonce": 800,
                    "toIsContract": 1,
                    "gasPrice": 17215807983,
                    "gasLimit": 700000,
                    "value": "0",
                    "gasUsed": 352875,
                    "tokenTransfer": [
                        {
                            "index": 16,
                            "token": "0x595a8974c1473717c4b5d456350cd594d9bda687",
                            "tokenAddr": "0x595a8974c1473717c4b5d456350cd594d9bda687",
                            "tokenSymbol": "MPUNKS",
                            "tokenDecimals": "0",
                            "tokenInfo": {
                                "h": "0x595a8974c1473717c4b5d456350cd594d9bda687",
                                "f": "MineablePunks",
                                "s": "MPUNKS",
                                "d": "0",
                                "c": "RC721"
                            },
                            "from": "0x0000000000000000000000000000000000000000",
                            "to": "0xf5bb3aa6263eda8e634ffdcff5e0d5d87587d659",
                            "value": "12854",
                            "valueIsNft": "1"
                        }
                    ],
                    "maxFeePerGas": 33470701628,
                    "maxPriorityFeePerGas": 2500000000
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 17,
                    "time": 1670569403,
                    "txid": "0x9da3b245525d28c7a816db1f966c9cc21275591cd47a8a6c6e493b9c3ee156ba",
                    "fee": "0.000357",
                    "confirmations": 2,
                    "from": "0x3960ee011277fdf74f81d84aaa73eef8c2459f36",
                    "to": "0x4e5b2e1dc63f6b91cb6cd759936495434c7e972f",
                    "nonce": 0,
                    "gasPrice": 17000000000,
                    "gasLimit": 21000,
                    "value": "0.321026502966240549",
                    "gasUsed": 21000
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 18,
                    "time": 1670569403,
                    "txid": "0xc70a40c7981112b9ad2080d51bed4dd0c18810a80f501953bf1725949b6a4232",
                    "fee": "0.000351052967643",
                    "confirmations": 2,
                    "from": "0x91a0a3043f68986043d7083c4d85b558b21f0a7b",
                    "to": "0xdc68f279a22cbe14225d57179369e0fe57feac2a",
                    "nonce": 63143,
                    "gasPrice": 16716807983,
                    "gasLimit": 50000,
                    "value": "0.10134703",
                    "gasUsed": 21000,
                    "maxFeePerGas": 999000000000,
                    "maxPriorityFeePerGas": 2001000000
                },
                {
                    "type": "tx",
                    "network": "ETH",
                    "block_no": 16145538,
                    "height": 16145538,
                    "index": 19,
                    "time": 1670569403,
                    "txid": "0x4fad726dd34a3db81cd1de70779e43136213e198f00f288cd939114109823975",
                    "fee": "0.000508227425915132",
                    "confirmations": 2,
                    "from": "0x47b20272ebee4233aad387dd88aa80ddaf55032b",
                    "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                    "nonce": 5819,
                    "toIsContract": 1,
                    "gasPrice": 16715807983,
                    "gasLimit": 39617,
                    "value": "0",
                    "gasUsed": 30404,
                    "callTransfer": [
                        {
                            "index": 19,
                            "fromIsContract": 1,
                            "from": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                            "to": "0x47b20272ebee4233aad387dd88aa80ddaf55032b",
                            "value": "0.03570875",
                            "gasUsed": 0,
                            "gasLimit": 2300
                        }
                    ],
                    "maxFeePerGas": 29179748779,
                    "maxPriorityFeePerGas": 2000000000
                }
            ],
            "merkleroot": "0xb1151dc2c303d9caf76bb6c6edce3b18ea10885ff8eb5c4f8951ddcb9a4df293",
            "unclesReward": "0",
            "mixHash": "0x8fc82e4090d4107e0e75095edcab4bff5fc374f7b82c7e357181154918a9b9c5",
            "gasLimit": 30000000,
            "lowestGasPrice": 14715807983,
            "gasUsed": 14266866,
            "nonce": "0x0000000000000000",
            "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
            "receiptsRoot": "0xdb70d1dead7381a2e5f8d13ef95529ac8a36c6fd3af5b7e5243f249b2ef28532",
            "callTxCnt": 62,
            "tokenTxCnt": 119,
            "sent_value": "33.832094114410699637",
            "extraData": "Powered by bloXroute(Hex:0x506f776572656420627920626c6f58726f757465)",
            "mining_difficulty": "0",
            "totalDifficulty": "58750003716598352816469",
            "txCnt": 145,
            "uncles": [],
            "baseFeePerGas": 14715807983,
            "burntFee": "0.209948460575191278"
        }
    ]
}

应答字段说明

"data": [
{
    "type": "block",  // 应答的类型:区块
    "network": "USDT", // 所属公链简称
    "block_no": "576905", // 区块号/索引/高度
    "time": 1558338742, // 区块打包的UTC时间
    "fee": "0.20745427", // 该区块的所有交易手续费之和(单位BTC)
    "blockhash": "00000000000000000026d24d5d14ffe158601c8b0593242aab33bd430318d46d", // 区块哈希
    "reward": 12.82, // 区块奖励
    "size": 23212, // 区块大小
    "previous_blockhash": "000000000000000000293d79271c9373ae7635354f417963a47e5bfd941aaa3d", // 前一个区块的哈希
    "next_blockhash": "000000000000000000027fa12c9e27b184df107d6bf174ff916c7cd6b7308632", // 后一个区块的哈希
    "confirmations": 3, // 确认数
    "miner": "164PCzabq18UN1p1KhtxvLA3AitQ2RAuNM", // 打包该区块的矿工地址哈希
    "minerAlias": "poolin", // 矿工的别名
    "txs": [],  // 交易列表
    "sent_value": 7349614.50752171, // 该区块的总转账额
    "mining_difficulty": null, // 打包该区块时的挖矿难度
    "merkleroot": "1a2d7d7043cd6849b7e824a90cf9387cef96a212f70f7ce617ef7f29c3da5757", // 梅克尔跟哈希
    "txCnt": 624 // 改区块包含的交易条数
}]

区块交易列表

GET https://services.tokenview.io/vipapi/{公链简称小写}/{区块高度}/{页码}/{每页交易条数}?apikey={apikey}

参数

  • {公链简称小写}: eth, bsc, kcs, movr
  • {区块高度}:公链区块块高;
  • {页码}:1,2,3,... 50,最多50页;
  • {每页交易条数}:1,2,3...50,每页交易条数,最多50条。
  • {apikey}: 可在Tokenview API 后台管理系统获取激活状态的 APIKEY: https://services.tokenview.ioopen in new window

Request

curl --location https://services.tokenview.io/vipapi/tx/eth/5500018/1/1?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": [
        {
            "type": "tx",
            "network": "ETH",
            "height": 5500018,
            "blockHash": null,
            "index": "0",
            "time": 1524611547,
            "txid": "0xacb462618915ada1ffb3281e0abdc4de10fd395b5752d9814e279f7345d93c3b",
            "fee": "0.00208068",
            "confirmations": null,
            "from": "0x03747f06215b44e498831da019b27f53e483599f",
            "fromAlias": null,
            "to": "0xf230b790e05390fc8295f4d3f60332c93bed42e2",
            "toAlias": "TronToken",
            "nonce": 411513,
            "formIsContract": null,
            "toIsContract": 1,
            "block_no": 5500018,
            "gasPrice": 56000000000,
            "gasLimit": 137155,
            "value": "0",
            "gasUsed": 37155,
            "callTransferErr": null,
            "tokenTransferErr": null,
            "traceErr": null,
            "receiptErr": null,
            "create": null,
            "suicide": null,
            "callTransfer": null,
            "tokenTransfer": [
                {
                    "index": "0",
                    "block_no": null,
                    "token": "0xf230b790e05390fc8295f4d3f60332c93bed42e2",
                    "time": null,
                    "from": "0x03747f06215b44e498831da019b27f53e483599f",
                    "to": "0xfe5b118499653756cba7388d350cbe696f71a5eb",
                    "fromAlias": null,
                    "toAlias": null,
                    "value": "26065304436",
                    "txid": null,
                    "tokenInfo": null
                }
            ]
        }
    ]
}

区块列表

GET https://services.tokenview.io/vipapi/blocks/{公链简称}/{页码}/{每页条数}?apikey={apikey}

参数

  • {公链简称小写}: eth, bsc, kcs, movr
  • {页码}:1,2,3,... 50,最多50页;
  • {每页条数}:1,2,3...50,每页条数,最多50条。
  • {apikey}: 可在Tokenview API 后台管理系统获取激活状态的 APIKEY: https://services.tokenview.ioopen in new window
按公链块高降序排列。

Request

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

Response

{
    "code": 1,
    "msg": "成功",
    "data": [
        {
            "network": "ETH",
            "block_no": 16145577,
            "time": 1670569871,
            "size": 116694,
            "txCnt": 507,
            "sentValue": "277.598106904323245342",
            "miner": "0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",
            "minerAlias": "",
            "fee": "0.034187092883575915",
            "reward": "0.034187092883575915",
            "miningDifficulty": "0",
            "gasLimit": 30000000,
            "gasPrice": 16438050231,
            "gasUsed": 17002641
        },
        {
            "network": "ETH",
            "block_no": 16145576,
            "time": 1670569859,
            "size": 77591,
            "txCnt": 446,
            "sentValue": "243.574073169820171485",
            "miner": "0x690b9a9e9aa1c9db991c7721a92d351db4fac990",
            "minerAlias": "",
            "fee": "0.021736794927418875",
            "reward": "0.021736794927418875",
            "miningDifficulty": "0",
            "gasLimit": 30000000,
            "gasPrice": 16633401772,
            "gasUsed": 13590656
        },
        {
            "network": "ETH",
            "block_no": 16145575,
            "time": 1670569847,
            "size": 112038,
            "txCnt": 517,
            "sentValue": "318.329204089651911333",
            "miner": "0xf2f5c73fa04406b1995e397b55c24ab1f3ea726c",
            "minerAlias": "",
            "fee": "0.041567873750070273",
            "reward": "0.041567873750070273",
            "miningDifficulty": "0",
            "gasLimit": 30000000,
            "gasPrice": 16287291135,
            "gasUsed": 17550042
        },
        {
            "network": "ETH",
            "block_no": 16145574,
            "time": 1670569835,
            "size": 91477,
            "txCnt": 544,
            "sentValue": "293.094522967311353553",
            "miner": "0x690b9a9e9aa1c9db991c7721a92d351db4fac990",
            "minerAlias": "",
            "fee": "0.035542111341181251",
            "reward": "0.035542111341181251",
            "miningDifficulty": "0",
            "gasLimit": 30000000,
            "gasPrice": 15929347026,
            "gasUsed": 17696488
        },
        {
            "network": "ETH",
            "block_no": 16145573,
            "time": 1670569823,
            "size": 78321,
            "txCnt": 462,
            "sentValue": "253.427477456006143599",
            "miner": "0xaab27b150451726ec7738aa1d0a94505c8729bd1",
            "minerAlias": "",
            "fee": "0.112558521713532792",
            "reward": "0.112558521713532792",
            "miningDifficulty": "0",
            "gasLimit": 30000000,
            "gasPrice": 16009190596,
            "gasUsed": 14401517
        },
        {
            "network": "ETH",
            "block_no": 16145572,
            "time": 1670569811,
            "size": 126068,
            "txCnt": 550,
            "sentValue": "284.304629235756364125",
            "miner": "0xf2f5c73fa04406b1995e397b55c24ab1f3ea726c",
            "minerAlias": "",
            "fee": "0.039940493630638262",
            "reward": "0.039940493630638262",
            "miningDifficulty": "0",
            "gasLimit": 30000000,
            "gasPrice": 15613979057,
            "gasUsed": 18037367
        },
        {
            "network": "ETH",
            "block_no": 16145571,
            "time": 1670569799,
            "size": 63733,
            "txCnt": 419,
            "sentValue": "10283.059186633692471437",
            "miner": "0x123b9747ede9db10f64e0c5c6fd0f5ac68a0a806",
            "minerAlias": "",
            "fee": "0.021414039527735276",
            "reward": "0.021414039527735276",
            "miningDifficulty": "0",
            "gasLimit": 30000000,
            "gasPrice": 16962792545,
            "gasUsed": 12377801
        },
        {
            "network": "ETH",
            "block_no": 16145570,
            "time": 1670569787,
            "size": 116629,
            "txCnt": 503,
            "sentValue": "279.835716134117035305",
            "miner": "0x4a6330220914727a2456a8a059f1ac5b5a1e5b6a",
            "minerAlias": "",
            "fee": "0.026141321545189683",
            "reward": "0.026141321545189683",
            "miningDifficulty": "0",
            "gasLimit": 30000000,
            "gasPrice": 15386270320,
            "gasUsed": 20891317
        },
        {
            "network": "ETH",
            "block_no": 16145569,
            "time": 1670569775,
            "size": 109528,
            "txCnt": 527,
            "sentValue": "336.296567742670358408",
            "miner": "0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",
            "minerAlias": "",
            "fee": "0.037412703183685236",
            "reward": "0.037412703183685236",
            "miningDifficulty": "0",
            "gasLimit": 30000000,
            "gasPrice": 14968652935,
            "gasUsed": 16981190
        },
        {
            "network": "ETH",
            "block_no": 16145568,
            "time": 1670569763,
            "size": 87443,
            "txCnt": 431,
            "sentValue": "233.200749963729640539",
            "miner": "0x690b9a9e9aa1c9db991c7721a92d351db4fac990",
            "minerAlias": "",
            "fee": "0.044463786403164851",
            "reward": "0.044463786403164851",
            "miningDifficulty": "0",
            "gasLimit": 30000000,
            "gasPrice": 14998024441,
            "gasUsed": 14764997
        }
    ]
}
上次编辑于: