Creates a future scheduled action persisted in SQLite.
Input:
userId
chain
action: swap|bridge|zap|buy|sell|addLiquidity|removeLiquidity
data (JSON string)
timeTrigger (ISO string)
- optional
onChainTrigger object
Returns all scheduled actions.
Legacy link generators (deprecated)
Inputs:
fromAmount, fromChain, fromToken, toChain, toToken
Inputs:
fromAmount, fromChain, fromToken, toChain, toToken
Both build URLs on https://app.dzap.io/trade by default; override the base
with the DZAP_TRADE_BASE_URL environment variable.
Chain context helpers
Queues a chain change request context for a session.
Waits up to 120 seconds for confirmation resolution. Last modified on June 18, 2026