Trade API
Status
Track a trade (swap or bridge) transaction - single or batch.
GET
Returns step-level status for a trade. Cross-chain trades are async; poll until the status reaches a terminal state (
Check several transactions in one call. Accepts comma-separated
COMPLETED, FAILED, PARTIAL, or REFUNDED).
Query
EithertxHash or txId, always paired with chainId:
On-chain transaction hash from the executed trade.
The DZap transaction ID returned when building the trade.
Chain ID where the transaction was executed.
Response
Overall status:
COMPLETED, FAILED, PENDING, PARTIAL, or REFUNDED.Unix timestamp.
swap, bridge, or zap.One entry per leg of the trade.
Batch status
txHashes/txIds aligned positionally to comma-separated chainIds, and returns an array of the same response shape as above.
Comma-separated transaction hashes.
Comma-separated DZap transaction IDs.
Comma-separated chain IDs, aligned to
txHashes/txIds.Examples
Last modified on July 14, 2026