Skip to main content

Let an investor choose custody

Read the custody options an organisation offers after sign-up, then run the managed-account or browser-wallet branch to one account.

Overview

A signed-in investor joining an organisation picks how they hold assets: a managed account the organisation signs for, or a wallet whose key the investor controls. Your front end reads the options the organisation offers, renders them, and runs the chosen branch.

Both branches end on one participant, one custody account on the network, and one on-chain identity contract holding the investor's claims. Where the organisation runs smart wallets, the account is a smart wallet.

The custody kind comes from the provider configuration the investor selects, not from a field your front end invents. The read that offers options is per organisation and per network, scoped by the X-Chain-Id request header.

The sequence at a glance

Read the options, show the choice, then one of two branches to one account.Step 1 reads GET /api/v2/custody/investor-provider, which returns data, the organisation's default, and options, every configuration it offers to investors. Step 2 renders those options as they arrive, each carrying a custody label of managed-account, embedded-wallet or browser-wallet. The branches split. On the managed account, one call to POST /api/v2/participants has the provider create the account and its identity, and when the create outlasts the wait, a 202 response sends the caller to the statusUrl. On the browser wallet, POST /api/v2/participants returns 201 with a pending participant, the investor signs a control message that POST /api/v2/users/me/custody-accounts/lifecycles turns into an active account, the identity is created with POST /api/v2/identities after the same key signs the identity factory payload, and where the organisation runs smart accounts the smart wallet is deployed with POST /api/v2/users/me/custody-accounts/{custodyAccountId}/smart-wallet-deployment, signed by that same key. Both branches rejoin on one participant, one custody account and one identity.Read the options, show the choice, then one of two branches to one account.The same figure as the desktop variant, drawn portrait for phone widths. Read the offered options and the default, render the choice, then take one branch. The managed branch is one create that the provider fills in, with a statusUrl to follow when it returns 202. The browser-wallet branch creates a pending participant, proves the key by signing a prepared message, creates the identity when the account holds none, and deploys the smart wallet where the organisation runs smart wallets. Both branches end on one participant, one account and one identity.

Steps 1 and 2 happen before any account exists. Step 3a and step 3b are alternatives, and step 3b runs only for a browser-wallet option.

Step 1: read the options and the default

curl -sS "$DALP_API_URL/api/v2/custody/investor-provider" \
  -H "X-Api-Key: $DALP_API_KEY"

The response carries two fields. data is the organisation's designated investor provider, or null when none is designated. options lists every configuration offered to investors, with the default first. Both use the same entry shape:

{
  "data": {
    "id": "019c4d2e-7a10-7b3c-9e21-5f8a6b4c3d2e",
    "provider": "local",
    "custody": "managed-account",
    "capabilities": {
      "accountCreation": "create",
      "accountProof": "provider-attestation",
      "managedSigning": true,
      "externalSigning": false,
      "accountAbstraction": true,
      "ledgerNetworks": [{ "ledger": "evm", "networks": ["31337"] }]
    },
    "clientConfiguration": null
  },
  "options": [
    {
      "id": "019c4d2e-7a10-7b3c-9e21-5f8a6b4c3d2e",
      "provider": "local",
      "custody": "managed-account",
      "capabilities": {
        "accountCreation": "create",
        "accountProof": "provider-attestation",
        "managedSigning": true,
        "externalSigning": false,
        "accountAbstraction": true,
        "ledgerNetworks": [{ "ledger": "evm", "networks": ["31337"] }]
      },
      "clientConfiguration": null
    },
    {
      "id": "019c4d2e-9b31-7c44-a8f2-1d2e3f4a5b6c",
      "provider": "injected-browser",
      "custody": "browser-wallet",
      "capabilities": {
        "accountCreation": "link",
        "accountProof": "interactive-address",
        "managedSigning": false,
        "externalSigning": true,
        "accountAbstraction": true,
        "ledgerNetworks": [{ "ledger": "evm", "networks": ["31337"] }]
      },
      "clientConfiguration": { "kind": "injected-browser" }
    }
  ]
}

The response has already excluded configurations that are disabled, not offered to investors, or unavailable on the request's network. Render options as received so your front end never diverges from operator changes.

The read returns results for the network named in X-Chain-Id, or the organisation's default network when omitted. Send X-Chain-Id only when your front end renders its own network picker.

data being null only means no default is designated, and options can still hold several entries. An empty options array means the organisation offers no custody to investors. Show a blocked screen instructing an administrator to offer one in Custody.

Step 2: render the choice

Each entry's custody field is the label to show and names the branch to run. The platform derives it from the provider, so your front end maps nothing.

custody
What the investor gets
Branch
managed-account
An account the organisation holds the key for and signs with
browser-wallet
An account whose key stays in a wallet the investor connects
embedded-wallet
An account whose key sits in an embedded wallet created inside your front end

Mark the entry matching data.id as the default rather than reordering the list yourself. With one option, skip the picker and run its branch. With none, show the blocked screen.

The clientConfiguration field tells an embedded-wallet branch which client SDK to load:

  • privy carries tenant, appId, and optional clientId.
  • dynamic carries tenant and environmentId.
  • injected-browser carries no extra fields, because the investor brings an existing wallet.
  • Every managed configuration returns null, because the key stays with a custodian.

This choice picks the first key, not the only one. Custody account lifecycles support onboard, add, revoke, and archive, without migrating an existing account to another provider. A participant can add another custody account later as an extra signer on the same smart wallet, and revoke removes a signer.

Before starting either branch, read the organisation's network and account-abstraction settings:

curl -sS "$DALP_API_URL/api/v2/organizations/019c4d2e-1f00-7a11-9c22-3b4c5d6e7f80/joinable-participants" \
  -H "X-Api-Key: $DALP_API_KEY"

aaEnabled tells you whether a smart wallet is part of the outcome. pendingParticipantId identifies a participant left behind by an interrupted browser-wallet sign-up so step 3b can resume it.

Step 3a: run the managed-account branch

One call creates the participant, its custody account, and its on-chain identity. An investor sends this call from their own signed-in session. An identity manager onboarding another user calls POST /api/v2/users instead, as Onboard an investor through the API describes.

This create always requires walletVerification, unlike the identity and lifecycle calls in step 3b. A signed-in session also sends X-Step-Up-Challenge from POST /api/v2/step-up-challenges. With X-Api-Key the platform does not check the verification code, because creating the key verified the wallet.

curl -sS -X POST "$DALP_API_URL/api/v2/participants" \
  -H "Cookie: $DALP_SESSION_COOKIE" \
  -H "X-Step-Up-Challenge: $STEP_UP_CHALLENGE_ID" \
  -H "Idempotency-Key: participant-amara-managed-001" \
  -H "Prefer: wait=60" \
  -H "Content-Type: application/json" \
  -d '{
    "organizationId": "019c4d2e-1f00-7a11-9c22-3b4c5d6e7f80",
    "providerConfigurationId": "019c4d2e-7a10-7b3c-9e21-5f8a6b4c3d2e",
    "walletVerification": { "verificationType": "PINCODE", "secretVerificationCode": "482913" }
  }'

A settled create returns 200 with the participant, custody account wallet, and on-chain identity:

{
  "data": {
    "id": "pp_7c2f9a41e8b3d6052f1c4a9e8d7b6c35",
    "kind": "smart",
    "wallet": "0x4F1bE7dB9d2c3aA85f6C1E0b7D9a2C4e6F8b0A1c",
    "identity": "0x9A2c4E6f8B0a1C3d5E7f9A2c4E6f8B0a1C3d5E7f"
  },
  "links": {
    "self": "/api/v2/participants/pp_7c2f9a41e8b3d6052f1c4a9e8d7b6c35"
  }
}

kind is "smart" when the organisation runs smart wallets on that network and "eoa" otherwise. The managed branch deploys the smart wallet automatically, so no separate deployment call is needed.

If provisioning outlasts the wait window, the route returns 202 with requestId, state, and statusUrl (also in the Location header). Provisioning continues in the background, creating the custody account, smart wallet, and identity.

{
  "requestId": "3b7e91c4-52d0-8a6f-9c13-47e2d8a05b6f",
  "state": "awaiting-proof",
  "statusUrl": "/api/v2/participants/pp_7c2f9a41e8b3d6052f1c4a9e8d7b6c35/custody-account-requests/3b7e91c4-52d0-8a6f-9c13-47e2d8a05b6f"
}

Poll statusUrl until data.state is succeeded, failed, or expired. On a managed branch, awaiting-proof only means provisioning is still running. Once succeeded, repeat the create with the same Idempotency-Key to receive the 200 participant payload, or call GET /api/v2/system/wallets/{wallet}/identity.

A failed create returns failed with terminalCode set to PARTICIPANT_CREATE_FAILED (or the custody account request's own terminalCode). Append /stream to statusUrl on same-origin requests to stream state changes instead of polling. The stream closes on a terminal state or after three minutes.

If the custody account request has not settled when the wait ends, the create returns 202 with that request's state (such as claimed). If the request ended failed or expired, the create returns DALP-14278 (409).

Unlike most writes, this create waits by default for up to 99 seconds (even with Prefer: respond-async). Prefer: wait=N clamps N between 5 and 99 seconds, stopping five seconds before the deployment's request deadline (55 seconds under the 60-second default). The wait only affects whether the response arrives as 200 or 202.

Send Idempotency-Key so retries or resumed sign-ups rejoin the same run instead of creating a second participant. Idempotency and async settlement covers both headers.

A 403 with DALP-14228 means the caller cannot create this participant. Naming another user in forUserId requires a browser session held by an identity manager for a member of the organisation. Once the organisation offers at least one configuration to investors, choosing one it does not offer requires the identity-manager role. In that case the platform also refuses every caller, identity managers included, a configuration the organisation does not offer when that configuration cannot hold a managed account, such as a browser wallet, because the platform could never prove its key.

Step 3b: run the browser-wallet branch

This branch takes up to three signatures from the investor's wallet: a personal_sign control message, an EIP-712 identity factory payload, and (when smart wallets are enabled) an EIP-712 account factory payload. When the wallet cannot sign typed data covers wallets lacking eth_signTypedData_v4.

1. Create the participant in a pending state

Send the same POST /api/v2/participants call with the browser-wallet configuration's id. It returns 201 with a pending participant:

{
  "data": {
    "id": "pp_4e8a1d6c93b2f075a1c8e4d9b7f20a63",
    "activationStatus": "pending",
    "proofUrl": "/api/v2/users/me/custody-account-control-preparations"
  },
  "links": {
    "self": "/api/v2/participants/pp_4e8a1d6c93b2f075a1c8e4d9b7f20a63"
  }
}

activationStatus is pending until the investor proves key control, so never render it as an error. If sign-up stops here, Step 2's joinable read returns this id as pendingParticipantId. Continue with proofUrl (POST /api/v2/users/me/custody-account-control-preparations).

2. Prepare the control message and sign it

curl -sS -X POST "$DALP_API_URL/api/v2/users/me/custody-account-control-preparations" \
  -H "X-Api-Key: $DALP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "providerConfigurationId": "019c4d2e-9b31-7c44-a8f2-1d2e3f4a5b6c",
    "participantId": "pp_4e8a1d6c93b2f075a1c8e4d9b7f20a63",
    "signingAddress": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
  }'
{
  "data": {
    "binding": {
      "operation": "onboard",
      "actorUserId": "019c4d2e-2b9f-7d51-8a4e-1c0d2e3f4a5b",
      "participantId": "pp_4e8a1d6c93b2f075a1c8e4d9b7f20a63",
      "organizationId": "019c4d2e-1f00-7a11-9c22-3b4c5d6e7f80",
      "providerConfigurationId": "019c4d2e-9b31-7c44-a8f2-1d2e3f4a5b6c",
      "ledger": "evm",
      "network": "31337",
      "domain": "your-instance.example.com",
      "origin": "https://portal.example.com",
      "audience": "dalp",
      "participantResetEpoch": 0,
      "nonce": "4b1d2f3a5c6e7d8b9a0f1e2d3c4b5a69788796a5b4c3d2e1f0a9b8c7d6e5f4a",
      "proofDigest": "0x8a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f9",
      "expiresAt": "2026-11-05T10:22:14.000Z"
    },
    "account": {
      "_tag": "EvmCustodyAccountFacts",
      "ledger": "evm",
      "signingAddress": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
      "managedSignerKeyId": null
    },
    "message": "DALP custody-account control proof\n0x8a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f9"
  },
  "links": {
    "self": "/api/v2/users/me/custody-account-control-preparations"
  }
}

Sign message verbatim using personal_sign over its UTF-8 bytes with account.signingAddress:

await provider.request({ method: "personal_sign", params: [toHex(message), address] });

Signing a pre-hashed message or using eth_sign produces a signature the platform refuses. A preparation expires after 15 minutes, so prepare and sign in one flow.

3. Hand the proof back

curl -sS -X POST "$DALP_API_URL/api/v2/users/me/custody-accounts/lifecycles" \
  -H "X-Api-Key: $DALP_API_KEY" \
  -H "Idempotency-Key: custody-proof-amara-001" \
  -H "Content-Type: application/json" \
  -d '{
    "proof": {
      "binding": {
        "operation": "onboard",
        "actorUserId": "019c4d2e-2b9f-7d51-8a4e-1c0d2e3f4a5b",
        "participantId": "pp_4e8a1d6c93b2f075a1c8e4d9b7f20a63",
        "organizationId": "019c4d2e-1f00-7a11-9c22-3b4c5d6e7f80",
        "providerConfigurationId": "019c4d2e-9b31-7c44-a8f2-1d2e3f4a5b6c",
        "ledger": "evm",
        "network": "31337",
        "domain": "your-instance.example.com",
        "origin": "https://portal.example.com",
        "audience": "dalp",
        "participantResetEpoch": 0,
        "nonce": "4b1d2f3a5c6e7d8b9a0f1e2d3c4b5a69788796a5b4c3d2e1f0a9b8c7d6e5f4a",
        "proofDigest": "0x8a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f9",
        "expiresAt": "2026-11-05T10:22:14.000Z"
      },
      "account": {
        "_tag": "EvmCustodyAccountFacts",
        "ledger": "evm",
        "signingAddress": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
        "managedSignerKeyId": null
      },
      "artifact": "{\"kind\":\"evm-self-custody-control\",\"signature\":\"0x8f2a...c41d\"}"
    }
  }'

Echo binding and account verbatim from step 2. artifact is a JSON-encoded string:

{ "kind": "evm-self-custody-control", "signature": "0x8f2a...c41d" }

A signature that fails to bind the participant, organisation, and nonce returns DALP-12274. Request a fresh preparation and sign again.

These examples authenticate with X-Api-Key, so they omit walletVerification. When sending from a signed-in browser session instead, include walletVerification in the body and send X-Step-Up-Challenge from POST /api/v2/step-up-challenges. The TypeScript SDK fetches the challenge automatically when walletVerification is set. Every factor except a transaction PIN is single-use, so prompt for a fresh code if step 1 consumed it. See Which signing-key changes need wallet verification over the Platform API?.

The call returns 200 with the lifecycle request or 202 with { requestId, state, statusUrl }. Poll the request until it settles:

curl -sS "$DALP_API_URL/api/v2/users/me/custody-account-requests/019c4d2e-c3d4-7f56-8a78-9b0c1d2e3f40" \
  -H "X-Api-Key: $DALP_API_KEY"
{
  "data": {
    "requestId": "019c4d2e-c3d4-7f56-8a78-9b0c1d2e3f40",
    "custodyAccountId": "019c4d2e-d9e0-7a12-8b34-9c560d1e2f3a",
    "organizationContextId": "019c4d2e-e5f6-7b78-8c90-9d120e1f2a3b",
    "operation": "onboard",
    "state": "succeeded",
    "externalPreparationId": null,
    "externalAuthorizingCustodyAccountId": null,
    "externalMessageDigest": null,
    "terminalResult": "succeeded",
    "terminalCode": null
  },
  "links": {
    "self": "/api/v2/users/me/custody-account-requests/019c4d2e-c3d4-7f56-8a78-9b0c1d2e3f40"
  }
}

A request moves through awaiting-proof, claimed, and reconciling, ending in succeeded, failed, or expired. Append /stream on same-origin requests to stream state updates. failed and expired carry terminalCode, and DALP-14219 means another request changed the account concurrently.

If a request stays reconciling, call POST /api/v2/users/me/custody-account-requests/{requestId}/resume. It returns 202 while starting a new reconciliation drive (or 503 CUSTODY_PROVIDER_UNAVAILABLE on an infrastructure failure, also after starting a drive).

A request's proof window ends at its preparation's expiresAt. Requests still in awaiting-proof, waiting on approval, or claimed expire automatically as PROOF_EXPIRED within a minute and release the account. A reconciling request holds the account until its transaction settles. While an onboard or add request is open, POST /api/v2/custody/wallets returns 409 CUSTODY_LIFECYCLE_REQUEST_OPEN (DALP-12421) with data.lifecycleRequestId.

The account is live when both accountLifecycle and contextLifecycle read active.

4. Create the identity

Check first with GET /api/v2/system/identities/me. A 404 with IDENTITY_SCOPE_NOT_FOUND (DALP-14224) means the network's registry is not indexed yet, not that the call failed.

curl -sS "$DALP_API_URL/api/v2/system/identities/me" \
  -H "X-Api-Key: $DALP_API_KEY" \
  -H "X-Participant: pp_4e8a1d6c93b2f075a1c8e4d9b7f20a63" \
  -H "X-Custody-Account-Id: 019c4d2e-d9e0-7a12-8b34-9c560d1e2f3a" \
  -H "X-Chain-Id: 31337"

Treat status: "NOT_PROVISIONED" (reason: "NO_IDENTITY") and 404 IDENTITY_SCOPE_NOT_FOUND as no identity. Create one for account.signingAddress. Omit walletVerification when calling with X-Api-Key. Include walletVerification (and X-Step-Up-Challenge when required) only when calling from a signed-in browser session:

curl -sS -X POST "$DALP_API_URL/api/v2/identities" \
  -H "X-Api-Key: $DALP_API_KEY" \
  -H "X-Participant: pp_4e8a1d6c93b2f075a1c8e4d9b7f20a63" \
  -H "X-Custody-Account-Id: 019c4d2e-d9e0-7a12-8b34-9c560d1e2f3a" \
  -H "X-Chain-Id: 31337" \
  -H "Idempotency-Key: identity-amara-001" \
  -H "Content-Type: application/json" \
  -d '{
    "wallet": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
  }'

Because the platform holds no key for this wallet, the first call intentionally returns 409 with DALP-12389 carrying data.signingPayload.typedData. Sign that payload with eth_signTypedData_v4 on account.signingAddress, then repeat the call with externalMessageAuthorization:

{
  "wallet": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
  "externalMessageAuthorization": {
    "signature": "0x9b3e41c7a2f08d6e1b5c9a3f7d2e8b4a1c6f0d9e2a5b8c3d7f1e4a9b2c6d0e3f4a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e81b"
  }
}

If the signature fails to recover to that wallet, the platform returns DALP-12390: request a fresh payload without a signature and sign again. DALP-14227 means an identity contract already exists. Identity registration and KYC verification continue in Onboard an investor through the API from step 3.

5. Deploy the smart wallet

Skip this step when aaEnabled is false. Otherwise:

curl -sS -X POST "$DALP_API_URL/api/v2/users/me/custody-accounts/019c4d2e-d9e0-7a12-8b34-9c560d1e2f3a/smart-wallet-deployment" \
  -H "X-Api-Key: $DALP_API_KEY" \
  -H "X-Participant: pp_4e8a1d6c93b2f075a1c8e4d9b7f20a63" \
  -H "X-Custody-Account-Id: 019c4d2e-d9e0-7a12-8b34-9c560d1e2f3a" \
  -H "X-Chain-Id: 31337" \
  -H "Prefer: wait=30" \
  -H "Content-Type: application/json" \
  -d '{}'

The first call intentionally returns 409 with DALP-12388, carrying the custody account id and factory typed data:

{
  "code": "custody.smart-wallet.EXTERNAL_MESSAGE_AUTHORIZATION_REQUIRED",
  "status": 409,
  "message": "The smart wallet needs a signature from its controlling wallet",
  "data": {
    "id": "DALP-12388",
    "category": "domain",
    "retryable": false,
    "why": "The custody account in `data.custodyAccountId` is self custody, so the platform holds no key for it. Its wallet has to sign the account factory payload in `data.signingPayload` before the smart wallet can be deployed.",
    "fix": "Sign `data.signingPayload` with that account's connected wallet, then send the same request again with the signature in `externalMessageAuthorization`.",
    "custodyAccountId": "019c4d2e-d9e0-7a12-8b34-9c560d1e2f3a",
    "signingPayload": {
      "_tag": "TypedDataSigningPayload",
      "kind": "eip-712",
      "typedData": {
        "domain": {
          "name": "DALPAccountFactory",
          "version": "1",
          "chainId": 31337,
          "verifyingContract": "0x0000000000000000000000000000000000000fac"
        },
        "types": {
          "EIP712Domain": [
            { "name": "name", "type": "string" },
            { "name": "version", "type": "string" },
            { "name": "chainId", "type": "uint256" },
            { "name": "verifyingContract", "type": "address" }
          ],
          "CreateAccount": [
            { "name": "owner", "type": "address" },
            { "name": "validator", "type": "address" },
            { "name": "onchainID", "type": "address" },
            { "name": "salt", "type": "bytes32" },
            { "name": "deadline", "type": "uint256" },
            { "name": "validatorInitDataHash", "type": "bytes32" }
          ]
        },
        "primaryType": "CreateAccount",
        "message": {
          "owner": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
          "validator": "0x0000000000000000000000000000000000000ba1",
          "onchainID": "0x0000000000000000000000000000000000000000",
          "salt": "0x3f1c5a7e9b2d4f6a8c0e1b3d5f7a9c2e4b6d8f0a1c3e5b7d9f2a4c6e8b0d1f3a",
          "deadline": 1900000000,
          "validatorInitDataHash": "0xdbd81fd93596862d6812eae9ab3d4bea9d35317f1cbee3ec2463fc2361967ccd"
        }
      }
    }
  }
}

message.validator is the network's weighted multisig validator, initialised with message.owner alone at weight 1 and threshold 1. Later signers join this same validator.

Verify that data.custodyAccountId matches the investor's account before signing. Sign signingPayload with eth_signTypedData_v4 on message.owner, then resend with the signature:

{
  "externalMessageAuthorization": {
    "signature": "0x4c1d8f2a9b3e41c7a2f08d6e1b5c9a3f7d2e8b4a1c6f0d9e2a5b8c3d7f1e4a9b2c6d0e3f4a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a41c"
  }
}

Repeat the same signature while deployed is false:

{
  "data": {
    "walletId": "019c4d2e-f7a8-7c90-8d12-9e340f1a2b3c",
    "address": "0x4F1bE7dB9d2c3aA85f6C1E0b7D9a2C4e6F8b0A1c",
    "deployed": true
  },
  "links": {
    "self": "/api/v2/users/me/custody-accounts/019c4d2e-d9e0-7a12-8b34-9c560d1e2f3a/smart-wallet-deployment"
  }
}

address is the smart wallet holding assets. Check deployed === true rather than treating any 200 response as deployed. Prefer: wait=N holds the response for up to N seconds while awaiting network confirmation.

When the wallet cannot sign typed data

A browser wallet may sign the personal_sign control message and still lack EIP-712 support for steps 4 and 5, leaving setup incomplete:

  • Only that account's key can sign. Both EIP-712 signatures must recover to the address proven in step 3b.2. No route swaps an existing account's key.
  • The participant and account already exist. Steps 3b.1 to 3b.3 succeeded, so a declined signature does not roll them back.
  • Identity creation needs typed data on every network. Smart wallet deployment adds a second typed-data signature when aaEnabled is true.

Handle a wallet that cannot sign typed data in four steps:

  1. Call the identity or deployment route without a signature and read signingPayload from DALP-12389 or DALP-12388.
  2. Call eth_signTypedData_v4. If the wallet returns “method not supported”, declines, or returns an invalid signature, stop without retrying or asking for another wallet.
  3. Keep the participant and custody account intact and tell the investor which step is waiting on their wallet.
  4. Recover later using the same key once the wallet gains EIP-712 support or is restored into a wallet that supports it.

To prevent this before creating anything, probe the wallet at step 2 with a benign EIP-712 payload naming your own app domain (never a payload from DALP-12388 or DALP-12389). Tell the investor the signature moves nothing, and offer managed-account instead for wallets that fail the probe.

The refusals each step returns

Code
Where it appears
What it means and what to do
Either branch, on create
Configuration missing or provider/ledger disabled. Read options again and use an offered id.
Either branch, on create
Another participant already holds that key or user link. Read and continue from that participant.
Either branch, on create
Configuration disabled for new accounts, unhealthy, or unavailable on this network. Pick another option.
Either branch, on create
Requested wallet type unsupported for this configuration (such as smart on bring-your-own-key). Omit walletType or send eoa.
Either branch, on create
Provisioning ended failed or expired. Check provider health, then retry with a new Idempotency-Key.
Browser wallet, prepare control
capability-unsupported or network-not-served in data.role. Pick another offered configuration.
Browser wallet, prepare or proof
Provider unhealthy (retry later) or quarantined (check executionHealth and pick another configuration).
Browser wallet, proof
Proof, account facts, or artifact failed binding checks. Prepare a fresh control message and sign again.
Browser wallet, lifecycle (session)
Missing walletVerification or invalid X-Step-Up-Challenge. Request a new challenge and retry.
DALP-0005 (401)
Browser wallet, lifecycle (session)
Investor has no wallet verification method configured. Have them set a transaction PIN and retry.
Browser wallet, lifecycle or deploy
Another request moved the account lifecycle. Read current state instead of retrying.
Browser wallet, create identity
Identity already exists, a write is in flight, or another wallet already holds the participant's registry entry. Read the identity instead.
Browser wallet, create identity
Account wallet must sign signingPayload with eth_signTypedData_v4, then resend.
Browser wallet, create identity
Signature did not recover to the account wallet. Request a fresh payload without a signature and retry.
Browser wallet, deploy smart wallet
Controller wallet must sign signingPayload with eth_signTypedData_v4, then resend.
Browser wallet, deploy smart wallet
Signature invalid or deadline passed. Request a fresh payload without a signature and retry.
Browser wallet, deploy smart wallet
Deployment check failed. Inspect data.reason below.
Either branch, on create
Caller may not create this participant or use this configuration. Use the investor's session and an offered id.

data.reason on DALP-12387 is one of:

  • account-abstraction-disabled: the organisation does not run smart wallets on this network. Treat setup as complete.
  • factory-missing: the network directory publishes no account factory or weighted multisig validator. Report this to the operator.
  • controller-unauthorized: another account already controls the participant's smart wallet on this network. Read the existing smart wallet instead of retrying.
  • prediction-mismatch: the factory predicts a different address than recorded. Read the account instead of retrying.
  • deadline-expired: authorisation expired while deployment was pending. Request a fresh payload and sign again.
  • deploy-failed: deployment settled with no code on chain. Retry with the same signature a few times, then report the network error rather than polling indefinitely.

Next steps

Was this page helpful?