Constructors
Methods
AbstractgetAccounts
getAccounts(networkId: string): Promise<string[]> Returns Promise<string[]>
AbstractgetKey
getKey(networkId: string, accountId: string): Promise<KeyPair> Parameters
- networkId: string
- accountId: string
Returns Promise<KeyPair>
AbstractgetNetworks
getNetworks(): Promise<string[]> Returns Promise<string[]>
AbstractremoveKey
removeKey(networkId: string, accountId: string): Promise<void> Parameters
- networkId: string
- accountId: string
Returns Promise<void>
AbstractsetKey
setKey(networkId: string, accountId: string, keyPair: KeyPair): Promise<void> Parameters
- networkId: string
- accountId: string
- keyPair: KeyPair
Returns Promise<void>
KeyStores are used by "@near-js/signers".Signer to sign transactions.