Methods
# static new(threshold, weights) → {SignatureRules}
Creates a new set of co-signature rules.
Parameters:
Name | Type | Description |
---|---|---|
threshold |
BigInt | Minimum sum of signature weights that is required for an asset transfer. |
weights |
JsValue | Array of public key weights of the form `[["kAb...", BigInt(5)]]', where the first element of each tuple is a base64 encoded public key and the second is the key's associated weight. |