create

@NotNull
abstract fun create(@NotNull keys: List<CompositeKeyNodeAndWeight>, @Nullable threshold: Integer): PublicKey

Return a composite key from a weighted list of keys, and an overall threshold.

Parameters

keys

A list of keys, each which its own weight.

threshold

The threshold of total weights of keys that can be validated.