0.01 credits per call
getBlockHeight on Solana: Returns the current block height of the node.
Endpoint
Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
config | object | no | {commitment?, minContextSlot?}. | {"commitment":"finalized"} |
Returns
u64: Current block height.
Examples
Errors
Standard JSON-RPC errors:-32600 invalid request, -32601 method not found, -32602 invalid params.