Preparing search index...
The search index is not available
Solana JavaScript SDK
Solana JavaScript SDK
@solana/rpc-api
GetLargestAccountsApi
Type Alias GetLargestAccountsApi
GetLargestAccountsApi
:
{
getLargestAccounts
(
config
?:
Readonly
<
{
commitment
?:
Commitment
;
filter
?:
"circulating"
|
"nonCirculating"
}
,
>
,
)
:
Readonly
<
{
context
:
Readonly
<
{
slot
:
Slot
}
>
;
value
:
TValue
}
>
;
}
Type declaration
getLargestAccounts
:
function
getLargestAccounts
(
config
?:
Readonly
<
{
commitment
?:
Commitment
;
filter
?:
"circulating"
|
"nonCirculating"
}
,
>
,
)
:
Readonly
<
{
context
:
Readonly
<
{
slot
:
Slot
}
>
;
value
:
TValue
}
>
Returns the 20 largest accounts, by lamport balance (results may be cached up to two hours)
Parameters
Optional
config
:
Readonly
<
{
commitment
?:
Commitment
;
filter
?:
"circulating"
|
"nonCirculating"
}
>
Returns
Readonly
<
{
context
:
Readonly
<
{
slot
:
Slot
}
>
;
value
:
TValue
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Solana JavaScript SDK
Loading...
Returns the 20 largest accounts, by lamport balance (results may be cached up to two hours)