wallet/getblockbyid
Block operations
wallet/getblockbyid | TRON
TRON API method that retrieves a specific block from the TRON blockchain using its block ID (hash). Use it on TRON via Chainstack.
POST
wallet/getblockbyid
TRON API method that retrieves a specific block from the TRON blockchain using its block ID (hash). This method allows you to fetch detailed information about a particular block, including its header, transactions, and metadata.
Get your 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
value— the block ID (hash) in hexadecimal format to retrieve
Response
blockID— the block hash identifierblock_header— block header information containing:raw_data— raw block header data including:timestamp— block generation timestamp in millisecondstxTrieRoot— transaction trie root hashparentHash— parent block hashnumber— block height/numberwitness_address— address of the block producer (witness)version— block version
witness_signature— digital signature of the block producer
transactions— array of all transactions included in the block
Use case
Thewallet/getblockbyid method is used for:
- Retrieving detailed information about a specific block using its hash.
- Building block explorers that need to display block details by ID.
- Verifying block contents and validating transactions within a specific block.
- Analyzing historical blockchain data for auditing and compliance purposes.
- Implementing blockchain synchronization tools that need to fetch blocks by their identifiers.
Last modified on May 18, 2026