Create a threshold key
Last updated
Last updated
Create a key structure that requires the defined threshold value to sign. A threshold key can contain a or (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.
Method
Type
Description
KeyList.withThreshold(<thresholdValue>)
int
The number of keys required to sign transactions to modify the account i.e. transfers, update, etc
Sample Output: