GenerateWithEnclaveApiResponse

data class GenerateWithEnclaveApiResponse(val secp256k1: ShareData?, val ed25519: ShareData?, val error: PortalError? = null)

Response from the Enclave MPC API POST /v1/generate endpoint. Each curve's ShareData.share is the base64 (standard alphabet, no padding) of the serialized MpcShare.

Constructors

Link copied to clipboard
constructor(secp256k1: ShareData?, ed25519: ShareData?, error: PortalError? = null)

Properties

Link copied to clipboard
@SerializedName(value = "ED25519")
val ed25519: ShareData?
Link copied to clipboard
@SerializedName(value = "error")
val error: PortalError? = null
Link copied to clipboard
@SerializedName(value = "SECP256K1")
val secp256k1: ShareData?