curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getblockbylimitnext \
--header 'Content-Type: application/json' \
--data '{
"startNum": 66677870,
"endNum": 66677880,
"visible": true
}'{
"block": [
{
"blockID": "<string>",
"block_header": {},
"transactions": [
{}
]
}
]
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getblockbylimitnext \
--header 'Content-Type: application/json' \
--data '{
"startNum": 66677870,
"endNum": 66677880,
"visible": true
}'{
"block": [
{
"blockID": "<string>",
"block_header": {},
"transactions": [
{}
]
}
]
}startNum — the starting block number to retrieve fromendNum — the ending block number (range limit)visible — optional boolean parameter. When set to true, addresses are in base58 format. Default is false.block — array of block objects within the specified range, each containing:
blockID — the block hashblock_header — block header with raw data and witness signaturetransactions — array of transactions in each blockwallet/getblockbylimitnext method is used for:
Was this page helpful?