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
— number of latest blocks to retrieve (maximum 100)visible
— optional boolean parameter. When set totrue
, addresses are in base58 format. Default isfalse
.
Response
block
— array of block objects, each containing:blockID
— the block hashblock_header
— block header with raw data and witness signaturetransactions
— array of transactions in each block
Use case
Thewallet/getblockbylatestnum
method is used for:
- Retrieving recent blockchain activity and transactions
- Building real-time blockchain monitoring dashboards
- Analyzing recent network activity patterns
- Creating live feeds of blockchain events
- Monitoring latest block production and validation
Body
application/json
Response
200 - application/json
Latest blocks information