Skip to main content
Version: 1.1.5

BIP340 - Perform MPC keygen

POST 

/bip340/keygen

Generate secret shares for the given number of parties and threshold, using the given key_id, as well as a public key. Keygen does not return anything to the caller. The secret share is generated and stored by the Vertex. The secret share can then be used to sign messages and perform other key operations using the same key_id.

Request

Header Parameters

    AUTHORIZATION stringrequired

    The AUTHORIZATION header must be set to the API Key of the user. The API Key is returned when a new user is created using the /admin/create-user endpoint.

Body

required

    key_id KeyIdrequired
    num_parties uint16required

    Possible values: >= 1

    others_keygen_ids string[]required
    room_uuid stringrequired
    threshold uint16required

    Possible values: >= 1

Responses

Loading...