Preparing search index...
The search index is not available
Solana JavaScript SDK
Solana JavaScript SDK
@solana/rpc
GetBlocksWithLimitApi
Type Alias GetBlocksWithLimitApi
GetBlocksWithLimitApi
:
{
getBlocksWithLimit
(
startSlot
:
bigint
,
limit
:
number
,
config
?:
Readonly
<
{
commitment
?:
Exclude
<
Commitment
,
"processed"
>
}
>
,
)
:
GetBlocksWithLimitApiResponse
;
}
Type declaration
getBlocksWithLimit
:
function
getBlocksWithLimit
(
startSlot
:
bigint
,
limit
:
number
,
config
?:
Readonly
<
{
commitment
?:
Exclude
<
Commitment
,
"processed"
>
}
>
,
)
:
GetBlocksWithLimitApiResponse
Returns a list of confirmed blocks starting at the given slot for up to
limit
blocks
Parameters
startSlot
:
bigint
limit
:
number
Optional
config
:
Readonly
<
{
commitment
?:
Exclude
<
Commitment
,
"processed"
>
}
>
Returns
GetBlocksWithLimitApiResponse
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Solana JavaScript SDK
Loading...
Returns a list of confirmed blocks starting at the given slot for up to
limitblocks