Rubic Documents
  • RUBIC
    • Overview
    • Rubic's Ecosystem
    • Security
    • Tokenomics
    • Roadmap
    • Rubic Discord Roles
    • “Swap to Earn” Program on Rubic
    • MEV-bot Protection
    • B2B Cross-Chain Toolkit
      • Use Cases
      • Why Rubic?
    • Refund Guidelines for Stuck Transactions
  • ⚒️Integrate SDK
    • SDK Overview
    • SDK Architecture
    • SDK Advantages
    • SDK Integration
    • 1️⃣Install SDK
    • 2️⃣Set up SDK
    • 3️⃣Trade calculation
    • 4️⃣Swap Execution
    • 📜Advanced documentation
    • Migration from V2 to V3
    • Contact Us
  • Integrate Widget
    • Widget Overview
    • Instruction
    • White Label Widget Integration Instruction
    • Partners
    • Listing of tokens
  • Rubic API
    • 🔐Tokens API
    • Referrer And Rate Limits
    • Rubic API
      • Supported chains
      • Supported providers
      • Request Quote
      • Request Data
      • Get Cross-Chain Status
      • Integration example
        • Swaps from EVM
        • Swaps from Solana
        • Swaps from TON
        • Swaps from Tron
        • Swaps from Bitcoin
        • Swaps VIA deposit
      • Swagger
      • Models
        • OnChainTradeType
        • CrossChainTradeType
        • FeesDto
        • RoutingDto
        • TransactionDto
        • ErrorDto
      • Errors
    • Monetization And Fees
  • FAQ
    • What is Rubic?
    • How to start using Rubic?
    • Who can use our service?
    • Is KYC required?
    • What are the minimum and maximum trade sizes?
    • Should I list my token before using your service?
    • How to create a Swap?
    • How long does it take to complete a transaction?
    • How is the privacy and security of the transaction ensured?
    • How does Rubic unite different DEX platforms?
    • Why does Rubic offer a choice between different providers?
    • How do I add the BNB Smart Chain and Polygon networks to MetaMask?
    • What should I do when I see the message: “Trading on Uniswap is not available?”
    • What should I do if Uniswap doesn’t display any rates?
    • How can we integrate the Rubic Relay widget?
    • How do we get listed on Rubic?
    • How to Complete swaps to/from TON network using Rubic
  • Contacts
    • Community
    • PR Marketing
    • Business Development
    • Support
    • Influencers Collaboration Requests
  • Legal Documentation
    • Privacy Policy
    • Terms of Use
    • Third-Party Software
  • Audits
    • MixBytes Audit
  • Pitch Deck
Powered by GitBook
On this page

Was this helpful?

  1. Rubic API
  2. Rubic API
  3. Models

OnChainTradeType

On chain trade types

type OnChainTradeType = 
    | '10K_SWAP' | 'AERODROME' | 'ACRYPTOS'
    | 'ALDRIN_EXCHANGE' | 'ALGEBRA' | 'ALGEBRA_INTEGRAL'
    | 'ANNEX' | 'APE_SWAP' | 'ARTH_SWAP'
    | 'ASTRO_SWAP' | 'ASCENT' | 'AURORA_SWAP'
    | 'AVNU' | 'BABY_SWAP' | 'BALANCER'
    | 'BASE_SWAP' | 'BEAM_SWAP' | 'BI_SWAP'
    | 'BRIDGERS' | 'CAMELOT' | 'CHERRY_SWAP'
    | 'CLAIM_SWAP' | 'CREMA_FINANCE' | 'CRO_SWAP'
    | 'CRONA_SWAP' | 'CROPPER_FINANCE' | 'CROW_FI'
    | 'CRO_DEX' | 'CURVE' | 'DEFI_PLAZA'
    | 'DEFI_SWAP' | 'DFYN' | 'DLN'
    | 'DODO' | 'DRAGON_SWAP' | 'DYSTOPIA'
    | 'ECHO_DEX' | 'EDDY_FINANCE' | 'ELK'
    | 'FENIX_V2' | 'FENIX_V3' | 'FINKUJIRA'
    | 'FUSIONX' | 'HONEY_SWAP' | 'HORIZONDEX'
    | 'JET_SWAP' | 'JOE' | 'JUPITER'
    | 'JUPITER_SWAP' | 'J_SWAP' | 'KIM'
    | 'KYBER_SWAP' | 'LUA_SWAP' | 'LIFI'
    | 'MAVERICK' | 'MDEX' | 'MERLIN_SWAP'
    | 'MESH_SWAP' | 'MM_FINANCE' | 'MOJITO_SWAP'
    | 'MUTE_SWAP' | 'NET_SWAP' | 'NATIVE_ROUTER'
    | 'ODOS' | 'OKC_SWAP' | 'OKU_SWAP'
    | 'ONE_INCH' | 'ONE_MOON' | 'ONE_SOL'
    | 'OMNIDEX' | 'OOLONG_SWAP' | 'OPEN_OCEAN'
    | 'ORCA_SWAP' | 'OSMOSIS_SWAP' | 'PANCAKE_SWAP'
    | 'PANCAKE_SWAP_V3' | 'PANGOLIN' | 'PARA_SWAP'
    | 'PEGASYS' | 'PHOTON_SWAP' | 'POLYDEX'
    | 'PITEAS' | 'QUICK_SWAP' | 'QUICK_SWAP_V3'
    | 'PULSEX_V1' | 'PULSEX_V2' | 'RANGO'
    | 'RAYDIUM' | 'REF_FINANCE' | 'REN_BTC'
    | 'ROUTER_SWAP' | 'SABER_STABLE_SWAP' | 'SAROS_SWAP'
    | 'SERUM' | 'SHIBA_SWAP' | 'SMOOTHY'
    | 'SOLANA' | 'SOLAR_BEAM' | 'SPACEFI_SWAP'
    | 'SPIRIT_SWAP' | 'SPL_TOKEN_SWAP' | 'SPOOKY_SWAP'
    | 'SOUL_SWAP' | 'STELLA_SWAP' | 'SUN_SWAP'
    | 'SURFDEX' | 'SUSHI_SWAP' | 'SYNAPSE'
    | 'SYNC_SWAP' | 'SYMBIOSIS_SWAP' | 'TRADER'
    | 'TRISOLARIS' | 'IZUMI' | 'UBE_SWAP'
    | 'UNISWAP_V2' | 'UNI_SWAP_V3' | 'UNISWAP_BAHAMUT'
    | 'VERSE' | 'VIPER_SWAP' | 'VOLTAGE_SWAP'
    | 'VOOI' | 'VVS_FINANCE' | 'WAGYU_SWAP'
    | 'WANNA_SWAP' | 'WAULT_SWAP' | 'WOO_FI'
    | 'WRAPPED' | 'WYND' | 'YUZU_SWAP'
    | 'XY_DEX' | 'ZAPPY' | 'ZIP_SWAP'
    | 'ZRX' | 'ZETA_SWAP'
PreviousModelsNextCrossChainTradeType

Last updated 8 months ago

Was this helpful?