latestOpenAPI 3.0.02026-08-15161451.7 KB
6ffb6a8fd74a
Swaps
Get swap status
Look up the current status of a swap by its quote ID. Pass txHash on the first call after broadcasting to bind it to the quote and start tracking. Subsequent calls can omit txHash.
get/v1/swap/status
Query parameters
quoteIdstring uuid required
txHashstring
Headers
X-Partner-Codestring
Partner code for affiliate fee attribution. The API resolves the code to the registered affiliate address and BPS. Register a code at the affiliate dashboard.
Response
Swap status
Example response
{
"partnerAddress": "0x1234567890123456789012345678901234567890",
"affiliateBps": "60",
"partnerBps": "50",
"shapeshiftBps": "10"
}