Skip to main content

getSwapStatus

Gets the current status of a swap transaction by its on-chain transaction hash. Use this to poll for completion after calling executeSwapTransaction.

Usage

Parameters

Returns

Promise<SwapStatusResponse> - The swap status:

Status Values

Substatus Values

When pending: When done: When failed:

Examples

Poll until complete

Cross-chain status check

React

useGetSwapStatus is a query hook. Pass refetchInterval to poll automatically:
Last modified on June 29, 2026