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 currently build URLs on https://test.dzap.io/trade.
Chain context helpers
Queues a chain change request context for a session.
Waits up to 120 seconds for confirmation resolution. Last modified on May 26, 2026