getBlockHeight RPC Method
Returns the current block height of the node.Parameters
object optionalConfiguration object containing the following fields:commitment
string optionalThe level of commitment desired when querying stateminContextSlot
number optionalThe minimum slot that the request can be evaluated at
Result Details
The result will be:-
<u64>- Current block height of the node- Represents the number of blocks beneath the highest block in the blockchain
- Does not include the genesis block