getLatestBlockhash - Solana
The getLatestBlockhash JSON-RPC method retrieves the most recent blockhash and its validity duration on the Solana blockchain.
Supported Networks
Parameters
Request
API Endpoint:
https://go.getblock.io/<ACCESS-TOKEN>/Example (cURL) – getLatestBlockhash example:
Response
Example Response:
Key Response Fields:
Error Handling
Error Response Example:
Use Cases
Code getLatestBlockhash Example – Web3 Integration
Integration with Web3
Last updated
Was this helpful?