Skip to main content
The Transit API returns ready-to-sign transaction calldata for stablecoin swaps, both same-chain conversions and cross-chain transfers. The server handles quote generation, fee calculation, and ABI encoding. You get back a transaction object to sign and broadcast. Transit endpoints accept an optional x-api-key header. GET /v3/core/authorization requires it.

When to Use Transit

  • Same-chain stablecoin swaps: Convert between USDC and USDG on Ethereum or Arbitrum
  • Cross-chain stablecoin transfers: Move USDC, PYUSD, or USDG between Ethereum, Arbitrum, and RH Chain
  • Backend transaction builders: Fetch calldata via API, sign and submit from any language
  • Custodial wallets: Get transaction data server-side, route to your signing infrastructure

Prerequisites

  • An EVM wallet with sufficient balance for the offer amount, plus ETH for gas and the messaging fee on cross-chain routes
  • An HTTP client (fetch, requests, etc.)

Endpoints

Integration Flow

1

Discover Routes

Query available asset pairs to find a route matching your source and destination chains.
2

Check Authorization

Call /v3/core/authorization with a quote’s transaction.to as the spender to detect whether the offer token requires a permit signature, an approval transaction, or is already approved.
3

Get Order Quote

Fetch signed calldata for the submitOrder transaction. The returned value is the messaging fee on cross-chain routes and "0" on same-chain routes. If using permits, pass the signature and deadline.
4

Submit Transaction

Broadcast the transaction on the source chain with the returned to, data, and exactly the returned value.
5

Track Order

Poll the order status endpoint until fulfillment completes on the destination chain.

Supported Chains

Getting Started

Route Discovery

Find available asset pairs and check minimum order sizes.

Order Submission

Get quote calldata and submit same-chain and cross-chain orders.

Order Tracking

Monitor order status and view execution history.

Testnet

Test your integration on testnets with test tokens.

AI Coding Reference

Condensed reference for AI coding assistants.