balances
balances: Record<string, Balance[]> clearError
clearError: () => void
closeWallet
closeWallet: (walletId: string) => Promise<void>
createAccount
createAccount: (walletId: string, label?: string) => Promise<Account> createWallet
createWallet: (name: string, password: string) => Promise<WalletInfo> deleteWallet
deleteWallet: (walletId: string) => Promise<void>
error
error: null | string
exportAccount
exportAccount: (address: string, password: string) => Promise<string>
getBalance
getBalance: (address: string, asset: string) => null | Balance importAccount
importAccount: ( walletId: string, privateKey: string, label?: string,) => Promise<Account> isLoading
isLoading: boolean
loadWallets
loadWallets: () => Promise<void>
openWallet
openWallet: (path: string, password: string) => Promise<WalletInfo> refreshBalances
refreshBalances: (address: string) => Promise<void>
refreshTransactions
refreshTransactions: (address: string) => Promise<void>
sendTransaction
sendTransaction: ( params: { amount: string; asset: string; from: string; password: string; to: string; },) => Promise<Transaction> setCurrentAccount
setCurrentAccount: (account: null | Account) => void setCurrentWallet
setCurrentWallet: (wallet: null | WalletInfo) => void setError
setError: (error: null | string) => void
setLoading
setLoading: (loading: boolean) => void