Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 2.21 KB

File metadata and controls

32 lines (23 loc) · 2.21 KB

CreateKeyShareHolderGroupRequest

Properties

Name Type Description Notes
key_share_holder_group_type KeyShareHolderGroupType
participants int The number of key share holders in this key share holder group. Notes: 1. Currently, the available Threshold Signature Schemes (TSS) are 2-2, 2-3, and 3-3 schemes (in the "threshold - participants" format), so you can only set `participants` to 2 or 3. 2. `threshold` must be less than or equal to `participants`.
threshold int The number of key share holders required to sign an operation. Notes: 1. Currently, the available Threshold Signature Schemes (TSS) are 2-2, 2-3, and 3-3 schemes (in the "threshold - participants" format), so you can only set `threshold` to 2 or 3. 2. `threshold` must be less than or equal to `participants`.
key_share_holders List[CreateKeyShareHolder]

Example

from cobo_waas2.models.create_key_share_holder_group_request import CreateKeyShareHolderGroupRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateKeyShareHolderGroupRequest from a JSON string
create_key_share_holder_group_request_instance = CreateKeyShareHolderGroupRequest.from_json(json)
# print the JSON string representation of the object
print(CreateKeyShareHolderGroupRequest.to_json())

# convert the object into a dict
create_key_share_holder_group_request_dict = create_key_share_holder_group_request_instance.to_dict()
# create an instance of CreateKeyShareHolderGroupRequest from a dict
create_key_share_holder_group_request_from_dict = CreateKeyShareHolderGroupRequest.from_dict(create_key_share_holder_group_request_dict)

[Back to Model list] [Back to API list] [Back to README]