curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/walletsolidity/getblockbylimitnext \
--header 'Content-Type: application/json' \
--data '{
"startNum": 70000000,
"endNum": 70000010
}'
{
"block": [
{
"blockID": "<string>",
"block_header": {
"raw_data": {
"number": 123,
"timestamp": 123,
"parentHash": "<string>",
"witness_address": "<string>"
},
"witness_signature": "<string>"
},
"transactions": [
{}
],
"blockSize": 123
}
]
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/walletsolidity/getblockbylimitnext \
--header 'Content-Type: application/json' \
--data '{
"startNum": 70000000,
"endNum": 70000010
}'
{
"block": [
{
"blockID": "<string>",
"block_header": {
"raw_data": {
"number": 123,
"timestamp": 123,
"parentHash": "<string>",
"witness_address": "<string>"
},
"witness_signature": "<string>"
},
"transactions": [
{}
],
"blockSize": 123
}
]
}
startNum
— the starting block numberendNum
— the ending block number (range limit)blockID
— the block hashblock_header
— block header informationtransactions
— array of transactions in each blockblockSize
— size of each block in bytestimestamp
— block creation timestampsnumber
— block numbers in the rangewalletsolidity/getblockbylimitnext
method is used for:
Array of solidified blocks in the specified range
The response is of type object
.