Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The trade() and zap() response shape, for error handling.
trade()
type DZapTransactionResponse = { status: TxnStatus; errorMsg?: string; code: StatusCodes | number; action?: "TRY_ANOTHER_ROUTE" | "INCREASE_SLIPPAGE" | "INCREASE_ALLOWANCE"; txnHash?: HexString; error?: unknown; additionalInfo?: Record<string, unknown>; updatedQuotes?: Record<string, string>; };
status === TxnStatus.success
txnHash
errorMsg