POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
getnowblock
wallet/getnowblock
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getnowblock \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "blockID": "<string>",
  "block_header": {
    "raw_data": {},
    "witness_signature": "<string>"
  },
  "transactions": [
    "<any>"
  ]
}
TRON API method that retrieves the current latest block from the TRON blockchain. This method returns the most recently produced block with all its transactions and metadata.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

This method accepts no parameters.

Response

  • blockID — the block hash identifier
  • block_header — block header information containing:
    • raw_data — raw block header data including:
      • timestamp — block generation timestamp
      • txTrieRoot — transaction trie root hash
      • parentHash — parent block hash
      • number — block height
      • witness_address — address of the block producer
      • version — block version
    • witness_signature — block producer’s signature
  • transactions — array of transactions included in the block

Use case

The wallet/getnowblock method is used for:
  • Monitoring the latest state of the blockchain in real-time.
  • Retrieving the current block height and latest transactions.
  • Synchronizing applications with the blockchain’s current state.
  • Implementing block explorers and monitoring tools.
  • Watching for new transactions as they are confirmed.

Body

application/json · object

Response

200 - application/json

Current block information

The response is of type object.