Preparing search index...
The search index is not available
Solana JavaScript SDK
Solana JavaScript SDK
@solana/rpc-api
GetLatestBlockhashApi
Type Alias GetLatestBlockhashApi
GetLatestBlockhashApi
:
{
getLatestBlockhash
(
config
?:
Readonly
<
{
commitment
?:
Commitment
;
minContextSlot
?:
Slot
}
>
,
)
:
Readonly
<
{
context
:
Readonly
<
{
slot
:
Slot
}
>
;
value
:
TValue
}
>
;
}
Type declaration
getLatestBlockhash
:
function
getLatestBlockhash
(
config
?:
Readonly
<
{
commitment
?:
Commitment
;
minContextSlot
?:
Slot
}
>
,
)
:
Readonly
<
{
context
:
Readonly
<
{
slot
:
Slot
}
>
;
value
:
TValue
}
>
Returns the latest blockhash
Parameters
Optional
config
:
Readonly
<
{
commitment
?:
Commitment
;
minContextSlot
?:
Slot
}
>
Returns
Readonly
<
{
context
:
Readonly
<
{
slot
:
Slot
}
>
;
value
:
TValue
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Solana JavaScript SDK
Loading...
Returns the latest blockhash