Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
num
— the block number to retrieve (integer)
Response
Returns detailed block information including:blockID
— the block hashblock_header
— block header informationraw_data
— raw block header datawitness_signature
— witness signature for the block
transactions
— array of transactions in the blockblockSize
— size of the block in bytestimestamp
— block creation timestamptxTrieRoot
— transaction trie root hashparentHash
— hash of the parent blocknumber
— block numberwitness_address
— address of the block producer
Use case
Thewalletsolidity/getblockbynum
method is used for:
- Retrieving confirmed block data by number from solidified blockchain state
- Analyzing transaction patterns within finalized blocks
- Building blockchain explorers with reliable, non-reversible block data
- Implementing applications that require confirmed block information for auditing
Body
application/json
Block number to retrieve
Example:
70000000