Defined in node_modules/@near-js/keystores/lib/keystore.d.ts:7
Methods
Abstract
clear
clear ( ) : Promise < void >
Returns Promise < void >
Defined in node_modules/@near-js/keystores/lib/keystore.d.ts:11
Abstract
get Accounts
get Accounts ( networkId ) : Promise < string [] >
Returns Promise < string [] >
Defined in node_modules/@near-js/keystores/lib/keystore.d.ts:13
Abstract
get Key
get Key ( networkId , accountId ) : Promise < KeyPair >
Parameters
networkId : string
accountId : string
Returns Promise < KeyPair >
Defined in node_modules/@near-js/keystores/lib/keystore.d.ts:9
Abstract
get Networks
get Networks ( ) : Promise < string [] >
Returns Promise < string [] >
Defined in node_modules/@near-js/keystores/lib/keystore.d.ts:12
Abstract
remove Key
remove Key ( networkId , accountId ) : Promise < void >
Parameters
networkId : string
accountId : string
Returns Promise < void >
Defined in node_modules/@near-js/keystores/lib/keystore.d.ts:10
Abstract
set Key
set Key ( networkId , accountId , keyPair ) : Promise < void >
Parameters
networkId : string
accountId : string
Returns Promise < void >
Defined in node_modules/@near-js/keystores/lib/keystore.d.ts:8
KeyStores are passed to "@near-js/wallet-account".near.Near | Near via "@near-js/wallet-account".near.NearConfig | NearConfig and are used by the "@near-js/signers".in_memory_signer.InMemorySigner | InMemorySigner to sign transactions.