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)visible
— optional boolean to specify address format (default: false for hex format)
Response
blockID
— unique block identifier hashblock_header
— block header information containing:raw_data
— raw header data with timestamp, number, and parent hashwitness_signature
— block producer’s signature
transactions
— array of transaction objects in the blockvisible
— boolean indicating address format used
Use case
Thewallet/getblockbynum
method is used for:
- Retrieving specific blocks for blockchain analysis and monitoring.
- Accessing transaction history within particular blocks.
- Building block explorers and analytics tools.
- Verifying block data and transaction inclusion for auditing purposes.