💜根据区块链查询信息
Last updated
Last updated
简要描述
根据区块链查询信息接口
请求URL
/api/trc20/blockByNumber?blockID=40743210
请求方式
GET
参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
返回示例
{
"code": 0,
"msg": "Block not found",
"data": null,
"time": 1652926944
}
{
"code": 1,
"data": {
"blockID": "00000000026db12a4392d5f16217affdd5a447a926305a73acd6e4a5cab45b99",
"block_header": {
"raw_data": {
"number": 40743210,
"txTrieRoot": "790daa73392ad464916dd6f667a6c2369fb341594bff959282be54fbb581b159",
"witness_address": "4162398d516b555ac64af24416e05c199c01823048",
"parentHash": "00000000026db1299c08b23996c973834d0b7c6411f0ff6db4243f729b980163",
"version": 23,
"timestamp": 1652783076000
},
"witness_signature": "6433a64492564e348b2897f5f2d343d046632afba34c030a7e834af4204ad2296188be8b63abf8f7a4d631c885b77e3b7550347833aa83c2f6aa1f4006aade2d01"
},
"transactions": [
{
"ret": [
{
"contractRet": "SUCCESS"
}
],
"signature": [
"3aa5266318c5372bf2fa326134e800f9d714151de01ad07d9c5f2e6d2b71a10f719f4f8284ff3df528e5ded3b1e5c37f5a8ca9b5235e60df300d8448f4cd912b01"
],
"txID": "024872e9db479490be559b62b9cdea0d91de5a176a71ce27e6737d66a5b9b04d",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"owner_address": "410fe47f49fd91f0edb7fa2b94a3c45d9c2231709c",
"account_address": "416a37c8d377d060c5aeb8677fd95baf0fbd15703b"
},
"type_url": "type.googleapis.com/protocol.AccountCreateContract"
},
"type": "AccountCreateContract"
}
],
"ref_block_bytes": "b116",
"ref_block_hash": "a222608fc0c552c6",
"expiration": 1652786730000,
"timestamp": 1652783072637
},
"raw_data_hex": "0a02b1162208a222608fc0c552c64090a8908e8d305a6612640a32747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e4163636f756e74437265617465436f6e7472616374122e0a15410fe47f49fd91f0edb7fa2b94a3c45d9c2231709c1215416a37c8d377d060c5aeb8677fd95baf0fbd15703b70fd8ab18c8d30"
}
]
}
}
blockID
是
string
区块ID