Skip to content

Crypto to crypto

Crypto to crypto is a direction where the customer gives one coin and receives another. For example: USDT in, ETH out; BTC in, USDT out; one coin in, another coin out.

When it applies

It applies to any direction where the coin in and the coin out are different:

  • a stablecoin in (USDT or another), a coin out (ETH, BTC, and so on);
  • a coin in, a different coin out;
  • a coin in, USDT or another stablecoin out.

If the customer gives and receives the same stablecoin, with no change of coin, that is an ordinary direction, not crypto to crypto.

Where the payment goes

On a crypto-to-crypto direction the customer’s payment goes to the Coins wallet automatically. USDT does too, even when the organization is set to accept USDT on-chain.

That payment is the liquidity used to buy the coin the customer should receive and to send it with auto-payout.

What to set

On this direction in the exchanger, both the merchant and the auto-payout must be OnChain Wallet, set for this direction.

  • Merchant — OnChain Wallet, the one that takes payment for this direction.
  • Auto-payout — OnChain Wallet, for the coin and network the customer receives on this direction.

If the direction has a different merchant, a different auto-payout, or either of them from another direction, the payment and the payout will not match.

Exchange rates

On a crypto-to-crypto direction the exchanger must quote a rate that matches how OnChain Wallet values the Coins deposit in USDT and caps the auto-payout.

Where rates come from

OnChain Wallet refreshes USDT conversion rates on a schedule from market quotes for supported coins. The same up-to-date set is exposed through the merchant API so the exchanger and the wallet use the same numbers.

Endpoint

GET {Base URL}/api/conversion-rates

  • Base URL — the same URL as in the OnChain Wallet merchant settings (the one used for POST /generate-disposable-address, balance, and withdrawals).
  • Authentication — not required for this request.

Example response:

{
  "rates": {
    "ETH_USDT": { "rate": "2491.4196" },
    "BNB_USDT": { "rate": "737.10505" },
    "USDT_USDT": { "rate": "1" }
  }
}

Each key is {TICKER}_USDT. The rate field is how many USDT one unit of that ticker is worth. USDT_USDT is always 1.

If a ticker is missing from rates, OnChain Wallet does not quote that coin yet — do not use it on a crypto-to-crypto direction until it appears.

For TON, the rate key uses ticker TON (OnChain Wallet maps exchange symbol GRAM to TON where needed).

Supported coins

In the merchant and in auto-payout, set the network and ticker from this list. Each side of the direction has its own pair: for example, USDT on TRC20 in and ETH on ERC20 out.

Open the network and use that ticker in both places.

TRC20Tron
BTT JST SUN TRX TUSD UAHG USDC USDT WIN
ERC20Ethereum
1INCH AAVE ACN ACX ADX AERGO AEVO AGLD ALICE ALLO ALT AMP ANKR APE API3 ARKM ARPA ATH AUCTION AUDIO AURORA AXL AXS BANANA BAND BARD BASED BAT BEAM BICO BIGTIME BIO BLUR BNT BREV CFG CHR CHZ COMP COTI CRV CTSI CVC CVX DAI DEXE DIA DODO DOP2 EDC EIGEN ENA ENS ENSO ERA ESP ETH ETHFI EURI EV FET FF FLOKI FLUX G GALA GLM GNO GRT HYPER IMX JASMY KERNEL KITE KNC LA LDO LINK LIT LPT LQTY LRC MANA MASK MEME METIS MORPHO MOVE NEIRO NEWT NEXO NIL NMR NOM OGN ONDO OPEN OPN ORBS PAXG PENDLE PEOPLE PEPE PHA PIXEL POL POND PORTAL POWR PROVE PYR PYUSD QNT RAD RED REZ RLC ROBO RPL RSR RTF SAFE SAND SCM SENT SHIB SIGN SKL SKY SNX SPE SSV STG STORJ STRK SUPER SUSHI SXT SYRUP T TOWNS TRB TREE TUSD UAHE UAHG UMA UNI USDC USDS USDT WLFI WOO XAUT YFI YGG ZAMA ZKC ZKP ZRO ZRX
BEP20BNB Chain
ACE AI ANKR ASTER BNB C98 CAKE CAT CGPT CYBER DFIND DTNG ETH GIGGLE ID MAV NFP PARTI PRZK RTF SHELL SOMI TYV UAHG USD1 USDC USDT ZBT
TON
CATI DOGS NOT USDT
BTCBitcoin
BTC
SOLSolana
2Z ACT BERT BOME BONK GMT GOAT GRASS HUMA IO JTO JUP KMNO LAYER MET MEW MOODENG ORCA PENGU PNUT PUMP PYTH RENDER SOL SONIC TNSR TRUMP USDC USDT W WIF
ARBITRUMArbitrum
ANIME ARB CHIP ETH GMX HDN MAGIC RAIN USDC USDT XAI
POLYGONPolygon
CCC LEKS POL USDC USDT
BASEBase
AIXBT AVNT AWE DEGEN ETH HOME KAITO MIRA USDC VIRTUAL ZEN ZORA
OPTIMISMOptimism
ETH OP USDC USDT WCT
CCHAINAvalanche
AVAX JOE NXPC PXP USDC USDT
SUISui
CETUS HAEDAL MMT SUI WAL
NEAR
NEAR USDC USDT
STELLARStellar
USDC XLM
ADACardano
ADA
BCHBitcoin Cash
BCH
BERABerachain
BERA
DASHDash
DASH
DOGEDogecoin
DOGE
DOTASSETHUBPolkadot
DOT USDC USDT
ENJEnjin
ENJ
ETCEthereum Classic
ETC
FILFilecoin
FIL
INJECTIVEInjective
INJ
LTCLitecoin
LTC
TAOBittensor
TAO
THETATheta
THETA
XMRMonero
XMR
XRP
XRP
XTZTezos
XTZ
ZECZcash
ZEC