Class: MultiSigSigner
TODO: Document
Extends
Constructors
Constructor
new MultiSigSigner(pubkey, signers?): MultiSigSigner;
Parameters
| Parameter | Type | Default value |
|---|---|---|
pubkey | MultiSigPublicKey | undefined |
signers | Signer[] | [] |
Returns
MultiSigSigner
Overrides
Methods
signingDigest()
static signingDigest(bytes, intent): Uint8Array;
Sign messages with a specific intent. By combining the message bytes with the intent before hashing. Returns the digest.
Parameters
| Parameter | Type |
|---|---|
bytes | Uint8Array |
intent | IntentScope |
Returns
Uint8Array
Inherited from
signWithIntent()
signWithIntent(bytes, intent): Promise<SignatureWithBytes>;
Sign messages with a specific intent. By combining the message bytes with the intent before hashing and signing, it ensures that a signed message is tied to a specific purpose and domain separator is provided
Parameters
| Parameter | Type |
|---|---|
bytes | Uint8Array |
intent | IntentScope |
Returns
Promise<SignatureWithBytes>
Inherited from
toIotaAddress()
toIotaAddress(): string;
Returns
string
Inherited from
getKeyScheme()
getKeyScheme(): SignatureScheme;
Get the key scheme of the keypair: Secp256k1 or ED25519
Returns
Overrides
getPublicKey()
getPublicKey(): MultiSigPublicKey;
The public key for this keypair
Returns
Overrides
sign()
sign(_data): never;
Parameters
| Parameter | Type |
|---|---|
_data | Uint8Array |
Returns
never
Overrides
signData()
signData(_data): never;
Parameters
| Parameter | Type |
|---|---|
_data | Uint8Array |
Returns
never
signTransaction()
signTransaction(bytes): Promise<{
signature: string;
bytes: string;
}>;
Signs provided transaction by calling signWithIntent() with a TransactionData provided as intent scope
Parameters
| Parameter | Type |
|---|---|
bytes | Uint8Array |
Returns
Promise<{
signature: string;
bytes: string;
}>
Overrides
signPersonalMessage()
signPersonalMessage(bytes): Promise<{
signature: string;
bytes: string;
}>;
Signs provided personal message by calling signWithIntent() with a PersonalMessage provided as intent scope
Parameters
| Parameter | Type |
|---|---|
bytes | Uint8Array |
Returns
Promise<{
signature: string;
bytes: string;
}>