Preparing search index...
The search index is not available
Solana JavaScript SDK
Solana JavaScript SDK
@solana/rpc-api
GetBlockHeightApi
Type Alias GetBlockHeightApi
GetBlockHeightApi
:
{
getBlockHeight
(
config
?:
Readonly
<
{
commitment
?:
Commitment
;
minContextSlot
?:
Slot
}
>
,
)
:
bigint
;
}
Type declaration
getBlockHeight
:
function
getBlockHeight
(
config
?:
Readonly
<
{
commitment
?:
Commitment
;
minContextSlot
?:
Slot
}
>
,
)
:
bigint
Returns the current block height of the node
Parameters
Optional
config
:
Readonly
<
{
commitment
?:
Commitment
;
minContextSlot
?:
Slot
}
>
Returns
bigint
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Solana JavaScript SDK
Loading...
Returns the current block height of the node