Skip to main content
POST
/
v1
/
presign
/
{curve}
Create a presignature
curl --request POST \
  --url https://mpc-client.portalhq.io/v1/presign/{curve} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "share": "eyJjbG..."
}
'
{
  "id": "presig-uuid-123",
  "expiresAt": "2025-03-18T10:00:00Z",
  "data": "<PRESIGNATURE_DATA>"
}

Authorizations

Authorization
string
header
required

Client API Key or Client Session Token

Path Parameters

curve
enum<string>
required

The elliptic curve to use.

Available options:
SECP256K1,
ED25519

Body

application/json

Request body for creating a presignature.

share
string
required

The JSON-serialized MPC share for the wallet.

expirationTs
number

Unix timestamp for when the presignature expires. Defaults to 7 days. Maximum 365 days.

Response

Presignature created successfully

Response containing the created presignature.

id
string
required

Unique identifier for the presignature.

expiresAt
string<date-time>
required

RFC 3339 expiration timestamp.

data
string
required

Opaque presignature payload. Pass this as the presignature field in signing requests.