Skip to main content

Transactions waiting for funding

Transactions stop going out because the wallet that pays gas is short: find the wallet, fund it inside the funding window, and recover failed requests.

Work shows “Waiting for funds” because the wallet paying gas is short. Fund the wallet named in the notice before the funding window closes (1,800 seconds by default unless overridden per network) and the request resumes automatically.

When a paying wallet lacks gas for an EVM write, DALP pauses the transaction request, opens a funding notice with the wallet and shortfall, and waits for funds without broadcasting. If the window expires before funds arrive, DALP requeues up to 3 retries by default and fails the request once the final retry expires.

Callers sending Prefer: dalp-no-funding-pause (or targeting a zero-gas network, see Whether the chain charges gas) decline the pause and fail immediately.

Symptoms

  • The Console Submissions tray shows “Waiting for funds” (“Held until the wallet it pays from has enough funds. It continues on its own once the funds arrive.”).
  • Organisation settings → Infrastructure → Transaction funding (Fund an open request) shows a notice such as Relayer wallet needs 0.25 ETH (or <wallet> needs gas if the amount is unavailable).
  • Runner logs (ddwf.workflow.with-funding-pause) record Funding pause entered, waiting on the funded subject (subject_address, recommended_total_wei, deadline_ms), or Funding pause window elapsed, failing terminal once the window closes.
  • GET /api/v2/transaction-requests/<transactionId> returns activeRequirement (address, shortfall, recommendedTotal) while paused, or contractError with id DALP-9087 once failed.
  • Write routes called with Prefer: wait=<seconds> return 400 (TRANSACTION_QUEUE_FUNDING_REQUIRED, DALP-14062, data.refusal: "FundingRequired", data.transactionId) when a request fails for funding inside the wait.
  • Bundled observability alerts:
Alert
It fires when
LowOperatorWalletBalance
An operator wallet stays below 0.1 native units for 15 minutes (skipped on zero-gas networks).
FundingPauseExpirySustained
Three or more funding notices for the same network and wallet kind expire unfunded within 30 minutes, sustained for 15 minutes.
FundingPauseNeverResumed
A funding notice stays open past its deadline while a paused request waits on it, for 15 minutes.

Checks

Access: Transaction funding requires system administrator, System Manager or Gas Manager roles. Platform networks requires platform administrator.

  1. Tell a paused request from a failed one. “Waiting for funds” in Submissions, an open notice on Transaction funding, or activeRequirement on GET /api/v2/transaction-requests/<transactionId> means the request is still paused and needs only funds. DALP-9087 on request status or DALP-14062 from a Prefer: wait call means the request failed and must be re-submitted after funding.

  2. Find the wallet and amount. In the top-right account menu, switch Network to the affected network if your account has more than one, then open Organisation settings → Infrastructure → Transaction funding. Or query the API directly:

    curl -fsS "https://<console-host>/api/v2/transaction-requests/<transactionId>" \
      -H "Authorization: Bearer <token>"
  3. Check the network's funding window. Open Platform admin → Platform networks → Edit network → Advanced settings → Gas and funding → Funding pause window (seconds). Default is 1800 seconds (86400 on ADI Chain mainnet/testnet, Sepolia and Optimism Sepolia). See Gas settings.

  4. Check why a funded request is still waiting. Search runner logs:

    kubectl -n dalp logs -l app.kubernetes.io/component=runner --tail=300 \
      | grep -E 'ddwf\.workflow\.with-funding-pause|Native balance fetch failed'
    • Custody provider balance view has not caught up with the funding, not filing: custodian balance sync lags behind chain state. DALP reads the provider balance again after 5 seconds, then doubles the wait each time, up to the funding settle delay (default 120 seconds).
    • Sender funds are held by its other open writes, waiting for them to settle: earlier transactions from the same wallet have not settled yet. DALP rechecks with backoff from 5 to 60 seconds.
    • Funding ask cannot be sized, declining to pause: DALP could not estimate the shortfall and failed the request with its original error.
  5. Check balance-collector errors. If NativeBalanceFetchErrors fires, inspect Native balance fetch failed (didx.native-balance-collector) in runner logs. For RPC failures, follow RPC upstreams failing over.

Actions

  • Request is paused: Select the funding button on the notice (for example Fund 0.25 ETH) on Transaction funding and transfer native gas currency to the shown address after verifying it against activeRequirement.address and your wallet register. Do not resend the write: DALP resumes automatically once funds land (Funding pause re-invoke succeeded after funding, slot cleared).
  • Request failed for funding: Confirm contractError DALP-9087 is present and no open notice remains, fund the wallet, then resend the write with a new Idempotency-Key (reusing the old key returns 400 TRANSACTION_QUEUE_DUPLICATE_SETTLED, DALP-14066). Never send a new key while the original request is still paused, or the operation can execute twice.
  • Failed because other writes held funds: Look for kept the funds this write needs. Submit it again once those writes settle., wait for open writes to settle, then resend.
  • Repeated unfunded expiries (FundingPauseExpirySustained): Confirm notices reach treasury operators, and raise Funding pause window (seconds) (range 60 to 604800) if your funding workflow needs longer.
  • Proactive low balance (LowOperatorWalletBalance): Top up the named wallet above 0.1 native units before writes pause.
  • Node kept rejecting a funded wallet: Look for the node kept rejecting it for gas while wallet <address> already covered <amount>. DALP retries up to its retry budget, and you can resend if retries exhaust.

Verify recovery

The request leaves “Waiting for funds” in Submissions, the notice on Transaction funding closes, and LowOperatorWalletBalance clears.

Escalate

Escalate to your DALP support contact as a platform defect if FundingPauseNeverResumed fires, if a funded request stays paused with none of the Check 4 log lines, or if the node-kept-rejecting error repeats. Include:

  • Network name, chain ID and wallet address.
  • Transaction request ID (data.transactionId or Activity).
  • Requested funding amount and funding transfer hash.
  • ddwf.workflow.with-funding-pause log lines matched on op_name, including deadline_ms.