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
await sdk.executeTool("SheluderTool", {
userId: "user-1",
chain: "1",
action: "buy",
data: "{\"token\":\"ETH\",\"amountUsd\":100}",
timeTrigger: "2026-06-01T10:00:00.000Z",
});
Returns all scheduled actions.
await sdk.executeTool("GetAllSchedulesTool", {});
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