export class LocalUserAccountProvider<TKeyStore extends KeyStore = KeyStore, TProvider extends Provider = Provider>
extends UserAccountProviderBase<TProvider>
implements UserAccountProvider
{
public readonly currentUserAccount$: Observable<UserAccount | undefined>;
public readonly userAccounts$: Observable<readonly UserAccount[]>;
public readonly networks$: Observable<readonly NetworkType[]>;
public readonly keystore: TKeyStore;
public readonly deleteUserAccount?: (id: UserAccountID) => Promise<void>;
public readonly updateUserAccountName?: (options: UpdateAccountNameOptions) => Promise<void>;
protected readonly executeInvokeMethod: <T extends TransactionReceipt>(
options: ExecuteInvokeMethodOptions<T>,
) => Promise<TransactionResult<T>>;
protected readonly executeInvokeScript: <T extends TransactionReceipt>(
options: ExecuteInvokeScriptOptions<T>,
) => Promise<TransactionResult<T>>;
public constructor({ keystore, provider }:
public constructor({ keystore, provider }: { readonly keystore: TKeyStore; readonly provider: TProvider })
(id: UserAccountID) => Promise<void>
(options: UpdateAccountNameOptions) => Promise<void>
public getCurrentUserAccount(): UserAccount | undefined
public getUserAccounts(): readonly UserAccount[]
public getNetworks(): readonly NetworkType[]
public async getNetworkFee({
network,
transaction,
maxFee,
}: