Monitor and track trade transaction status using the DZap SDK
After executing a trade, you need to monitor its progress, especially for cross-chain transactions that may take several minutes to complete.The DZap SDK provides comprehensive status tracking for all trade types, from simple swaps to complex cross-chain bridges.
getTradeTxnStatus
function accepts the following parameters:
Parameter | Type | Required | Description |
---|---|---|---|
txHash | string | yes | The transaction hash from the executed trade |
chainId | number | yes | The chain ID where the transaction was executed |
TradeStatusResponse
type: