Skip to main content
POST
/
v1
/
generate
Create the client's wallet
curl --request POST \
  --url https://mpc-client.portalhq.io/v1/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "SECP256K1": {
    "share": "eyJjbG...",
    "id": "cm0r6nkek00ej10dwwx8wdjmf"
  },
  "ED25519": {
    "share": "eyJjbG...",
    "id": "cm0r6nk7c00hbzefaq9s93s0x"
  }
}

Authorizations

Authorization
string
header
required

Client API Key or Client Session Token

Body

application/json

Empty object. No parameters required.

Response

Wallet created successfully

MPC shares for both supported curves.

SECP256K1
object
required

An MPC share for a single curve.

ED25519
object
required

An MPC share for a single curve.