getBlockHeight - Solana
The getBlockHeight method retrieves the current block height of the Solana blockchain, representing the latest confirmed block.
Supported Networks
Parameters
Request
https://go.getblock.io/<ACCESS-TOKEN>/Example (cURL):
curl --location "https://go.getblock.io/<ACCESS-TOKEN>/" -XPOST \
--header "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "getBlockHeight",
"params": [null]
}'Response
Use Case
Code getBlockHeight Example
Integration with Web3
Last updated
Was this helpful?