Properties
activeAccount
allWallets
allWallets: { algosigner: { accounts: Account[]; client: null | AlgoSignerClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; defly: { accounts: Account[]; client: null | DeflyClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; exodus: { accounts: Account[]; client: null | ExodusClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; inkey: { accounts: Account[]; client: null | InkeyClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; mnemonic: { accounts: Account[]; client: null | MnemonicClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; myalgo: { accounts: Account[]; client: null | MyAlgoClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; pera: { accounts: Account[]; client: null | PeraClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; }
arr
arr: IObservableArray<number[]>
changedAccountHandlers
changedAccountHandlers: Set<any>
connectWallet
connectWallet: (<W, P>(wId,
wInitParams?) => Promise<Account[]>)
Type declaration
-
- <W, P>(wId, wInitParams?): Promise<Account[]>
-
Type Parameters
-
W extends W_ID
-
P extends undefined | string | boolean | {
config?: InkeyConfig;
id?: "inkey";
sdk?: {
frameBus: FrameBus;
connect(payload?) => Promise<InkeyAccount[]>;
disconnect() => Promise<InkeyResponseBase>;
hide() => void;
ping<R, T>(data, options?) => Promise<R>;
show(routepath?) => void;
signTxns(txns, connectedAccounts?) => Promise<InkeySignTxnResponse>;
signTxnsUint8Array(txns, connectedAccounts?) => Promise<InkeySignTxnResponse>;
};
} | {
config?: SdkConfig$6;
id?: "pera";
sdk?: PeraSdk;
} | {
config?: SdkConfig$4;
id?: "myalgo";
sdk?: default;
} | {
config?: SdkConfig$3;
id?: "algosigner";
sdk?: AlgoSignerSdk;
} | {
config?: SdkConfig$2;
id?: "exodus";
sdk?: ExodusSdk;
} | {
config?: SdkConfig$1;
id?: "defly";
sdk?: DeflySdk;
} | {
config?: SdkConfig;
id?: "mnemonic";
sdk?: default;
}
Parameters
-
wId: W
-
Optional
wInitParams: P
Returns Promise<Account[]>
connectedAccounts
disconnectAllWallets
disconnectAllWallets: (() => Promise<void>)
Type declaration
-
- (): Promise<void>
-
Returns Promise<void>
disconnectWallet
disconnectWallet: (<W>(wId) => Promise<void>)
Type declaration
-
- <W>(wId): Promise<void>
-
Returns Promise<void>
emitSyncStates
emitSyncStates: (() => void)
getAccountsByWalletId
getAccountsByWalletId: ((id) => Account[])
initWallet
initWallet: (<W, P>(wId,
wInitParams) => { algosigner: { accounts: Account[]; client: null | AlgoSignerClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; defly: { accounts: Account[]; client: null | DeflyClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; exodus: { accounts: Account[]; client: null | ExodusClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; inkey: { accounts: Account[]; client: null | InkeyClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; mnemonic: { accounts: Account[]; client: null | MnemonicClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; myalgo: { accounts: Account[]; client: null | MyAlgoClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; pera: { accounts: Account[]; client: null | PeraClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; }[W])
Type declaration
-
- <W, P>(wId, wInitParams): {
algosigner: {
accounts: Account[];
client: null | AlgoSignerClient;
connect: ((p?) => Promise<Account[]>);
connecting: boolean;
disconnect: (() => Promise<void>);
id: W_ID;
initParams: boolean | ClientInitParams;
inited: boolean;
initing: boolean;
isActive: boolean;
isConnected: boolean;
loadClient: (() => Promise<boolean>);
metadata: ClientMetadata;
reconnect: (() => Promise<void>);
removeAccounts: (() => void);
setAsActiveWallet: (() => void);
signTransactions: ((transactions) => Promise<Uint8Array[]>);
signing: boolean;
unloadClient: (() => Promise<void>);
};
defly: {
accounts: Account[];
client: null | DeflyClient;
connect: ((p?) => Promise<Account[]>);
connecting: boolean;
disconnect: (() => Promise<void>);
id: W_ID;
initParams: boolean | ClientInitParams;
inited: boolean;
initing: boolean;
isActive: boolean;
isConnected: boolean;
loadClient: (() => Promise<boolean>);
metadata: ClientMetadata;
reconnect: (() => Promise<void>);
removeAccounts: (() => void);
setAsActiveWallet: (() => void);
signTransactions: ((transactions) => Promise<Uint8Array[]>);
signing: boolean;
unloadClient: (() => Promise<void>);
};
exodus: {
accounts: Account[];
client: null | ExodusClient;
connect: ((p?) => Promise<Account[]>);
connecting: boolean;
disconnect: (() => Promise<void>);
id: W_ID;
initParams: boolean | ClientInitParams;
inited: boolean;
initing: boolean;
isActive: boolean;
isConnected: boolean;
loadClient: (() => Promise<boolean>);
metadata: ClientMetadata;
reconnect: (() => Promise<void>);
removeAccounts: (() => void);
setAsActiveWallet: (() => void);
signTransactions: ((transactions) => Promise<Uint8Array[]>);
signing: boolean;
unloadClient: (() => Promise<void>);
};
inkey: {
accounts: Account[];
client: null | InkeyClient;
connect: ((p?) => Promise<Account[]>);
connecting: boolean;
disconnect: (() => Promise<void>);
id: W_ID;
initParams: boolean | ClientInitParams;
inited: boolean;
initing: boolean;
isActive: boolean;
isConnected: boolean;
loadClient: (() => Promise<boolean>);
metadata: ClientMetadata;
reconnect: (() => Promise<void>);
removeAccounts: (() => void);
setAsActiveWallet: (() => void);
signTransactions: ((transactions) => Promise<Uint8Array[]>);
signing: boolean;
unloadClient: (() => Promise<void>);
};
mnemonic: {
accounts: Account[];
client: null | MnemonicClient;
connect: ((p?) => Promise<Account[]>);
connecting: boolean;
disconnect: (() => Promise<void>);
id: W_ID;
initParams: boolean | ClientInitParams;
inited: boolean;
initing: boolean;
isActive: boolean;
isConnected: boolean;
loadClient: (() => Promise<boolean>);
metadata: ClientMetadata;
reconnect: (() => Promise<void>);
removeAccounts: (() => void);
setAsActiveWallet: (() => void);
signTransactions: ((transactions) => Promise<Uint8Array[]>);
signing: boolean;
unloadClient: (() => Promise<void>);
};
myalgo: {
accounts: Account[];
client: null | MyAlgoClient;
connect: ((p?) => Promise<Account[]>);
connecting: boolean;
disconnect: (() => Promise<void>);
id: W_ID;
initParams: boolean | ClientInitParams;
inited: boolean;
initing: boolean;
isActive: boolean;
isConnected: boolean;
loadClient: (() => Promise<boolean>);
metadata: ClientMetadata;
reconnect: (() => Promise<void>);
removeAccounts: (() => void);
setAsActiveWallet: (() => void);
signTransactions: ((transactions) => Promise<Uint8Array[]>);
signing: boolean;
unloadClient: (() => Promise<void>);
};
pera: {
accounts: Account[];
client: null | PeraClient;
connect: ((p?) => Promise<Account[]>);
connecting: boolean;
disconnect: (() => Promise<void>);
id: W_ID;
initParams: boolean | ClientInitParams;
inited: boolean;
initing: boolean;
isActive: boolean;
isConnected: boolean;
loadClient: (() => Promise<boolean>);
metadata: ClientMetadata;
reconnect: (() => Promise<void>);
removeAccounts: (() => void);
setAsActiveWallet: (() => void);
signTransactions: ((transactions) => Promise<Uint8Array[]>);
signing: boolean;
unloadClient: (() => Promise<void>);
};
}[W]
-
Type Parameters
-
W extends W_ID
-
P extends undefined | string | boolean | {
config?: InkeyConfig;
id?: "inkey";
sdk?: {
frameBus: FrameBus;
connect(payload?) => Promise<InkeyAccount[]>;
disconnect() => Promise<InkeyResponseBase>;
hide() => void;
ping<R, T>(data, options?) => Promise<R>;
show(routepath?) => void;
signTxns(txns, connectedAccounts?) => Promise<InkeySignTxnResponse>;
signTxnsUint8Array(txns, connectedAccounts?) => Promise<InkeySignTxnResponse>;
};
} | {
config?: SdkConfig$6;
id?: "pera";
sdk?: PeraSdk;
} | {
config?: SdkConfig$4;
id?: "myalgo";
sdk?: default;
} | {
config?: SdkConfig$3;
id?: "algosigner";
sdk?: AlgoSignerSdk;
} | {
config?: SdkConfig$2;
id?: "exodus";
sdk?: ExodusSdk;
} | {
config?: SdkConfig$1;
id?: "defly";
sdk?: DeflySdk;
} | {
config?: SdkConfig;
id?: "mnemonic";
sdk?: default;
}
Returns {
algosigner: {
accounts: Account[];
client: null | AlgoSignerClient;
connect: ((p?) => Promise<Account[]>);
connecting: boolean;
disconnect: (() => Promise<void>);
id: W_ID;
initParams: boolean | ClientInitParams;
inited: boolean;
initing: boolean;
isActive: boolean;
isConnected: boolean;
loadClient: (() => Promise<boolean>);
metadata: ClientMetadata;
reconnect: (() => Promise<void>);
removeAccounts: (() => void);
setAsActiveWallet: (() => void);
signTransactions: ((transactions) => Promise<Uint8Array[]>);
signing: boolean;
unloadClient: (() => Promise<void>);
};
defly: {
accounts: Account[];
client: null | DeflyClient;
connect: ((p?) => Promise<Account[]>);
connecting: boolean;
disconnect: (() => Promise<void>);
id: W_ID;
initParams: boolean | ClientInitParams;
inited: boolean;
initing: boolean;
isActive: boolean;
isConnected: boolean;
loadClient: (() => Promise<boolean>);
metadata: ClientMetadata;
reconnect: (() => Promise<void>);
removeAccounts: (() => void);
setAsActiveWallet: (() => void);
signTransactions: ((transactions) => Promise<Uint8Array[]>);
signing: boolean;
unloadClient: (() => Promise<void>);
};
exodus: {
accounts: Account[];
client: null | ExodusClient;
connect: ((p?) => Promise<Account[]>);
connecting: boolean;
disconnect: (() => Promise<void>);
id: W_ID;
initParams: boolean | ClientInitParams;
inited: boolean;
initing: boolean;
isActive: boolean;
isConnected: boolean;
loadClient: (() => Promise<boolean>);
metadata: ClientMetadata;
reconnect: (() => Promise<void>);
removeAccounts: (() => void);
setAsActiveWallet: (() => void);
signTransactions: ((transactions) => Promise<Uint8Array[]>);
signing: boolean;
unloadClient: (() => Promise<void>);
};
inkey: {
accounts: Account[];
client: null | InkeyClient;
connect: ((p?) => Promise<Account[]>);
connecting: boolean;
disconnect: (() => Promise<void>);
id: W_ID;
initParams: boolean | ClientInitParams;
inited: boolean;
initing: boolean;
isActive: boolean;
isConnected: boolean;
loadClient: (() => Promise<boolean>);
metadata: ClientMetadata;
reconnect: (() => Promise<void>);
removeAccounts: (() => void);
setAsActiveWallet: (() => void);
signTransactions: ((transactions) => Promise<Uint8Array[]>);
signing: boolean;
unloadClient: (() => Promise<void>);
};
mnemonic: {
accounts: Account[];
client: null | MnemonicClient;
connect: ((p?) => Promise<Account[]>);
connecting: boolean;
disconnect: (() => Promise<void>);
id: W_ID;
initParams: boolean | ClientInitParams;
inited: boolean;
initing: boolean;
isActive: boolean;
isConnected: boolean;
loadClient: (() => Promise<boolean>);
metadata: ClientMetadata;
reconnect: (() => Promise<void>);
removeAccounts: (() => void);
setAsActiveWallet: (() => void);
signTransactions: ((transactions) => Promise<Uint8Array[]>);
signing: boolean;
unloadClient: (() => Promise<void>);
};
myalgo: {
accounts: Account[];
client: null | MyAlgoClient;
connect: ((p?) => Promise<Account[]>);
connecting: boolean;
disconnect: (() => Promise<void>);
id: W_ID;
initParams: boolean | ClientInitParams;
inited: boolean;
initing: boolean;
isActive: boolean;
isConnected: boolean;
loadClient: (() => Promise<boolean>);
metadata: ClientMetadata;
reconnect: (() => Promise<void>);
removeAccounts: (() => void);
setAsActiveWallet: (() => void);
signTransactions: ((transactions) => Promise<Uint8Array[]>);
signing: boolean;
unloadClient: (() => Promise<void>);
};
pera: {
accounts: Account[];
client: null | PeraClient;
connect: ((p?) => Promise<Account[]>);
connecting: boolean;
disconnect: (() => Promise<void>);
id: W_ID;
initParams: boolean | ClientInitParams;
inited: boolean;
initing: boolean;
isActive: boolean;
isConnected: boolean;
loadClient: (() => Promise<boolean>);
metadata: ClientMetadata;
reconnect: (() => Promise<void>);
removeAccounts: (() => void);
setAsActiveWallet: (() => void);
signTransactions: ((transactions) => Promise<Uint8Array[]>);
signing: boolean;
unloadClient: (() => Promise<void>);
};
}[W]
initWallets
initWallets: ((walletInits) => { algosigner: { accounts: Account[]; client: null | AlgoSignerClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; defly: { accounts: Account[]; client: null | DeflyClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; exodus: { accounts: Account[]; client: null | ExodusClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; inkey: { accounts: Account[]; client: null | InkeyClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; mnemonic: { accounts: Account[]; client: null | MnemonicClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; myalgo: { accounts: Account[]; client: null | MyAlgoClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; pera: { accounts: Account[]; client: null | PeraClient; connect: ((p?) => Promise<Account[]>); connecting: boolean; disconnect: (() => Promise<void>); id: W_ID; initParams: boolean | ClientInitParams; inited: boolean; initing: boolean; isActive: boolean; isConnected: boolean; loadClient: (() => Promise<boolean>); metadata: ClientMetadata; reconnect: (() => Promise<void>); removeAccounts: (() => void); setAsActiveWallet: (() => void); signTransactions: ((transactions) => Promise<Uint8Array[]>); signing: boolean; unloadClient: (() => Promise<void>); }; })
removeAccount
removeAccount: ((acct) => void)
Type declaration
-
- (acct): void
-
Returns void
removeAccountsByWalletId
removeAccountsByWalletId: ((id) => void)
removeAllAccounts
removeAllAccounts: (() => void)
selfId
selfId: string
setAsActiveAccount
setAsActiveAccount: ((acct) => void)
Type declaration
-
- (acct): void
-
Returns void
signTransactions
signTransactions: ((txns) => Promise<Uint8Array[]>)
Type declaration
-
- (txns): Promise<Uint8Array[]>
-
Returns Promise<Uint8Array[]>
storageController
storageController: undefined | StorageController
storageKey
storageKey: undefined | string
subscribeToAccountChanges
subscribeToAccountChanges: ((handler, opts?) => (() => void))
Type declaration
-
- (handler, opts?): (() => void)
-
Parameters
-
handler: ((a) => void)
-
Optional
opts: {
callOnSet: boolean;
}
Returns (() => void)