External signing lets the holder of a custody account sign a write on an EVM network with a key the platform never holds, while still recording that write in the platform's transaction lifecycle. It works through a transaction preparation, a record that binds one write, its signer and its network for ten minutes. Retrying the same prepare or finalise call records one write, and a new preparation creates a new write.
Preparations cover custody accounts linked through Privy, Dynamic or a browser wallet, the three providers that leave signing to the holder. For accounts whose keys sit with a managed custody provider, send writes through the regular API routes instead.
Keeping keys in your own HSM or custody system
Choose one of two setups when keys stay outside the platform's own key store.
- Connect a managed custody provider. The platform integrates with IBM Digital Asset Haven, DFNS, Fireblocks, Luna HSM, Ripple Custody and Utila as managed providers, alongside its own managed key store. The provider's policy or quorum decides whether to sign, and the platform requests each signature. Preparation routes refuse managed accounts. See custody provider and custody approval.
- Link a self-custody account and sign through preparations. Link the EVM address to a self-custody provider configuration, then sign each prepared write yourself. An HSM without a managed connector can take this route when an EIP-1193 wallet fronts its EVM key and is linked as a browser wallet.
On the self-custody route, the platform never receives signed transaction bytes for a plain transaction. Your wallet or service broadcasts the transaction and reports the sender, nonce and transaction hash. The platform checks those fields against the frozen write and tracks the nonce on the network. Because it does not inspect which device produced the signature, proof that a key sits in an HSM comes from your own key management.
Linking starts with POST /api/, which returns a challenge for one enabled self-custody provider configuration and one EVM address. Choose investor custody walks through the calls.
A provider configuration that does not support linking your own key, is disabled for new accounts or does not serve the network returns 422 CUSTODY_ (not retryable). Only an unhealthy or quarantined provider returns 503 CUSTODY_, which you can retry.
Signing setups the preparation accepts
Each preparation records its signingMethod. Two methods exist, and the user-operation method supports two submission paths.
A smart wallet is a contract account that acts through user operations validated by an EntryPoint contract. User operations covers the bundler that sends them.
The platform chooses the signing method when you prepare, based on executionMode: prefer-aa uses account abstraction when possible, and direct always prepares a browser wallet transaction from the custody account's own address.
With prefer-aa, the preparation uses eip-4337-user-operation when the provider supports account abstraction and the participant has a smart wallet on that network whose sole signer is the custody account's address (a 1-of-1 weighted wallet, or an older single-owner wallet). A weighted smart wallet with another weighted signer, or a threshold the owner cannot meet alone, is refused with a binding conflict.
The preparation routes refuse managed signing. A managed custody account receives DALP-14032 on prepare, and a finalise call carrying a managed authorisation receives DALP-14033.
Who can prepare and sign
The preparation routes accept a signed-in session or an API key and require no organisation role. Eligibility depends on the custody account: it must be active, belong to the acting participant, hold an eligible organisation context on an enabled EVM network, use a provider configuration serving that network, and have an unarchived executor wallet. Failing any check returns DALP-14032.
A preparation belongs to the user and organisation that created it. Any other user or organisation receives DALP-14031, the same response as for a missing preparation.
What a preparation binds
Preparing a write freezes its facts and stores a digest over them: calling user, participant, organisation, custody account, provider configuration, network, executor and source address, operation kind and digest, summary, signing method and expiry. Every later claim, attachment and finalise call is checked against those stored facts.
Send an Idempotency-Key header on prepare. The key belongs to the calling user: repeating the same key and binding returns the stored preparation, while reusing the key with a different binding returns DALP-14033. Without the header, each call creates a new preparation.
An unclaimed preparation expires ten minutes after creation and cannot be claimed or finalised afterwards.
Steps from prepare to transaction request
Prepare the write
Call
POST /api/withv2/ transaction- preparations custodyAccountId,executionMode, asummaryand theoperation(kind,contractAddress,callDataand optionalvalue). The response returns statepreparedwithsigningMethod,executor,expiresAtand, for a user operation,preparedUserOperation(userOperationHashandpreviewData).For a user operation, the platform builds a preview before you sign. Under Paymaster-paid gas, the preview carries paymaster sponsorship so the smart wallet pays no gas. Otherwise an underfunded smart wallet returns
DALP-14034withsmartWalletAddress,heldWeiandshortfallWei. A smart wallet allows one open owner-signed operation per network, returningDALP-14033for a second until the first finishes or expires.Read the preparation
GET /api/returns the bound write and its progress: signing method, expiry, submission claim, attached handle or artifact and, once finalised,v2/ transaction- preparations/ {preparation Id} transactionRequestId.Claim the submission before anything is sent
Call
POST /api/withv2/ transaction- preparations/ {preparation Id}/ transitions action: "claim"to reserve one submission attempt. Repeating a claim with the sameclaimKeysucceeds, so choose a deterministic key.- Browser wallet transaction. Send
submission, aKind: "eip- 1193" claimKey, and thesender,chainId,nonce,to,valueanddatamatching the prepared write. The claim reserves that sender, network and nonce against every other preparation. The body requiresstartBlock, though the platform records the network's latest block as its search start. - Provider-submitted user operation. Send
submissionand aKind: "provider- handle" claimKeynot held by another preparation under the same provider configuration. - Owner-signed user operation sent by the platform. Skip claiming and go straight to finalise.
- Browser wallet transaction. Send
Sign the write, and send it from your wallet
For a browser wallet transaction, sign and broadcast the claimed transaction. Once sent, the nonce is spent and the claim can no longer be abandoned.
For a user operation, sign the raw
userOperationHashwith no prefix added. A personal-message signature adds a prefix and does not recover to the account. A typed-data signature works when its hash equalsuserOperationHash.On the provider path, attach the provider's handle with
action: "attach"andattachmentcarryingclaimKeyandproviderHandle. Repeating the same handle succeeds, while a different handle returnsDALP-14240.Finalise
Finalising cannot be undone: a consumed preparation stays permanently linked to its transaction request. Finalising links the preparation to a request and does not prove on-chain execution, so keep tracking the request to a terminal status.
Call transitions with
action: "finalize"and anartifactmatching the prepared signing method, with_tagset toEip1193(browser wallet) orTransaction Authorization Eip4337(user operation).User Operation Authorization - Browser wallet transaction. Send
sender,chainId,nonceandtransactionHash(nullif the wallet returned none), matching the stored claim. - Owner-signed user operation. Send
userOperationHashandsignature. The platform recomputes the hash, requires a canonical signature recovering to the custody account, wraps it for a 1-of-1 weighted validator when needed, and queues execution. - Provider-submitted user operation. Send the same artifact against the claimed handle. The platform checks the hash against the prepared one without re-verifying the signature, leaving signature verification to the EntryPoint on chain.
The response returns state
consumedwithtransactionRequestId. Repeating the same artifact returns the same request, while a different artifact returnsDALP-14033.- Browser wallet transaction. Send
Follow the transaction request
Read
GET /api/, or itsv2/ transaction- requests/ {transaction Id} /stream, untilstatusisCOMPLETED,FAILED,DEAD_LETTERorCANCELLED. Keep tracking aDEAD_LETTERrequest whilemayStillLandistrue, because its call can still confirm.A write your wallet already sent enters as
BROADCASTING, and confirmation tracking follows it once it has a transaction hash. An owner-signed user operation enters asQUEUEDand runs through platform execution from there.
To release a provider claim with no attached handle, call transitions with action: "abandon". The preparation returns to prepared, and you must claim again with a fresh key because abandoned keys are refused. Browser wallet claims and provider claims with a handle cannot be abandoned.
Preparation states
Your calls move a preparation through prepared, submission-claimed and consumed, and time or reconciliation moves it to expired or consumed.
A preparation has four states, reported in state:
prepared: the write is bound and unclaimed. Claiming moves it tosubmission-claimed. Finalising an owner-signed user operation moves it straight toconsumedand submits it.submission-claimed: one attempt is reserved. Finalising moves it toconsumed, and abandoning a handle-less provider claim returns it toprepared.consumed: permanently linked to its transaction request.expired: can no longer be claimed or finalised, with no transaction request recorded. Prepare again.
An unclaimed preparation expires ten minutes after creation, and any later claim or finalise returns DALP-12012. The expired state is persisted when that refusal runs, so a read before then can still show prepared with a past expiresAt. A claimed provider submission does not expire automatically: finalise it or abandon it before attaching a handle.
When a browser wallet claim outlives its preparation
When a browser wallet claim outlives its ten minutes, background reconciliation checks the sender's nonce on the network:
- Pending nonce equals the reserved nonce, confirmed nonce behind it. Nothing was sent, so the preparation expires and its claim key is retired.
- Pending nonce passed the reservation, confirmed nonce has not. The wallet sent something unmined. The platform consumes the preparation and records a
BROADCASTINGrequest without a transaction hash and starts no new execution. - Confirmed nonce passed the reservation. The platform searches finalised blocks for that nonce. If the mined transaction matches the claimed destination, value and call data, it consumes the preparation and records a
BROADCASTINGrequest with that hash for confirmation tracking. If any of the three differs, the preparation expires and its claim key is retired. A wallet can wrap your call inside another one, as a batched or delegated send does, so read that transaction on the network before you prepare the call again. While the platform cannot read a finalised transaction that used the nonce, the preparation stays claimed. - Nonce blocked or network unreadable. The preparation stays unchanged.
A request recorded without a transaction hash proves only that the wallet spent that nonce. Confirmation tracking skips hash-less requests, so check the wallet's on-chain activity at that nonce before sending again.
Writes that need more than one step
Some Console and Investor portal flows need several writes in order, such as an approval followed by a purchase. The public prepare route prepares one operation, while platform flows prepare sequences automatically: a smart wallet batches them into one user operation, and a plain wallet creates linked preparations where each step names the earlier one it waits on.
A linked step can be claimed only after the earlier step's transaction request is COMPLETED. Before then, claiming is refused as pending (DALP-14429), including while a dead-lettered earlier request still has may.
If the earlier request failed, was cancelled or was dead-lettered with may, claiming is refused as failed (DALP-14430) and the whole sequence must be prepared again. If either the step or its predecessor expired, claiming is refused as expired (DALP-12012).
Refusals and what the caller does
When an owner-signed preview reverts on chain, prepare returns 422 with the contract's own error (such as DALP-1009 for a compliance refusal, or DALP-0447 with revertData for an uncatalogued revert) and stores nothing. A browser smart-wallet token write returns the contract's error the same way. A platform preview refusal without revert bytes stays a binding conflict (DALP-14033).
The Platform API error reference lists each code with its full text.
In the Console and the Investor portal
The Console's token transfer sheet and the Investor portal use the browser wallet path for accounts linked to a browser wallet. Both require writable browser storage and the browser lock API, storing each attempt so a page reload resumes the recorded attempt instead of broadcasting twice.
When a submission stops, the Console explains why with messages such as:
- “The transaction expired before the wallet sent it, so the platform can no longer record it. Start the transaction again.”
- “Another session holds the wallet submission for this transaction. Finish it there.”
- “Another transaction from this wallet holds its next nonce until it is sent or expires. Finish that transaction, or start this one again in ten minutes.”
- “The wallet may have sent the transaction, but the platform could not record it. Check the wallet's activity before sending anything again.”
Terms that sound similar
Three other pages use a similar term for a different mechanism:
- Custody approval covers a managed custody provider or HSM holding a signature for policy approval. Preparation routes refuse managed accounts.
- Multisig covers an external seat on a weighted smart wallet with no platform identity behind it. Multi-signer weighted smart wallets cannot use the owner-signed path here.
- Single sign-on covers external Console sign-in via OpenID Connect. It governs sign-in and signs no transactions.
Related pages
Read custody provider for managed and self-custody providers, smart wallet for the account an owner-signed operation spends from, Embed a Privy wallet for a worked user-operation example, and Transaction lifecycle for how recorded requests settle.