Methods
Abstract
createKey
- createKey(accountId, networkId?, keyType?): Promise<PublicKey>
Parameters
- accountId: string
Optional
networkId: stringOptional
keyType: KeyType
Returns Promise<PublicKey>
Abstract
getPublicKey
- getPublicKey(accountId?, networkId?): Promise<PublicKey>
Parameters
Optional
accountId: stringOptional
networkId: string
Returns Promise<PublicKey>
Abstract
signMessage
- signMessage(message, accountId?, networkId?): Promise<Signature>
Parameters
- message: Uint8Array
Optional
accountId: stringOptional
networkId: string
Returns Promise<Signature>
General signing interface, can be used for in memory signing, RPC singing, external wallet, HSM, etc.