Skip to main content
Version: 1.1.6

BIP340 - Import secret share as a recipient

POST 

/bip340/import/import-key-share-recipient

Imports a full private key and splits it into a T-of-N key sharing scheme. The resultant key shares will correspond to the exact same public key as the original private key. This method is intended for a new party, who does not currently possess the private key, to receive a key share and join the T-of-N quorum. The import operation uses the same input parameters as key generation since the process is similar for a new party joining the quorum.

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
    others_keygen_ids string[]required
    room_uuid stringrequired
    threshold uint16required

    Possible values: >= 1

Responses

Loading...