curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getblock \
--header 'Content-Type: application/json' \
--data '{
"id_or_num": "66677878",
"detail": true,
"visible": true
}'
{
"blockID": "<string>",
"block_header": {
"raw_data": {},
"witness_signature": "<string>"
},
"transactions": [
{}
]
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getblock \
--header 'Content-Type: application/json' \
--data '{
"id_or_num": "66677878",
"detail": true,
"visible": true
}'
{
"blockID": "<string>",
"block_header": {
"raw_data": {},
"witness_signature": "<string>"
},
"transactions": [
{}
]
}
id_or_num
— block hash (as hex string) or block number to retrievedetail
— optional boolean. When true, returns detailed transaction information. Default is false.visible
— optional boolean parameter. When set to true
, addresses are in base58 format. Default is false
.blockID
— the block hashblock_header
— block header information including:
raw_data
— raw header data with timestamp, number, parent hash, etc.witness_signature
— block producer signaturetransactions
— array of transactions in the block (detailed if detail=true)wallet/getblock
method is used for:
Block information
The response is of type object
.
Was this page helpful?