GetBalanceApi

type GetBalanceApi = object;

Methods

getBalance()

getBalance(address, config?): GetBalanceApiResponse;

Fetches the Lamport balance of the account at the given address.

Parameters

ParameterType
addressAddress
config?Readonly<{ commitment?: Commitment; minContextSlot?: Slot; }>

Returns

GetBalanceApiResponse

See

https://solana.com/docs/rpc/http/getbalance

On this page