useBalance
Get an account's balance (in lamports) using the Solana RPC method of
getBalance
Type Parameters
| Type Parameter | Default type |
|---|---|
TConfig extends | undefined | Readonly<{ }> | | undefined | Readonly<{ }> |
Parameters
| Parameter | Type |
|---|---|
__namedParameters | UseBalanceInput<TConfig> |
Returns
| {
balance: Lamports;
}
| {
balance: Lamports;
}
| {
balance: Lamports;
}
| {
balance: Lamports;
}
| {
balance: Lamports;
}