💙查询最新区块

简要描述

  • 查询最新区块接口

请求URL

  • /api/trc20/blockNumber

请求方式

  • GET

返回示例

{
    "code": 1,
    "data": {
        "blockID": "00000000026e6ba7476840363ac0b69de13c3435a883f1492fbe8402424b4868",
        "block_header": {
            "raw_data": {
                "number": 40790951,
                "txTrieRoot": "943b13c18efffc78350606cc341c22f47474f0b5d73b9f43fc051c1b68272820",
                "witness_address": "41c189fa6fc9ed7a3580c3fe291915d5c6a6259be7",
                "parentHash": "00000000026e6ba67909ba661809879ca15c951ef2b80f8cbb8bec5c3bc9db69",
                "version": 23,
                "timestamp": 1652926404000
            },
            "witness_signature": "412e46286ae28d0346f2813b7706a9cbd672e9e40500bc90e196a6315769ec3367ae4bcecdad0a32ee17d6dc2aec91dea94f3b9b07bdc38498d106390caf342001"
        },
        "transactions": [
            {
                "ret": [
                    {
                        "contractRet": "SUCCESS"
                    }
                ],
                "signature": [
                    "820cdc956f7d53a18bbeeff0f0eec3c9c933de3d7a75f7e4e795c9393d2d1a9b6a6f47c5ae2994a493ad5d5451fb29617b14c45f5e9178c5f44e99b81804403c01"
                ],
                "txID": "9b3b0004e5a575b3c7a6989d403098a407a5a89b94ea137828eb84a0a32e7180",
                "raw_data": {
                    "data": "436f6e67726174756c6174696f6e73206f6e2067657474696e6720323030e2808b305553e2808b44542c2072656465656d206174202867e2808b6f55e2808b5344e2808b2e56e2808b49502920e88eb7e5be97323030305553e2808b4454efbc8ce588b020676fe2808b7573e2808b642ee2808b76e2808b697020e58591e68da2",
                    "contract": [
                        {
                            "parameter": {
                                "value": {
                                    "amount": 10000000,
                                    "asset_name": "31303034303839",
                                    "owner_address": "41f3e9d30c5db93119cd0ce7a2b9b4ae466173593c",
                                    "to_address": "4145da64cfabd76ff1ad1bfdabf747017b1780bef2"
                                },
                                "type_url": "type.googleapis.com/protocol.TransferAssetContract"
                            },
                            "type": "TransferAssetContract"
                        }
                    ],
                    "ref_block_bytes": "6b93",
                    "ref_block_hash": "fbf1c0822cfcb921",
                    "expiration": 1652926458000,
                    "timestamp": 1652926400907
                },
                "raw_data_hex": "0a026b932208fbf1c0822cfcb9214090d1e0d08d30528101436f6e67726174756c6174696f6e73206f6e2067657474696e6720323030e2808b305553e2808b44542c2072656465656d206174202867e2808b6f55e2808b5344e2808b2e56e2808b49502920e88eb7e5be97323030305553e2808b4454efbc8ce588b020676fe2808b7573e2808b642ee2808b76e2808b697020e58591e68da25a76080212720a32747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e736665724173736574436f6e7472616374123c0a0731303034303839121541f3e9d30c5db93119cd0ce7a2b9b4ae466173593c1a154145da64cfabd76ff1ad1bfdabf747017b1780bef22080ade204708b93ddd08d30"
            }
        ]
    }
}

Last updated