Create a threshold key
Create a key structure that requires the defined threshold value to sign. A threshold key can contain a Ed25519 or ECDSA (secp256k1_)_ key type. You can use either the public key or the private key to create the key structure. If the threshold requirement is not met when signing transactions, the network will return an "INVALID_SIGNATURE" error.
Constructor | Type | Description |
---|---|---|
| int | Initializes a ThresholdKey object |
Method | Type | Description |
---|---|---|
| Ed25519PublicKey | Add one public key to the key list |
| Ed25519PublicKey | Add all keys to the key list |
Java
JavaScript
Last updated