For the complete documentation index, see llms.txt. This page is also available as Markdown.

GetBlockByLimitNext

Returns the list of Block Objects included in the 'Block Height' range specified. (Confirmed state).

This method will use 30 Compute Units.


Parameters

  • startNum - int32 - Starting block height, including this block

  • endNum - int32 - Ending block height, excluding this block

Returns

Field
Type
Description

blockID

string

block hash

block_header.raw_data.timestamp

int64

block timestamp

block_header.raw_data.txTrieRoot

string

the root of transaction merkle tree

block_header.raw_data.parentHash

string

parent block hash

block_header.raw_data.number

int64

block number

block_header.raw_data.witness_id

int64

super representative id

block_header.raw_data.witness_address

string

super representative address

block_header.raw_data.version

int32

version

block_header.raw_data.accountStateRoot

string

the root of account state tree

block_header.witness_signature

string

the signature of SR

transactions

Transaction[]

Transaction information in the block, please refer to gettransactionbyid for the content contained in each transaction

Last updated

Was this helpful?