Skip to main content
POST
Migrate SDK Pregen Wallet Share

Authorizations

X-API-Key
string
header
default:sk_your_secret_key_here
required

Your partner secret key (server-side only)

Headers

X-Request-Id
string<uuid>

UUID for request tracing. Para returns one if omitted.

Idempotency-Key
string

For sponsored transfers, use the durable behavior documented on POST /transfer. Other POST endpoints use this key for safe retries. If a request with the same key is received within 24 hours, the original response is returned without re-executing. Recommended format: UUID v4. Max length 256 characters. Returns 422 if the same key is reused with a different request body. Returns 409 if a request with the same key is still being processed. Replays return the original response, not the latest chain outcome. For a persisted broadcast, use the returned transactionId with GET transaction history to track its current status.

Maximum string length: 256

Path Parameters

walletId
string<uuid>
required

Wallet UUID. A malformed or inaccessible wallet ID returns 404.

Example:

"0a1b2c3d-4e5f-6789-abcd-ef0123456789"

Body

application/json
encryptedPayload
string
required

JSON string containing the ECIES-encrypted user share. The SDK's migrateWalletShare() method produces this automatically. Non-SDK callers must encrypt the share with the enclave's P-256 public key (from GET /v1/enclave/public-key) using ECIES-P256-AES256-SHA256. The value must contain a non-whitespace character and cannot exceed 64,000 characters.

Required string length: 1 - 64000
Pattern: \S
Example:

"{\"encryptedData\":\"base64...\",\"ephemeral\":\"base64...\",\"algorithm\":\"ECIES-P256-AES256-SHA256\"}"

Response

Wallet migrated successfully

id
string<uuid>
required

Unique wallet identifier

Example:

"0a1b2c3d-4e5f-6789-abcd-ef0123456789"

type
enum<string>
required

Blockchain network type

Available options:
EVM,
SOLANA,
COSMOS,
STELLAR,
SUI
Example:

"EVM"

scheme
enum<string>
required

Signature scheme

Available options:
DKLS,
CGGMP,
ED25519
Example:

"DKLS"

status
enum<string>
required

creating until key generation completes; ready after it completes. address and publicKey can be present while status is creating.

Available options:
creating,
ready
createdAt
string<date-time>
required

ISO 8601 timestamp

Example:

"2024-01-15T09:30:00Z"

address
string

Wallet address. It can be present while status is creating.

Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f..."

publicKey
string

Public key. It can be present while status is creating.

userIdentifier
string

The user identifier associated with this wallet

Example:

"alice@example.com"

userIdentifierType
enum<string>

Type of user identifier

Available options:
EMAIL,
PHONE,
CUSTOM_ID,
GUEST_ID,
DISCORD,
TWITTER,
TELEGRAM,
FARCASTER