区块
大约 8 分钟
区块
最新块高
GET
https://services.tokenview.io/vipapi/block/latest/trx?apikey={apikey}
参数
- {apikey}: 可在Tokenview API 后台管理系统获取激活状态的 APIKEY: https://services.tokenview.io
Request
curl --location https://services.tokenview.io/vipapi/coin/latest/trx?apikey={apikey}
Response
{
"code": 1,
"msg": "成功",
"data": 46747107
}
区块头详情
GET
https://services.tokenview.io/vipapi/block/trx/{区块高度}?apikey={apikey}
参数
- {区块高度}:TRX公链的区块高度;
- {apikey}: 可在Tokenview API 后台管理系统获取激活状态的 APIKEY: https://services.tokenview.io
区块头的三组数据:
- 父区块哈希值的数据
- 挖矿难度值、区块时间戳以及随机数
- Merkle树根
Request
curl --location https://services.tokenview.io/vipapi/block/trx/46746231?apikey={apikey}
Response
{
"code": 1,
"msg": "成功",
"data": [
{
"type": "block",
"network": "TRX",
"block_no": 46746231,
"time": 1670826945,
"fee": "679.72236",
"blockhash": "0000000002c94a77d61344443cad0d66f4406d38c9774da98db7282b9d6eb53a",
"reward": "32",
"size": 19044,
"previous_blockhash": "0000000002c94a768113b632cd16cfe3fd901df554285e7fcfe95ae62588d706",
"next_blockhash": "0000000002c94a78dd27348707809d7f822dc0426055a3db4cc7168f3160f57a",
"confirmations": 892,
"miner": "TQ4bh4nQknQp33vuf1mUAKu5M5TWW8cTAD",
"txs": [
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 0,
"time": 1670826945,
"txid": "3d9e3cc8d8b7feb7c7537a71d6b7d91f197cbed3cd180952c7c4dc8a4f5ba9ae",
"fee": "0",
"tType": "Transfer",
"confirmations": 892,
"from": "TTzuA3GXGpMuNzC3h4Sebaq29rwAxFUHfb",
"to": "TQhzDaUwffiUQXyHjAYHi9UsRgxQ6bH7Fj",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 1,
"time": 1670826945,
"txid": "e3c5e2e607c099895cd3ac7a73d71b302737f6b52cad47b715569eb50cb9e3cd",
"fee": "0",
"tType": "Transfer",
"confirmations": 892,
"from": "TJnBTEZYyvHPk1znijSaKq26oLTJYGWu79",
"to": "TJUUASvdzXabYaVSGTLZaQM46P3iSUNSzA",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 2,
"time": 1670826945,
"txid": "f070b0953f2140e38690f3d1d1dfc4769cc1a40ef071ad57383eb24e319b96fb",
"fee": "0",
"tType": "Transfer",
"confirmations": 892,
"from": "TLenAF5chYmby9VtyNkiBWGArAPpL1eG7S",
"to": "TZDqrcSHzyvbSAeKzq53NkrNCAi3ehsWaP",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 3,
"time": 1670826945,
"txid": "7db7801d7273b1db4df8dd41818af72e29063d984c9f462678cde6ae594a014d",
"fee": "0",
"tType": "Transfer",
"confirmations": 892,
"from": "TYZLY9tfeRap37zfoHJz3PJCNAp8htYNhV",
"to": "TS5i4EXuooogJbwV1YPiwQqskqQAtY8CnP",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 4,
"time": 1670826945,
"txid": "f970be5c864cecb7b98b0e2e5363247e47127aa7afd8a910053175272229a2d7",
"fee": "0",
"tType": "Trigger Smart",
"confirmations": 892,
"from": "TMQFUagwNToqMQikTCTdbyjXyeMQuAtMfW",
"to": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"value": "0",
"gasFee": 0,
"gasUsed": 20283,
"gasLimit": 10000000,
"expiration": 1670826999,
"toIsContract": 1,
"netFee": 0,
"tokenTransfer": [
{
"index": 4,
"token": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenAddr": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenSymbol": "USDT",
"tokenDecimals": "6",
"tokenInfo": {
"h": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"f": "Tether USD",
"s": "USDT",
"d": "6",
"c": "TRC20"
},
"from": "TWWagwU4dU12PeAMz2TURWHyoz4HKfqqjv",
"to": "TFcZkJXGwMKbZwJJQzwoA2BvZufWwHAV56",
"value": "0"
}
],
"input": "23b872dd000000000000000000000000e15183af026d6c111553559f15a02cde9fde8d730000000000000000000000003de95648b9c1de4ebe0537e3f5e116cdf57a9ce30000000000000000000000000000000000000000000000000000000000000000"
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 5,
"time": 1670826945,
"txid": "e78ac7cf761e248d9b724d5819b33ec6c7a8bf360a97d82dfd18f3a944611d42",
"fee": "0.378",
"tType": "Trigger Smart",
"confirmations": 892,
"from": "T9yssSMcwoSXkh4jVpXG8KPPzeAyA5WQk6",
"to": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"value": "0",
"gasFee": 0,
"gasUsed": 20283,
"gasLimit": 100000000,
"expiration": 1670826999,
"toIsContract": 1,
"netFee": 378000,
"tokenTransfer": [
{
"index": 5,
"token": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenAddr": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenSymbol": "USDT",
"tokenDecimals": "6",
"tokenInfo": {
"h": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"f": "Tether USD",
"s": "USDT",
"d": "6",
"c": "TRC20"
},
"from": "TF2Z8dReeo4JZGCiopPQ1MzveVQiATo7Vg",
"to": "TJnBx7oi6WNB4Z4grEqMvke4qz9WC1424C",
"value": "0"
}
],
"input": "23b872dd000000000000000000000041377aae5035e0d8557666dbb414736687493c82c700000000000000000000004160a3adec89b8e2f57766adaac1da560a5fba39850000000000000000000000000000000000000000000000000000000000000000"
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 6,
"time": 1670826945,
"txid": "3ad7cd6ec841097abe550aa821c9476d71aad53de2a6d2d4d0af97ae95382cc5",
"fee": "0",
"tType": "Transfer",
"confirmations": 892,
"from": "TDo6v2wzpYo2TTYXAQuVDkXb4kqHcNsvPx",
"to": "TV7Xz7HaEH9uaznHRxNh8JkouP5qp4G43s",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 7,
"time": 1670826945,
"txid": "c175feecf4c0c68df353b75f7acce3c49f98e8c33d251168e4e77b09ea620312",
"fee": "0",
"tType": "Transfer",
"confirmations": 892,
"from": "TEjdePmXgv1P1e29iqCN8tv7vKpeDFgZkT",
"to": "TUuf25AfzefDrtjJ4ZftGFeZ5vFifgixx7",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 8,
"time": 1670826945,
"txid": "af03760006f92ed7869af45871c8da8def64d0767f39c904f39228b11428379d",
"fee": "6.12528",
"tType": "Trigger Smart",
"confirmations": 892,
"from": "TWhVU1PC6zeZBEM83uC61SFRQNCJPeUuXt",
"to": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"value": "0",
"gasFee": 6125280,
"gasUsed": 14584,
"gasLimit": 150000000,
"expiration": 1670826999,
"toIsContract": 1,
"netFee": 0,
"tokenTransfer": [
{
"index": 8,
"token": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenAddr": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenSymbol": "USDT",
"tokenDecimals": "6",
"tokenInfo": {
"h": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"f": "Tether USD",
"s": "USDT",
"d": "6",
"c": "TRC20"
},
"from": "TWhVU1PC6zeZBEM83uC61SFRQNCJPeUuXt",
"to": "TDoFpfeV32r1ay1vTvFHHto5wHnp8ihtat",
"value": "0"
}
],
"input": "a9059cbb00000000000000000000000029feb2bf0805321c3e636b8ed4920187ef326f1c0000000000000000000000000000000000000000000000000000000000000000"
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 9,
"time": 1670826945,
"txid": "684b2a374d487e3bfd40a796333c541cf67ad9eae176ff071e69d386284986f2",
"fee": "0",
"tType": "Transfer",
"confirmations": 892,
"from": "TJjA5bGug8XiMG7HLYXTgiaBwXdCwnNp3b",
"to": "TDQJjNcKmwt9TfDjGo6825Lh72Mu1tZuEP",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 10,
"time": 1670826945,
"txid": "6c9f8fd8cbbb4786239cb8407fe69ecb5d4e35cffe6d66eef4dfe3be2b555726",
"fee": "0",
"tType": "Transfer",
"confirmations": 892,
"from": "TSaG2pdbEEFfPfqHsh3SjzZ2nzTD7fCZ83",
"to": "TFaYMrpYTc55PBeeTL4QETyT4X52QLrcvs",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 11,
"time": 1670826945,
"txid": "fe6b47ecc87e893b22d97c27392f136029e23b031ae3741df28f9179ec3d72b3",
"fee": "0",
"tType": "Transfer",
"confirmations": 892,
"from": "TLDZdT2i8R3gM66SXVfw4d6UENuCrFzFvS",
"to": "TC2nB7Th9vs3BhMd1DrNQbQ4GmPtcU33Cr",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 12,
"time": 1670826945,
"txid": "f601bf5ef702d6608b663d195c6c49d1585ea38e804425daf41bddacdfe294f4",
"fee": "8.89686",
"tType": "Trigger Smart",
"confirmations": 892,
"from": "TLdV89whLCzqZc75moSC8aiRhLKu78G6gh",
"to": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"value": "0",
"gasFee": 8518860,
"gasUsed": 20283,
"gasLimit": 150000000,
"expiration": 1670826999,
"toIsContract": 1,
"netFee": 378000,
"tokenTransfer": [
{
"index": 12,
"token": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenAddr": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenSymbol": "USDT",
"tokenDecimals": "6",
"tokenInfo": {
"h": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"f": "Tether USD",
"s": "USDT",
"d": "6",
"c": "TRC20"
},
"from": "TY2NWnUCyVmpf1Ncsa1qRxz39rhBTgPSLi",
"to": "TXhcpiCSLu5JFQWXK7ZTbo5JjLHiLLzT29",
"value": "0"
}
],
"input": "23b872dd000000000000000000000000f1ebf4ada553ceef0a02a04740e799d0f147751c000000000000000000000000ee5fff42eb7998bae8a892dfeb036ee36e5f3a5a0000000000000000000000000000000000000000000000000000000000000000"
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 13,
"time": 1670826945,
"txid": "3a861fe0e245f5cae840e58eaa616860139de62dad9cf10307f6b7ba0b0621d1",
"fee": "0",
"tType": "Transfer",
"confirmations": 892,
"from": "TEqkRNuX3UC5R3i726PhZVZEX1sRTCMHb7",
"to": "TWKMHzMBAQfKUQpM5oDsSNj9tzbdgPP1kf",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 14,
"time": 1670826945,
"txid": "fedaa9bfb622ec021f769ee247ef495186d818c72f811266d2f12fcdc028e7ac",
"fee": "0",
"tType": "Transfer",
"confirmations": 892,
"from": "TGXbLSrPqSiX9QD91WZ5JDvvknskTQWP8s",
"to": "TU82cG7jY6P2BD8PTfLu7yt9NJXauFaM2Z",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 15,
"time": 1670826945,
"txid": "8829f449bda8a4128792130f5fb8ba68f6a553a1c53be5b70e9eac50fbc88ee4",
"fee": "0.268",
"tType": "Transfer",
"confirmations": 892,
"from": "TKrEBFKErmreURZK884RZkYSGcS5wdZy55",
"to": "TFqxL4yuikAd57bv32mTUi4hgNWGB9AVRR",
"value": "20",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 268000
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 16,
"time": 1670826945,
"txid": "5f60a66ffca562db4afbb60d752707d9ee5c558a22214e50e9a74051564fc67d",
"fee": "0",
"tType": "Trigger Smart",
"confirmations": 892,
"from": "TMQFUagwNToqMQikTCTdbyjXyeMQuAtMfW",
"to": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"value": "0",
"gasFee": 0,
"gasUsed": 20283,
"gasLimit": 10000000,
"expiration": 1670826999,
"toIsContract": 1,
"netFee": 0,
"tokenTransfer": [
{
"index": 16,
"token": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenAddr": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenSymbol": "USDT",
"tokenDecimals": "6",
"tokenInfo": {
"h": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"f": "Tether USD",
"s": "USDT",
"d": "6",
"c": "TRC20"
},
"from": "TSPm4BB3Whc6pXMQTLs4FVJtzTE3H8vvGk",
"to": "TDqHsAjJWMH1j2ew9NrLMai4sPHV1iP6PJ",
"value": "0"
}
],
"input": "23b872dd000000000000000000000000b426c0b3b898a2c98be8ffdd3190d56538d82f760000000000000000000000002a613c54c4d6c02b1f2b49f0e862365dcc324a1e0000000000000000000000000000000000000000000000000000000000000000"
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 17,
"time": 1670826945,
"txid": "9aec6c9972d218cf97c054d5eeb4ff19bb145a72c3a988ed72653e813ad8f673",
"fee": "6.153",
"tType": "Trigger Smart",
"confirmations": 892,
"from": "TEaxdpgqrTyBRzYJ9DiuvVFBntzH1NqoVo",
"to": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"value": "0",
"gasFee": 6153000,
"gasUsed": 14650,
"gasLimit": 50000000,
"expiration": 1670827116,
"toIsContract": 1,
"netFee": 0,
"tokenTransfer": [
{
"index": 17,
"token": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenAddr": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenSymbol": "USDT",
"tokenDecimals": "6",
"tokenInfo": {
"h": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"f": "Tether USD",
"s": "USDT",
"d": "6",
"c": "TRC20"
},
"from": "TEaxdpgqrTyBRzYJ9DiuvVFBntzH1NqoVo",
"to": "TJZgvdCPg2UABQVaLX5VNCHASvvWh1h3Vu",
"value": "375100000000"
}
],
"input": "a9059cbb0000000000000000000000005e4675582bf0a8b3aab599e6ae0f20c8e5ca6f000000000000000000000000000000000000000000000000000000005755b3c700"
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 18,
"time": 1670826945,
"txid": "0158cda5d4b19f5927870d434513beb1f9c654ebbb92b18cda469e641e8439dc",
"fee": "0",
"tType": "Transfer",
"confirmations": 892,
"from": "TL2NDxuYLTFCFgHhQ3CMnc2hBBu8E2iPEG",
"to": "THck97ZRiALwQUgW3xDuop4JhARHWf3rUv",
"value": "0.000005",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 19,
"time": 1670826945,
"txid": "93cf3af807ac6c4d4b14ea6a67541acedfdad9ac2743b0c56b90fd62a8344dfb",
"fee": "1.1",
"tType": "Transfer",
"confirmations": 892,
"from": "TYQH6rszXCHXE3b5dr8dKmPqB8H6paDKah",
"to": "TUvXArurUUJ3NCfiNTdMREo37Hkjt9peEj",
"value": "49.224",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 24612000,
"expiration": 1670827000,
"netFee": 100000
}
],
"sent_value": "3058.593841",
"merkleroot": "d8559ba2db090bd85f27fbb4bf6baa91c96dcf7ac58d1f1429cc2ce0456ed61b",
"gasLimit": 17023712000,
"gasUsed": 1832043,
"gasFee": 308460180,
"netFee": 23401000,
"txCnt": 328,
"txCntMap": {
"tf": 215,
"ac": 1,
"t": 109,
"fb": 1,
"ub": 2,
"ts": 90
},
"parentHash": "0000000002c94a768113b632cd16cfe3fd901df554285e7fcfe95ae62588d706",
"callTxCnt": 0,
"tokenTxCnt": 109
}
]
}
应答字段说明
{
"code": 1,
"msg": "成功",
"data": [
{
"type": "block", // 应答的类型:区块
"network": "TRX", // 所属公链简称
"block_no": 46746231, // 区块号/索引/高度
"time": 1670826945, // 区块打包的UTC时间
"fee": "679.72236", // 该区块的所有交易手续费之和
"blockhash": "0000000002c94a77d61344443cad0d66f4406d38c9774da98db7282b9d6eb53a", // 区块哈希
"reward": "32", // 区块奖励
"size": 19044, // 区块大小
"previous_blockhash": "0000000002c94a768113b632cd16cfe3fd901df554285e7fcfe95ae62588d706", // 前一个区块的哈希
"next_blockhash": "0000000002c94a78dd27348707809d7f822dc0426055a3db4cc7168f3160f57a", // 后一个区块的哈希
"confirmations": 892, // 确认数
"miner": "TQ4bh4nQknQp33vuf1mUAKu5M5TWW8cTAD", // 打包该区块的矿工地址哈希
"txs": [], // 交易列表
"sent_value": "3058.593841", // 该区块的总转账额
"merkleroot": "d8559ba2db090bd85f27fbb4bf6baa91c96dcf7ac58d1f1429cc2ce0456ed61b", // 梅克尔跟哈希
"gasLimit": 17023712000, // gas最大使用量
"gasUsed": 1832043, // 实际的gas使用量
"gasFee": 308460180,
"netFee": 23401000,
"txCnt": 328, // 该区块包含的交易条数
"txCntMap": {
"tf": 215,
"ac": 1,
"t": 109,
"fb": 1,
"ub": 2,
"ts": 90
},
"parentHash": "0000000002c94a768113b632cd16cfe3fd901df554285e7fcfe95ae62588d706", // 前一个区块的哈希
"callTxCnt": 0,
"tokenTxCnt": 109
}
]
}
区块交易列表
GET
https://services.tokenview.io/vipapi/tx/trx/{区块高度}/{页码}/{每页交易条数}?apikey={apikey}
参数
- {区块高度}:TRX公链的区块高度;
- {页码}:1,2,3,... 50,最多50页;
- {每页交易条数}:1,2,3...50,每页条数,最多50条;
- {apikey}: 可在Tokenview API 后台管理系统获取激活状态的 APIKEY: https://services.tokenview.io
Request
curl --location https://services.tokenview.io/vipapi/tx/trx/46746231/1/10?apikey={apikey}
Response
{
"code": 1,
"msg": "成功",
"data": [
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 0,
"time": 1670826945,
"txid": "3d9e3cc8d8b7feb7c7537a71d6b7d91f197cbed3cd180952c7c4dc8a4f5ba9ae",
"fee": "0",
"tType": "Transfer",
"confirmations": 910,
"from": "TTzuA3GXGpMuNzC3h4Sebaq29rwAxFUHfb",
"to": "TQhzDaUwffiUQXyHjAYHi9UsRgxQ6bH7Fj",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 1,
"time": 1670826945,
"txid": "e3c5e2e607c099895cd3ac7a73d71b302737f6b52cad47b715569eb50cb9e3cd",
"fee": "0",
"tType": "Transfer",
"confirmations": 910,
"from": "TJnBTEZYyvHPk1znijSaKq26oLTJYGWu79",
"to": "TJUUASvdzXabYaVSGTLZaQM46P3iSUNSzA",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 2,
"time": 1670826945,
"txid": "f070b0953f2140e38690f3d1d1dfc4769cc1a40ef071ad57383eb24e319b96fb",
"fee": "0",
"tType": "Transfer",
"confirmations": 910,
"from": "TLenAF5chYmby9VtyNkiBWGArAPpL1eG7S",
"to": "TZDqrcSHzyvbSAeKzq53NkrNCAi3ehsWaP",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 3,
"time": 1670826945,
"txid": "7db7801d7273b1db4df8dd41818af72e29063d984c9f462678cde6ae594a014d",
"fee": "0",
"tType": "Transfer",
"confirmations": 910,
"from": "TYZLY9tfeRap37zfoHJz3PJCNAp8htYNhV",
"to": "TS5i4EXuooogJbwV1YPiwQqskqQAtY8CnP",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 4,
"time": 1670826945,
"txid": "f970be5c864cecb7b98b0e2e5363247e47127aa7afd8a910053175272229a2d7",
"fee": "0",
"tType": "Trigger Smart",
"confirmations": 910,
"from": "TMQFUagwNToqMQikTCTdbyjXyeMQuAtMfW",
"to": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"value": "0",
"gasFee": 0,
"gasUsed": 20283,
"gasLimit": 10000000,
"expiration": 1670826999,
"toIsContract": 1,
"netFee": 0,
"tokenTransfer": [
{
"index": 4,
"token": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenAddr": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenSymbol": "USDT",
"tokenDecimals": "6",
"tokenInfo": {
"h": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"f": "Tether USD",
"s": "USDT",
"d": "6",
"c": "TRC20"
},
"from": "TWWagwU4dU12PeAMz2TURWHyoz4HKfqqjv",
"to": "TFcZkJXGwMKbZwJJQzwoA2BvZufWwHAV56",
"value": "0"
}
],
"input": "23b872dd000000000000000000000000e15183af026d6c111553559f15a02cde9fde8d730000000000000000000000003de95648b9c1de4ebe0537e3f5e116cdf57a9ce30000000000000000000000000000000000000000000000000000000000000000"
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 5,
"time": 1670826945,
"txid": "e78ac7cf761e248d9b724d5819b33ec6c7a8bf360a97d82dfd18f3a944611d42",
"fee": "0.378",
"tType": "Trigger Smart",
"confirmations": 910,
"from": "T9yssSMcwoSXkh4jVpXG8KPPzeAyA5WQk6",
"to": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"value": "0",
"gasFee": 0,
"gasUsed": 20283,
"gasLimit": 100000000,
"expiration": 1670826999,
"toIsContract": 1,
"netFee": 378000,
"tokenTransfer": [
{
"index": 5,
"token": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenAddr": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenSymbol": "USDT",
"tokenDecimals": "6",
"tokenInfo": {
"h": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"f": "Tether USD",
"s": "USDT",
"d": "6",
"c": "TRC20"
},
"from": "TF2Z8dReeo4JZGCiopPQ1MzveVQiATo7Vg",
"to": "TJnBx7oi6WNB4Z4grEqMvke4qz9WC1424C",
"value": "0"
}
],
"input": "23b872dd000000000000000000000041377aae5035e0d8557666dbb414736687493c82c700000000000000000000004160a3adec89b8e2f57766adaac1da560a5fba39850000000000000000000000000000000000000000000000000000000000000000"
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 6,
"time": 1670826945,
"txid": "3ad7cd6ec841097abe550aa821c9476d71aad53de2a6d2d4d0af97ae95382cc5",
"fee": "0",
"tType": "Transfer",
"confirmations": 910,
"from": "TDo6v2wzpYo2TTYXAQuVDkXb4kqHcNsvPx",
"to": "TV7Xz7HaEH9uaznHRxNh8JkouP5qp4G43s",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 7,
"time": 1670826945,
"txid": "c175feecf4c0c68df353b75f7acce3c49f98e8c33d251168e4e77b09ea620312",
"fee": "0",
"tType": "Transfer",
"confirmations": 910,
"from": "TEjdePmXgv1P1e29iqCN8tv7vKpeDFgZkT",
"to": "TUuf25AfzefDrtjJ4ZftGFeZ5vFifgixx7",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 8,
"time": 1670826945,
"txid": "af03760006f92ed7869af45871c8da8def64d0767f39c904f39228b11428379d",
"fee": "6.12528",
"tType": "Trigger Smart",
"confirmations": 910,
"from": "TWhVU1PC6zeZBEM83uC61SFRQNCJPeUuXt",
"to": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"value": "0",
"gasFee": 6125280,
"gasUsed": 14584,
"gasLimit": 150000000,
"expiration": 1670826999,
"toIsContract": 1,
"netFee": 0,
"tokenTransfer": [
{
"index": 8,
"token": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenAddr": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tokenSymbol": "USDT",
"tokenDecimals": "6",
"tokenInfo": {
"h": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"f": "Tether USD",
"s": "USDT",
"d": "6",
"c": "TRC20"
},
"from": "TWhVU1PC6zeZBEM83uC61SFRQNCJPeUuXt",
"to": "TDoFpfeV32r1ay1vTvFHHto5wHnp8ihtat",
"value": "0"
}
],
"input": "a9059cbb00000000000000000000000029feb2bf0805321c3e636b8ed4920187ef326f1c0000000000000000000000000000000000000000000000000000000000000000"
},
{
"type": "tx",
"network": "TRX",
"block_no": 46746231,
"height": 46746231,
"index": 9,
"time": 1670826945,
"txid": "684b2a374d487e3bfd40a796333c541cf67ad9eae176ff071e69d386284986f2",
"fee": "0",
"tType": "Transfer",
"confirmations": 910,
"from": "TJjA5bGug8XiMG7HLYXTgiaBwXdCwnNp3b",
"to": "TDQJjNcKmwt9TfDjGo6825Lh72Mu1tZuEP",
"value": "0.000001",
"gasFee": 0,
"gasUsed": 0,
"gasLimit": 0,
"expiration": 1670826999,
"netFee": 0
}
]
}
区块列表
GET
https://services.tokenview.io/vipapi/blocks/trx/{页码}/{每页条数}?apikey={apikey}
参数
- {页码}:1,2,3,... 50,最多50页;
- {每页交易条数}:1,2,3...50,每页条数,最多50条;
- {apikey}: 可在Tokenview API 后台管理系统获取激活状态的 APIKEY: https://services.tokenview.io
按公链块高降序排列。
Request
curl --location https://services.tokenview.io/vipapi/blocks/trx/1/10?apikey={apikey}
Response
{
"code": 1,
"msg": "成功",
"data": [
{
"network": "TRX",
"block_no": 46747148,
"time": 1670829702,
"size": 19979,
"txCnt": 355,
"sentValue": "5294.705898",
"miner": "TSMC4YzUSfySfqKuFnJbYyU3W6PBebBk2E",
"minerAlias": "",
"fee": "610.39408",
"reward": "32",
"coinbase": "TSMC4YzUSfySfqKuFnJbYyU3W6PBebBk2E",
"gasLimit": 7002200120,
"gasPrice": 0,
"gasUsed": 2064906
},
{
"network": "TRX",
"block_no": 46747147,
"time": 1670829699,
"size": 19960,
"txCnt": 312,
"sentValue": "1496.824561",
"miner": "TQ4bh4nQknQp33vuf1mUAKu5M5TWW8cTAD",
"minerAlias": "",
"fee": "608.84592",
"reward": "32",
"coinbase": "TQ4bh4nQknQp33vuf1mUAKu5M5TWW8cTAD",
"gasLimit": 8119800000,
"gasPrice": 0,
"gasUsed": 1521022
},
{
"network": "TRX",
"block_no": 46747146,
"time": 1670829696,
"size": 19959,
"txCnt": 312,
"sentValue": "251199.521293",
"miner": "TTW663tQYJTTCtHh6DWKAfexRhPMf2DxQ1",
"minerAlias": "",
"fee": "574.96904",
"reward": "32",
"coinbase": "TTW663tQYJTTCtHh6DWKAfexRhPMf2DxQ1",
"gasLimit": 4313800050,
"gasPrice": 0,
"gasUsed": 1589884
},
{
"network": "TRX",
"block_no": 46747145,
"time": 1670829693,
"size": 19958,
"txCnt": 439,
"sentValue": "121649.806209",
"miner": "TAAdjpNYfeJ2edcETNpad1QpQWJfyBdB9V",
"minerAlias": "",
"fee": "660.24716",
"reward": "32",
"coinbase": "TAAdjpNYfeJ2edcETNpad1QpQWJfyBdB9V",
"gasLimit": 14975266010,
"gasPrice": 0,
"gasUsed": 3971441
},
{
"network": "TRX",
"block_no": 46747144,
"time": 1670829690,
"size": 19957,
"txCnt": 284,
"sentValue": "114822.636309",
"miner": "TKPepDpU2FfagEFRy4eaN2MTevWjpzDNmT",
"minerAlias": "",
"fee": "721.14816",
"reward": "32",
"coinbase": "TKPepDpU2FfagEFRy4eaN2MTevWjpzDNmT",
"gasLimit": 3942390030,
"gasPrice": 0,
"gasUsed": 1369268
},
{
"network": "TRX",
"block_no": 46747143,
"time": 1670829687,
"size": 19970,
"txCnt": 386,
"sentValue": "2245.78703",
"miner": "TJBtdYunmQkeK5KninwgcjuK1RPDhyUWBZ",
"minerAlias": "",
"fee": "1999.79652",
"reward": "32",
"coinbase": "TJBtdYunmQkeK5KninwgcjuK1RPDhyUWBZ",
"gasLimit": 14252200120,
"gasPrice": 0,
"gasUsed": 3281916
},
{
"network": "TRX",
"block_no": 46747142,
"time": 1670829684,
"size": 19955,
"txCnt": 319,
"sentValue": "2925.988139",
"miner": "TLyqzVGLV1srkB7dToTAEqgDSfPtXRJZYH",
"minerAlias": "",
"fee": "1260.96764",
"reward": "32",
"coinbase": "TLyqzVGLV1srkB7dToTAEqgDSfPtXRJZYH",
"gasLimit": 5836951010,
"gasPrice": 0,
"gasUsed": 2190998
},
{
"network": "TRX",
"block_no": 46747141,
"time": 1670829681,
"size": 19954,
"txCnt": 327,
"sentValue": "7606.928505",
"miner": "TWvncFqyDfMcKfjsx4hvoWwhJfF5yKMZcU",
"minerAlias": "",
"fee": "869.56344",
"reward": "32",
"coinbase": "TWvncFqyDfMcKfjsx4hvoWwhJfF5yKMZcU",
"gasLimit": 18101700090,
"gasPrice": 0,
"gasUsed": 2257546
},
{
"network": "TRX",
"block_no": 46747140,
"time": 1670829678,
"size": 19953,
"txCnt": 295,
"sentValue": "1109.134149",
"miner": "TTcYhypP8m4phDhN6oRexz2174zAerjEWP",
"minerAlias": "",
"fee": "826.06808",
"reward": "32",
"coinbase": "TTcYhypP8m4phDhN6oRexz2174zAerjEWP",
"gasLimit": 9474230000,
"gasPrice": 0,
"gasUsed": 1783942
},
{
"network": "TRX",
"block_no": 46747139,
"time": 1670829675,
"size": 19970,
"txCnt": 306,
"sentValue": "6326.651748",
"miner": "TUD4YXYdj2t1gP5th3A7t97mx1AUmrrQRt",
"minerAlias": "",
"fee": "1035.41424",
"reward": "32",
"coinbase": "TUD4YXYdj2t1gP5th3A7t97mx1AUmrrQRt",
"gasLimit": 5684306180,
"gasPrice": 0,
"gasUsed": 1969007
}
]
}