For the complete documentation index, see llms.txt. This page is also available as Markdown.

GetNowBlock

Query the latest block information

The JSON structure includes an array of transaction objects in the block.

Request

curl --request POST \
     --url https://tron.api.watchdata.io/wallet/getnowblock \
     --header 'Accept: application/json'

Response

{
  "blockID": "00000000016632f2aa045d00f1635284d768148960d01f42d52f9cdb1c2328cf",
  "block_header": {
    "raw_data": {
      "number": 23474930,
      "txTrieRoot": "0000000000000000000000000000000000000000000000000000000000000000",
      "witness_address": "41e61626ef01662b320a8ba38372e9db9cca940a3b",
      "parentHash": "00000000016632f161cfb66015b5c16c41ac9e955c17f8339697136de8e5d311",
      "version": 23,
      "timestamp": 1649179218000
    },
    "witness_signature": "d107653df94cf4c8d7547f3098bdaf7a25285fe09fc69e56b832f194bcf03c3e1fc7b024cfb348a2b9e6039bd4b075f8ac483bbe82ab4d1eed995b627b8efcd901"
  }
}

Last updated