create Threshold Params
Creates simple threshold policy parameters.
Simple threshold requires M-of-N signers where M = threshold and N = total number of signers on the context rule.
Return
Policy parameters for simple threshold
Parameters
threshold
Minimum number of signers required (must be >= 1)
Throws
if threshold is less than 1
Example:
// 2-of-3 multisig
val params = SmartAccountBuilders.createThresholdParams(2)Content copied to clipboard