Skip to main content
Version: 1.2.0

BIP340 - Export a private key (Exit MPC)

POST 

/bip340/export/full

Combine all secret shares and export the full private key to a single party (export_to). Requires a threshold amount of parties to participate. Only the device with the export_id equal to export_to will receive the full private key, if export_to is the export_id of this Vertex otherwise nothing is returned.

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

    export_to stringrequired
    key_id KeyIdrequired

    relay_address

    object

    An Optional relay address to use only for this specific MPC operation. If not provided, the default relay address will be used. The relay address should be in the format of host:port.

    anyOf

    string

    room_uuid stringrequired

Responses

Schema

    private_key stringrequired
Loading...