Signature for a K-of-N multi-sig transaction.
4 bytes, at most 32 signatures are supported. If Nth bit value is 1
, the Nth
signature should be provided in signatures
. Bits are read from left to right
A list of signatures
Readonly
bitmap32-bit Bitmap representing who signed the transaction
This is represented where each public key can be masked to determine whether the message was signed by that key.
Readonly
signaturesThe list of underlying Ed25519 signatures
Static
BITMAP_Number of bytes in the bitmap representing who signed the transaction (32-bits)
Static
MAX_Maximum number of Ed25519 signatures supported
Static
createHelper method to create a bitmap out of the specified bit positions
The bitmap positions that should be set. A position starts at index 0. Valid position should range between 0 and 31.
bitmap that is 32bit long
Here's an example of valid bits
[0, 2, 31]
[0, 2, 31]
means the 1st, 3rd and 32nd bits should be set in the bitmap.
The result bitmap should be 0b1010000000000000000000000000001
Static
deserializeGenerated using TypeDoc
An abstract representation of a crypto signature, associated to a specific signature scheme e.g. Ed25519 or Secp256k1
This is the product of signing a message directly from a PrivateKey and can be verified against a CryptoPublicKey.