WalletBalance

Signature:

{ secretType?: SecretType; balance!: number; symbol!: string; gasBalance!: number; gasSymbol!: string; rawBalance!: string; rawGasBalance!: string; decimals!: number; }

Parameters:

ParameterTypeDescription
secretTypeSecretTypeType of blockchain
balancenumberNormalized balance of the native token
symbolstringSymbol of the native token
gasBalancenumberNormalized balance of the gas token (same as balance when the token for paying gas/fees is the same native token)
gasSymbolstringSymbol of the gas token
rawBalancestringRaw balance of the native token
rawGasBalancestringRaw balance of the gas token
decimalsnumberNumber of decimals of the native token

Did this page help you?