Transaction Types

When requesting a route, the API returns a transactionType field that determines how the transaction should be constructed and submitted on-chain. The type depends on the source chain and whether the route involves DEX swaps.


DEPOSIT_ADDRESS_CALLDATA

  • Source chains: All EVMs (except Hedera), XRPL, Solana

  • Conditions: Direct route (no DEX swaps)

  • Example routes: Ethereum:USDC → Base:ETH, Solana:SOL → Arbitrum:USDC, XRPL:RLUSD → XRPL:XRP

Code examples:


DEPOSIT_ADDRESS_WITH_SIGNATURE

  • Source chains: Hedera

  • Conditions: Direct route (no DEX swaps)

  • Example routes: Hedera:HBAR → Arbitrum:USDC, Hedera:USDC → Arbitrum:USDC

Code examples:


ON_CHAIN_EXECUTION_WITH_SIGNATURE

  • Source chains: Hedera

  • Conditions: Pre-hook (DEX swap) + Coral step

  • Example route: Hedera:SAUCE → Arbitrum:USDC

Code examples:


ON_CHAIN_EXECUTION

  • Source chains: All EVMs (except Hedera), Cosmos

  • Conditions: DEX swap as first action (Single-chain DEX swap, Pre-hook (DEX swap) + Coral step, DEX swap + Axelar bridge step)

  • Example routes: Arbitrum:USDC → Arbitrum:ETH, Arbitrum:USDT → Base:ETH, Osmosis:USDC → Base:USDC

Code examples:


CHAINFLIP_DEPOSIT_ADDRESS

  • Source chains: Solana, Bitcoin

  • Conditions: Chainflip as first step

  • Example routes: Bitcoin:BTC → Arbitrum:ETH, Solana:SOL → Arbitrum:ETH

Code examples:

Route
API
SDK

Last updated