WalletBalance

Signature

1
{
2
secretType?: SecretType;
3
balance!: number;
4
symbol!: string;
5
gasBalance!: number;
6
gasSymbol!: string;
7
rawBalance!: string;
8
rawGasBalance!: string;
9
decimals!: number;
10
}
Copied!

Parameters

Parameter
Type
Description
secretType
​SecretType​
Type of blockchain
balance
number
Normalized balance of the native token
symbol
string
Symbol of the native token
gasBalance
number
Normalized balance of the gas token (same as balance when the token for paying gas/fees is the same native token)
gasSymbol
string
Symbol of the gas token
rawBalance
string
Raw balance of the native token
rawGasBalance
string
Raw balance of the gas token
decimals
number
Number of decimals of the native token
Last modified 1yr ago
Copy link