Swap tokens across networks, no account

Swap tokens across 35 networks and send USDT0 from Stellar, with no account.

Swap

You receive
0
  • No accountOpen the page and swap. The public API works the same way.
  • 35 networksStellar, Solana and Monad markets, and every network NEAR Intents reaches.
  • Non-custodialEach swap is a transaction your wallet signs or a deposit address you pay.

Commission: 0.65% per swap without an account, from 0.65% to 0.07% with a plan, plus the networks' fees.

USDT0: native USDT from Stellar

USDT0 on Stellar is Tether's omnichain USDT. Send it 1:1 through LayerZero: it arrives as native USDT on Ethereum and as USDT0 on 20 more networks. LayerZero's fee is paid in XLM, and the quote shows every fee before you sign.

Where it arrives

The same swaps from your code

The public swap API needs no account either: take the shared public key and call the endpoints this page uses. It charges the same 0.65% per swap.

  1. Get the public key

    curl "https://api.cosmospay.lat/cosmos-api/v1/public-key?env=prod"
  2. Quote a swap between networks

    curl -X POST "https://api.cosmospay.lat/cosmos-api/v1/cross-chain-swaps/quote" \
      -H "Authorization: Bearer $PUBLIC_KEY" -H "Content-Type: application/json" \
      -d '{"originChain":"stellar","originAsset":"XLM","destinationChain":"solana","destinationAsset":"SOL","amount":"100","recipient":"<solana address>","refundTo":"<stellar account>"}'
  3. Quote USDT0 out of Stellar

    curl -X POST "https://api.cosmospay.lat/cosmos-api/v1/usdt0/quote" \
      -H "Authorization: Bearer $PUBLIC_KEY" -H "Content-Type: application/json" \
      -d '{"to":"eth","amount":"100"}'
API reference

Questions

Do I need an account?

No. The page and the public API use a shared public key. An account adds a history in the dashboard and, with a plan, a lower commission: from 0.65% to 0.07%.

Who holds my funds?

Not Cosmos Pay. A swap on one network is one transaction your wallet signs. A swap between networks waits at a NEAR Intents deposit address until NEAR Intents settles or refunds it, and USDT0 travels through LayerZero.

What does it cost?

0.65% per swap without an account, from 0.65% to 0.07% with a plan, plus the networks' fees. USDT0 out of Stellar also pays LayerZero's fee, in XLM. Every quote shows the fees before you sign.

Why does USDT0 leave a tiny remainder?

USDT0 crosses with six decimals and Stellar has seven: the seventh stays in your account.

Can I offer swaps to my customers?

Yes, as a service: we run the swaps, and you only set the wallet addresses that receive the money and sign with your wallet. Each swap pays your plan's commission, and you can add your own fee to it, paid to the wallet you choose.