Class: JsSignatureProvider
Hierarchy
- JsSignatureProvider
Implements
Index
Constructors
Properties
Methods
Constructors
constructor
+ new JsSignatureProvider(privateKeys
: string[]): JsSignatureProvider
Parameters:
Name | Type | Description |
---|---|---|
privateKeys |
string[] | private keys to sign with |
Returns: JsSignatureProvider
Properties
availableKeys
• availableKeys: string[] = [] as string[]
keys
• keys: Map‹string, string› = new Map<string, string>()
Methods
getAvailableKeys
▸ getAvailableKeys(): Promise‹string[]›
Returns: Promise‹string[]›
sign
▸ sign(__namedParameters
: object): Promise‹object›
Parameters:
Name | Type |
---|---|
__namedParameters |
object |
Returns: Promise‹object›