curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getblockbynum \
--header 'Content-Type: application/json' \
--data '
{
"num": 1000,
"visible": false
}
'{
"blockID": "<string>",
"block_header": {
"raw_data": {
"number": 123,
"timestamp": 123,
"parentHash": "<string>"
},
"witness_signature": "<string>"
},
"transactions": [
{}
],
"visible": true
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getblockbynum \
--header 'Content-Type: application/json' \
--data '
{
"num": 1000,
"visible": false
}
'{
"blockID": "<string>",
"block_header": {
"raw_data": {
"number": 123,
"timestamp": 123,
"parentHash": "<string>"
},
"witness_signature": "<string>"
},
"transactions": [
{}
],
"visible": true
}TRON API method that retrieves a block by its number. This method returns detailed information about a specific block in the TRON blockchain, including all transactions contained within that block.Documentation Index
Fetch the complete documentation index at: https://chainstack-mintlify-flesh-empty-pages.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
num — the block number to retrieve (integer)visible — optional boolean to specify address format (default: false for hex format)blockID — unique block identifier hashblock_header — block header information containing:
raw_data — raw header data with timestamp, number, and parent hashwitness_signature — block producer’s signaturetransactions — array of transaction objects in the blockvisible — boolean indicating address format usedwallet/getblockbynum method is used for:
Was this page helpful?