v1
latestOpenAPI 3.0.32026-07-1320201.0 MBSolana Blockchain Queries
Get latest block hash
This Method returns the latest block hash
get/api/v2/solana/blocks/hash
Headers
X-Network'testnet' | 'mainnet'
Specify "testnet" for test network or leave empty for main network. Defaults to "mainnet" if not provided.
Authorizationstring required
Bearer token for authorization. Required for authenticated endpoints.
Content-Type'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data'
The MIME type of the request body.
Response
Example response
{
"status": 200,
"ok": true,
"message": "Latest block hash fetched",
"data": {
"block_hash": "F9vKcASE4DYZtP96PUqGPXCLotEhN3NWEKyo5byfy6U7"
}
}