Preparing search index...
The search index is not available
Solana JavaScript SDK
Solana JavaScript SDK
@solana/rpc-api
GetBalanceApi
Type Alias GetBalanceApi
GetBalanceApi
:
{
getBalance
(
address
:
Address
,
config
?:
Readonly
<
{
commitment
?:
Commitment
;
minContextSlot
?:
Slot
}
>
,
)
:
Readonly
<
{
context
:
Readonly
<
{
slot
:
Slot
}
>
;
value
:
TValue
}
>
;
}
Type declaration
getBalance
:
function
getBalance
(
address
:
Address
,
config
?:
Readonly
<
{
commitment
?:
Commitment
;
minContextSlot
?:
Slot
}
>
,
)
:
Readonly
<
{
context
:
Readonly
<
{
slot
:
Slot
}
>
;
value
:
TValue
}
>
Returns the balance of the account of provided Pubkey
Parameters
address
:
Address
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 balance of the account of provided Pubkey