GET /getAction and Swaps
automatically routes through the stableswap venue when it wins on price.
There are no new parameters and no new endpoints.
Supported scope
Live today on Solana mainnet, for any pair among:
Stableswap routes support sponsorship: pass the standard
solanaSponsor
parameter and the sponsor covers transaction fees and rent on behalf of the
user, making the swap gasless from the user’s perspective.
Example
A same-chain Solana swap from USDC to PYUSD — a standardgetAction request:
ActionResponse with a serialized Solana
transaction to sign and broadcast. When the stableswap venue offers the best
execution for the pair, Swaps selects it automatically — the request and
response shapes are identical either way.
Tracking
Stableswaps are tracked like any other swap: pollGET /getStatus with the txId or use
webhooks.