Skip to Content
LandedFXDocs

Executing swap legs

Turn a priced stablecoin leg into a transaction your wallet signs.

Quotes are indicative. To execute a swap leg, request an executable swap quote with your own addresses.

curl -X POST https://api.landedfx.com/api/v1/swap/quotes \
  -H "x-api-key: $LANDEDFX_KEY" -H "content-type: application/json" \
  -d '{
    "from": "USDT:tron",
    "to": "USDC:base",
    "amount": "725",
    "executable": true,
    "user": "<your Tron address>",
    "recipient": "<your Base address>"
  }'

data.quotes is sorted cheapest all-in first. What you get depends on the provider:

ProviderReturnsYou do
Relaysteps: unsigned transactions and signaturesSign and send each step from user
NEAR IntentsdepositAddressSend exactly amountIn of from to it

Track either with GET /swap/status?provider=relay&id=<requestId> or provider=near&id=<depositAddress>.

Executable quotes refuse placeholder or burn addresses, and LandedFX never signs or holds funds. Check minAmountOut and the deadline before sending.