Skip to main content
Version: 1.1.5

BIP340 - Import a full private key

POST 

/bip340/import/key-importer

Imports a full private key and splits it into a T-of-N key sharing scheme. The resulting key shares will correspond to the exact same public key as the original private key. This method is intended for the party in possession of the private key to securely distribute key shares for use in a T-of-N 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

    full_private_key stringrequired
    key_id KeyIdrequired
    others_keygen_ids string[]required
    room_uuid stringrequired
    threshold uint16required

    Possible values: >= 1

Responses

Loading...