When a send stalls, your operations team knows where it stopped, and the platform picks it up from there. A blockchain write passes through several steps, and when one fails without a record a team has two bad options: send again and risk moving value twice, or wait and leave a transfer in an unknown state. DALP 3.0 records every step of every transaction, so recovery starts from the last one that finished.
Each transaction is a recorded state machine, so recovery resumes from the last step that finished
The engine writes each state before it moves on. A restart picks up at the recorded state, and a send that runs out of retries waits in DEAD_LETTER until an operator returns it to the queue.
- States
- Eleven, each one recorded
- Nonce
- Held while DALP broadcasts
- Reverts
- Returned as named errors
- Retries spent
- Parked for an operator
Before and after
Before 3.0: a write that timed out left the caller guessing whether it had reached the chain. A long token deployment could outlast the gateway timeout and return an error without the outcome. A revert came back as a hex string that someone had to decode against the contract before anyone knew which rule had refused the transfer.
With 3.0: every transaction carries a recorded state from RECEIVED to COMPLETED. A caller can take a status handle instead of holding the connection open, a revert returns the rule that fired, and stalled workflows show in Platform status before anyone goes looking.
Each transaction moves through recorded states to a terminal one, holds its nonce while DALP broadcasts and parks in DEAD_LETTER when retries run out.
Pick up a send where it stopped
Each transaction moves through eleven named states. Seven are active states: RECEIVED, QUEUED, PREPARING, PENDING_APPROVAL, SIGNING, BROADCASTING and CONFIRMING. Four are terminal states: COMPLETED, FAILED, CANCELLED and DEAD_LETTER. The engine records each state before moving on, skipping SIGNING when the custody provider sends the transaction itself.
An operator follows each transaction the platform sent and sees where it stands.
A custody approval holds the send in PENDING_APPROVAL, before or after signing depending on the provider. Suppose an Asset manager mints through a DFNS wallet whose policy needs a sign-off, and a rolling upgrade restarts the workflow service while it waits. On restart, the engine reads the recorded state and keeps waiting for the same approval instead of preparing a new transaction. When the approver signs off, the send moves to CONFIRMING and then COMPLETED, and the bond's supply changes once.
A DFNS or Ripple Custody approval fails after about 24 hours without a decision and a Fireblocks approval after about an hour, so an abandoned approval does not hold the account.
Retry a send on the same nonce
Each Ethereum account numbers its transactions with a nonce, and losing the link between an instruction and its nonce can cause a duplicate send or a gap. When DALP broadcasts, the engine allocates the nonce in PREPARING and holds it until the send reaches a terminal state. A retry of a live send reuses the same nonce, and sends from one account are queued so each nonce is allocated in order.
When a receipt arrives, the engine checks that its hash matches the transaction it sent. A receipt from a different transaction at the same nonce fails the send as replaced, instead of acting on the other transaction's logs. Any nonce error is recorded as NONCE_CONFLICT or NONCE_TOO_LOW on the failed send.
If the receipt does not appear within the polling limit, the engine marks the send as timed out, and reconciliation requeues it or moves it to DEAD_LETTER.
A retry cannot pay a counterparty twice for one instruction while DALP holds its nonce. When the custody provider broadcasts, the provider assigns the nonce, and DALP tracks the outcome instead.
Read why a transfer reverted
When a send reverts on-chain, the engine decodes the reason against the error definitions of every DALP contract and returns the error by name with its parameters. An integration that tries to transfer from a frozen address, or to a holder whose identity claim has expired, receives the named error and the value that caused it. The operator sees which rule fired and can act on it, and each refused transfer leaves a structured record of when it was attempted and why it failed.
A revert from a contract outside DALP's error definitions comes back as its raw data.
Wait for a long write without holding the connection open
Some writes take longer than an HTTP connection stays open, such as a token deployment or a multi-step settlement. A Developer deploys a token and asks for an immediate answer, and receives a pending handle at once. The status read reports the deployment's recorded state, including after a reconnect, until it reaches COMPLETED. See Mutations and settlement for how a request chooses between the handle and a bounded wait.
A closed stream or a timed-out request says nothing about the outcome, so keep the handle until the status is terminal.
Hand an operator the runs that need a decision
The engine watches every active workflow against two thresholds: how long it has waited, and how long since its state last changed. A run that is still making progress does not trigger, even after hours. When both thresholds cross, the workflows panel in Platform status reports that workflows are stalling.
The Platform API and CLI list every paused run, preview a resume as a dry run, and resume one run or a set of them. A send that has spent its retries waits in DEAD_LETTER, and an operator who has fixed the cause returns it to QUEUED through the same surface.
Your team hears about a stall before a counterparty notices it, and acts without access to the infrastructure. A step that did not finish runs again on resume, so any external call you add to a workflow must tolerate a repeat.
Upgrading
Nothing to do. Existing integrations keep working, and the Prefer headers are optional. Before a platform upgrade, follow drain waiting workflows. Each workflow worker drains its running work for up to 30 minutes before stopping, and a disruption budget keeps at least one worker ready during node maintenance.
Why it matters
- Banks: every transfer shows the recorded step it reached, including waiting for an approval or an operator.
- Exchanges, CSDs and market infrastructures: a settlement-critical send completes, fails with a named reason or waits for an operator. While DALP holds the nonce, a retry never sends it twice.
- Regulators: a refused transfer carries the named rule that refused it, and an unrecognised contract error returns its raw data.