Skip to main content

Transaction Queue

The transaction queue lets an integrator retry a blockchain write under the same key, so the retry attaches to the first request instead of filing it twice.
Acceptance is not settlement.A submitted write is accepted by the queue, which records intent and deduplicates any retry that reuses the same idempotency key before handing the accepted operation to durable execution. Durable execution broadcasts the transaction and retries it as needed. Only once that work finishes does a terminal settlement verdict report what happened. Acceptance happens quickly. Settlement can take longer, and the two are never the same event.Acceptance is not settlement.The same figure as the desktop variant, drawn portrait for phone widths. A submitted write is accepted by the queue, which records intent and deduplicates a retry that reuses the same idempotency key. The queue then hands the accepted operation to durable execution, which broadcasts and retries it. Only once that work finishes does a terminal settlement verdict report what happened. Acceptance happens fast. Settlement can take longer, and the two are never the same moment.

The queue's own job is acceptance and deduplication, and what settlement means once execution finishes belongs to the settlement verdict.

  • The queue deduplicates matching requests carrying the same idempotency key, sender, network and wallet selection within 24 hours. Because an API route can run work before reaching the queue, check route replay rules and request status before retrying (see Idempotent Write).

  • Acceptance returns immediately while execution continues asynchronously. Read the Settlement Verdict once execution finishes rather than treating acceptance as confirmation.

  • Each signing address keeps its own nonce lane per network so one stuck write never blocks another sender, though relayed writes share the organisation relayer's lane. Automatic recovery handles transient faults, and operators can force retries, failures, cancellations or nonce alignments when needed.

Why every write needs a queue

Every ledger write ends as a signed transaction that consumes gas whether it succeeds or fails. Resubmitting after a dropped connection or timeout without deduplication can turn one mint, transfer or freeze into two real balance changes on chain. DALP signs managed-key and relayer writes on the queue, while externally signed holder writes are signed and paid by the holder.

Multiple callers (Console operators, API integrations and workflow steps) often submit work for the same wallet concurrently. Because every write from one sender requires a strictly increasing nonce, uncoordinated callers collide on the same slot. The queue serialises nonces per sender and chain so concurrent writes queue cleanly.

Every accepted instruction keeps a durable record of what was requested, attempted and returned on chain, alongside a controlled recovery path when a transaction stalls.

Why one queue for the whole platform

Giving issuance, custody, trading settlement and workflow steps separate retry and nonce logic would invite duplicate broadcasts and nonce collisions. Instead, every DALP-signed or submitted write enters this single queue, and externally broadcast holder writes register on it for confirmation tracking. One deduplication and ordering rule governs every operation in the Asset Lifecycle.

Acceptance is not settlement

Fast HTTP acceptance means DALP recorded intent, deduplicated matching retries and handed the work to durable execution, not that the transaction landed on chain. Read the recorded outcome from the Settlement Verdict once execution finishes.

Inside 24 hours, a matching submission with the same idempotency key, sender, chain and wallet selection attaches to an in-flight request or returns a completed request's stored result. Against a failed, dead letter or cancelled request, the queue refuses the duplicate key (noting when a dead letter may still land). The one exception is a failure rejected before signing with no nonce, hash or custody filing: DALP releases the key and starts a new request while keeping the failed row.

Reusing a key for a different write fails as an idempotency conflict (HTTP 409 on most routes, HTTP 400 TRANSACTION_QUEUE_IDEMPOTENCY_CONFLICT on token and token-feature writes). One-time outcomes such as maturities, full redemptions, claims and refunds also lock their logical outcome while in flight, rejecting competing keys immediately with TRANSACTION_QUEUE_OUTCOME_IN_FLIGHT.

What an operator sees, and one name not to confuse it with

Operators monitor the organisation-wide queue on the Transactions table of Platform status, where DEAD_LETTER appears as “Stopped after retries” with its sub-status underneath. The Submissions tray tracks only the signed-in user's own requests. When automatic recovery cannot clear a row, operators use the levers under What the operator API adds beyond acceptance.

The Console's Actions page is a separate human work queue for settlement approvals, bond redemptions, votes, KYC updates and custody or multisig approvals that a queued transaction waits on. Approving an item there unblocks the queued request.

Ordering, delivery, and what happens when work stalls

Execution orders writes per sender address and chain ID through that sender's nonce lane, isolating pending nonces across senders even though shared network or service capacity can still affect both.

Chain delivery is at-least-once rather than exactly once, so the same row can be broadcast more than once under the nonce controls in Nonce management. Deterministic rejections record failed immediately without spending retries. Stalled rows are checked on a five-minute reconciliation sweep that requeues while retries remain and moves them to dead letter once retries run out.

Transient and terminal failures take different recovery paths.A transaction anywhere in the queue's pipeline, any state before a terminal one, can fail two ways. One that fails deterministically before it ever broadcasts, an invalid request is one case, is classified immediately and recorded as failed without spending any retry budget. One that stalls with no confirmation past a state-specific threshold is picked up by a periodic reconciliation sweep. That sweep requeues it if retries remain, or moves it to dead letter once the retry limit is reached. Failed and dead letter are terminal states on the queue's own state machine. Neither row requeues itself: only an operator's forced retry requeues it. A dead letter whose call may still land can still close as completed, failed or cancelled once the platform finds its outcome.Transient and terminal failures take different recovery paths.The same figure as the desktop variant, drawn portrait for phone widths. A transaction anywhere in the queue's pipeline either fails deterministically, an invalid request is one case, and is recorded as failed immediately with no retry spent. Or it stalls past a threshold and is picked up by a periodic reconciliation sweep, which requeues it while retries remain or moves it to dead letter once they run out. Both states are terminal, and only an operator's forced retry requeues the row.

Failed follows a deterministic rejection and Dead letter follows exhausted retries or a lost signing run, and only an operator's forced retry runs either again, as a fresh start.

Nonce management

The transaction queue assigns every nonce itself, from one nonce lane per sender address and chain ID. Two network entries for the same chain ID share the lane. A lane has one owner at a time, and a write from an owner that another process has displaced is refused, so two processes never hand out the same nonce for the same sender.

How a nonce is reserved and sent

  1. Reserve. The lane reserves the next free nonce for the transaction and checks it against the chain's own transaction count for the sender. A reservation holds a lease of 2 minutes.
  2. Seal. The signed transaction is stored with its nonce before the platform broadcasts it. Every resend of a sealed version uses the same signed bytes, so it keeps its nonce and its transaction hash. A fee replacement, described in the next section, signs a new version for the same nonce.
  3. Broadcast. The transaction engine sends the signed bytes. On a transient node failure it sends the same bytes again, up to 3 more times, after waits of 200, 400 and 800 milliseconds.
  4. Reclaim. Once a minute, a sweep deletes reservations whose lease expired before the transaction was signed and sent, and the lane takes those nonces back.

The check in step 1 also keeps a request that already went out, and is still open in the database, from being signed a second time. When the database loses its last commits, a request whose transaction was already sent can read as never signed. That happens when an async standby is promoted, when a point-in-time restore runs, or when a database that runs with synchronous_commit = off crashes. Before the lane reserves a new nonce, it takes every nonce the chain has used for that sender since the confirmed count it recorded at its last reservation, and picks out the ones that no reservation, request, relayed write or sent bundle records. A lane that has no recorded count yet starts here instead:

  • A lane from an earlier release starts at the chain's current confirmed count.
  • A sender with no lane whose nonces the platform records nowhere starts at nonce 0 while it has sent at most 32 transactions. With more, it starts at its count one hour before its oldest open write was created.
  • Any other sender with no lane starts at its count 10 minutes before its oldest open write was created.

When the node no longer keeps the count at that block, because it says the state is pruned or, like Besu, answers 0 while its latest count is above 0, the lane starts at the oldest block the node keeps, or at nonce 0 when the sender's first transaction is in that block. It logs exec.nonce.HISTORY_PRUNED and marks every open write of that sender created before that block MAY_BE_ON_CHAIN, with the range of nonces it cannot see, from just above the highest nonce the platform records.

A nonce also lacks a record when the sender's key signs outside the platform or a custody provider sends for it. The lane reads the transaction at each such nonce from the chain:

  • It carries the call of an open request. An open request is one that is not completed, failed or cancelled, so a dead letter counts, and that holds no nonce, hash or custody provider filing. The lane gives that request the nonce back with the transaction's signed bytes. The request sends the same transaction again and settles with its hash. When that request is already a dead letter, the lane records the hash on it instead, and the dead-letter sweep settles it from the receipt.
  • It carries no open request's call. The lane treats it as sent outside the platform and reserves the nonces after it. When the call matches an open write of another sender that names no relayer, such as a write the organisation relayer sent directly whose relayer record was lost, the lane marks that write MAY_BE_ON_CHAIN as in the last case below instead, and never hands the transaction to it. It logs exec.nonce.UNACCOUNTED and raises no alert.
  • It is in the pool, or its block is not final. Every new reservation on that lane waits, with no time limit and no alert, and the waiting request logs exec.nonce.LANE_WAIT every 5 seconds. The lane also waits while it cannot read the chain or its own records. The waiting request stays in SIGNING and keeps its retry budget. A sender that also sends through a custody provider therefore waits for each provider transaction to be final.
  • The chain gives no transaction for the nonce, or the platform cannot tell whether it carries a request's call. Every open request of that sender that could carry the transaction (only those that carry its call, when the chain gives the call) and was created before the transaction was mined becomes a dead letter with the sub-status MAY_BE_ON_CHAIN and mayStillLand: true, and none of them is signed again. When the chain gives no transaction, the latest block stands in for it, and either way a 10-minute margin covers clock skew. On a relayer lane this includes the forwarded transaction's signer's own writes that name no relayer. A request created later cannot own the nonce, so it is not marked, unless the lane found it carrying the call. An operator closes such a row as What an operator can do describes. When the lane cannot mark every one of them, it keeps waiting and logs exec.nonce.UNPROVABLE_UNFLAGGED.

The check sees only requests that are still open in the database. The lost commits can roll a request back to before signing, where it can still be cancelled, and a cancelled or failed request is no longer matched, so its transaction counts as sent outside the platform. After a failover or a restore, read the sender's transactions on chain before you cancel, fail or resend a request that reads as never sent.

The transaction engine's RPC client tries each endpoint once per send. When a send fails on one endpoint in a way that may have reached the node, and the client moves to another endpoint, it marks the outcome as uncertain, because the first endpoint may already have taken the transaction. How the transaction engine picks an endpoint describes that client. The engine then decides from the chain what happened instead of trusting the refusal:

The node returns
What the engine does
The transaction is already known
Keeps the transaction hash of the signed bytes and waits for its receipt.
The nonce is too low
Looks for a receipt of these signed bytes first. With no receipt, when the lane had just reserved the nonce for these freshly signed bytes, the lane checks that nonce again from the chain and reserves again, up to 3 times. A refusal as replacement underpriced at such a nonce does the same. Otherwise the engine records the outcome as uncertain, because an earlier signature of the same call may have taken the nonce.
A refusal such as insufficient funds, a stale fee cap, intrinsic gas too low or an invalid configuration
Fails the attempt. It records the failure as definite only when no earlier send was uncertain and the chain does not show the transaction.

When the node refuses a transaction before sealing because its fee cap is stale, the engine re-signs it up to 3 times.

Stuck and dropped transactions

If an EIP-1559 transaction on a public-mempool network has no receipt after 3 blocks (with no missing lower nonce, a fresh fee quote and current chain head), the engine replaces it at the same nonce bidding at least 12.5% higher, up to 3 replacements within fee ceilings and spending budgets. If the sender lacks funds, it raises a funding request instead.

After 120 seconds without a receipt, the request stays CONFIRMING with sub-status TIMEOUT, explaining whether another transaction took its nonce, a lower nonce is missing, the pending count exceeds the nonce, or nodes likely dropped it.

Every 5 minutes, a reconciliation sweep checks requests stuck past 5 minutes. If a receipt exists, it settles the row. Otherwise it compares the nonce against confirmed and pending transaction counts and requeues (up to 3 default retries, re-sending the exact sealed bytes) only when the slot is free, moving exhausted rows to dead letter. Per-row errors log exec.reconciliation.ROW_FAILED and continue sweeping later rows.

If a signing run disappears and a row sits untouched for an hour, the sweep dead-letters it without retrying unless its nonce slot already holds a signed or broadcast transaction. Rows with signed slots stay in progress and log execution-evm.signing-claim.lost-holder-signed-slot so an operator inspects the chain before acting.

When the sender's pending count exceeds the nonce, the sweep queries every configured network endpoint for the row's recorded hashes (original, signed, fee replacements and cancellations) within a 2-minute lookup budget (exec.nonce.SLOT_LOOKUP_BUDGET_SPENT if exhausted):

  • Found on any endpoint. The transaction is still pending, so the sweep leaves it alone.
  • Missing on all endpoints. The sweep marks the slot held as dropped (exec.nonce.SLOT_REFUSED), never minting a new nonce while the count stays higher. Persistent holds raise TransactionRecoveryDroppedNonceSlots after 15 to 20 minutes. Act on multiple dropped rows in ascending nonce order.
  • Unanswered endpoint. The sweep holds the row as unresolved and retries next pass, raising TransactionRecoveryUnresolvedNonceSlots after one hour.

The sweep also detects wedged lanes where the pending count stalls below the lane's next nonce for 10 minutes with no active row on the lowest unmined nonce:

  • The gap came from an unsigned row. The sweep fails the row and fills the gap with a zero-value self-transfer, repriced up to 3 times if base fees rise.
  • No reservation and no request records the gap. This happens when a request gives up its nonce while later transactions stay in the pool. The sweep fills the gap with a zero-value self-transfer at the market fee, signed with the signer of a stuck request on that lane, and fails no request. The platform keeps no record of this fill and does not reprice it. A node that already holds a transaction at that nonce at the same fee or higher refuses the fill, and the sweep logs exec.nonce.LANE_FILL_SLOT_TAKEN. Whichever transaction lands, the lane's next reservation decides it from the chain, as How a nonce is reserved and sent describes.
  • No fill is possible. The sweep logs exec.nonce.LANE_WEDGED. A fill that a custody provider holds for approval is withdrawn and logged as exec.nonce.LANE_FILL_REFUSED.

When a custody provider assigns nonces itself, DALP neither replaces nor cancels stuck transactions on that lane. Cancel them directly at the custody provider.

What an operator can do

Wallet holders can cancel a transaction via POST /api/v2/transaction-requests/{transactionId}/transitions with {"action":"cancel"}. Cancelling a dead letter, or running fail, retry and nonce, requires an organisation owner or platform administrator (see the Platform API reference).

Before broadcast, cancellation completes immediately. After broadcast, cancellation submits a zero-value self-transfer at the same nonce bidding at least twice market fee (or 12.5% above the last bid) within network ceilings and spending budgets, refusing if limits are exceeded or if a custody policy holds the replacement (DALP-14035, see Custody Approval). Operators can also force a lane's next nonce with action: "nonce" and a reason, keeping the last 10 overrides on record.

A dead letter row with the sub-status MAY_BE_ON_CHAIN keeps mayStillLand: true until its outcome is known, and its error message names the sender's nonces to check, as a range when the node could not show that part of the sender's history. The sweep and fail read the oldest block the node keeps once and use what it shows, so a nonce of the range mined in that block is found. For a nonce the node no longer keeps (the rest of that range, or any stored nonce below the sender's count at the oldest block the node keeps, once the node has pruned the history before that block and that block is final), read it from a node or explorer that keeps the history, and fail takes your reading. With same-call, takerHash must still be a mined transaction of that sender at a nonce in the range. fail also waits until the final chain counts at least the range's end, and it reads the chain through the platform's network for that chain, so on a chain whose finality trails the state the node keeps, point that network at a node that keeps that history before you close the row. With other-call, the row closes and its reason records your reading as unverified. Force-retry and cancel both refuse it, even with custodianStopped: true. The dead-letter sweep settles it once the transaction at one of those nonces is final and carries the row's call. Otherwise the row waits for an operator, and the stale dead-letter alert fires after an hour. The operator reads the transaction at every nonce the row names and runs fail with takerChecked set to one of two values:

  • same-call. One of those transactions carries the row's call, and takerHash is its hash. The row stays a dead letter with that hash, and the sweep settles it from the receipt as completed, or as failed when the transaction reverted.
  • other-call. None of them carries the row's call, and the row closes as failed. When the platform cannot tell whether one of them carries the call, takerHash must name it.

The platform refuses fail while any of those nonces has no final transaction, or when the transaction at one of them carries the row's call. With other-call, the platform checks only that takerHash names one transaction it cannot tell about, so the reading of the others rests on the operator.

For a signed row held as dropped, operators have two recovery options (because fail and retry refuse signed dropped rows with HTTP 409):

  • Rebroadcast. Read the latest signed transaction (or highest-fee replacement) from the deployment database and broadcast it with eth_sendRawTransaction after confirming the caller has not sent a fresh key. Never rebroadcast a row that has a recorded cancellation.
  • Cancel. Submit a cancellation self-transfer to fill the nonce after verifying no validator or external node still holds the original transaction.

What each outcome leaves you

Every transaction ends in one of four terminal states (completed, failed, dead letter or cancelled), while any other state such as QUEUED or CONFIRMING means execution continues even after a synchronous wait ends. On dead letter, mayStillLand indicates whether a broadcast transaction or custody filing can still settle on chain.

What you see
What is still possible
Still pending after your synchronous wait
Read back the status URL the response carried, until the transaction reaches a terminal state. The queue deduplicates a matching submission, but repeat the API request only when its route documents replay safety.
Completed
Nothing. The row stays closed, and DALP blocks a forced retry against it.
Failed
An operator can force a retry. You can submit a fresh attempt yourself under a new idempotency key. The row does not requeue itself.
Dead letter
If the call may still land, do not resend it: DALP keeps checking and settles it when an outcome appears. Ask an operator to close it after checking the chain or provider. When mayStillLand is false, submit a fresh attempt under a new idempotency key.
Cancelled
DALP blocks a forced retry. A fresh attempt needs a new idempotency key.

Choose between an operator force-retry and a fresh key based on what you have verified. A force-retry preserves the row's original identity and idempotency key, whereas a fresh key starts independent work and can duplicate an already-settled call if you skip inspecting the original outcome.

A force-retry restarts the row from scratch, clearing the error and resetting its retry budget while appending the operator's transition and reason to the row's permanent audit history.

What the operator API adds beyond acceptance

The queue admits one request per sender, chain and idempotency key within 24 hours, attaching matching submissions and rejecting conflicting payloads or expired keys (see Idempotent Write). Calls default to async HTTP 202 handles, and bounded synchronous waits degrade cleanly to the same pending handle if the wait window expires.

DALP separates deterministic validation and contract reverts from transient faults, excluding recognised gas, prefund and paymaster-deposit shortfalls from terminal failure so funding pauses can recover automatically. Outside automatic recovery, operator transitions (retry, fail, cancel and nonce) provide scoped manual control.

What a stalled or failed transaction does not mean

A failed or dead letter row is never lost: its full history stays visible in Transactions until acted on. Likewise, an expired synchronous wait is not a rejection, because execution continues durably in the background.

Gas-shortfall errors reference only the caller's resolved executor wallet, never a shared Operator Wallet or another participant's address, preventing wallet-identity disclosure.

Frequently asked questions

Does resubmitting under a new idempotency key ever create an unwanted duplicate?

Yes. Queue deduplication matches sender, chain and idempotency key together, so a new key always starts new work even if the earlier request succeeded. Always inspect the original request status before generating a new key.

Does the same idempotency key protect a retry across two different chains?

No. Deduplication scopes to sender, chain and key together, so reusing a key on a second network creates an independent request there. Use a separate key per network.

Does forcing a retry give a failed transaction a new idempotency key?

No. Force-retry requeues the same failed or dead letter row under its original sender, chain, wallet-selection fingerprint and idempotency key, resetting execution state, retry count, error details, nonce and receipt (replacing the gas price if provided). Role-set steps cannot be force-retried individually, and repeating force-retry on an unclaimed QUEUED row resumes or restarts execution.

For a dead letter row with mayStillLand: true and no nonce reservation, force-retry returns DALP-200383 unless no submitted nonce is recorded, the chain shows no call, and the operator sends custodianStopped: true attesting the call was stopped externally (DALP records that attestation without verifying it). A MAY_BE_ON_CHAIN row is refused even with custodianStopped: true.

Why can an operator reopen a failed transaction but not a completed one?

Completion means the chain executed the call, so reopening a completed row would broadcast a duplicate. Failed or dead-letter rows can be requeued once their root cause is fixed, except dead letter rows with mayStillLand: true until the chain or provider outcome is verified. A MAY_BE_ON_CHAIN row is never requeued, even with custodianStopped: true. It ends through the dead-letter sweep or fail, as What an operator can do describes.

Was this page helpful?