Skip to main content

/internal/v1/mpc/join

Notify the exchange's mpc key share custody service to join an mpc business initiated by user

Request Body required
    roomId RoomId required

    Unique identifier for a mpc business

    partyId PartyId required

    The initiator of a mpc business, needed by e-custody.

    partyIds string[] required

    The participants of a mpc business, needed by e-custody.

    mpcType string required

    MPC business type, enumeration of "DKG", "Refresh", "Delete"

    userId string required

    A data needed for locating the mpc key share

    cryptography string required

    Either "ecdsa-secp256k1" or "eddsa-ed25519"

    timeToLive number required

    The total TTL of this mpc business

    targetUserId string nullable

    The result will be connected to this target user id (null if the mpcType is DKG)

    cmrkPK string nullable

    The public key to identifies an mpc key share (null if the mpcType is DKG, otherwise it's required)

    path string nullable

    The path to derive the target account.

    signatureX1 string nullable

    The user's signature to the mpc parameter data, which is signed by the user's mpc key share.(null if the mpcType is DKG, otherwise it's required)

Responses

Successful response


Schema
    status boolean required

    Status of the request, False/True (failed/success)

    failedReason string nullable

    The failed reason if the status is False

Loading...