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

Monetization And Fees

Customize, monetize, and simplify with Rubic. What revenue sharing models do we have?

Percentage-Based Commission:

You can set any percentage (e.g., 0.01% or 2.1%) of the total swap amount. There are no limits. The fee is deducted in the user's initial asset.

  • Example #1: A user swaps ARB (Arbitrum) for USDC (Base). The fee is paid in ARB, and the integrator earns income in ARB.

  • Example #2: If a user swaps 100 USDT on Polygon with a 1% commission, 99 USDT goes into the trade, and 1 USDT is sent to Rubic’s contract, where it is shared between the integrator and Rubic.

Fixed Amount Commission:

The fee is charged in the native gas token of the source network. Integrators can define the fee in USD, and we will automatically convert it into the corresponding native asset of the respective blockchain.

  • Example: A user swaps USDT (Polygon) for ETH (Blast). The fee is paid in POL (excluding gas fees), and the integrator earns income in POL.

Percentage + Fixed Amount Commission:

The fee combines a percentage of the user's initial asset token and the source network’s native gas token.

  • Example: A user swaps DAI (BNB Chain) for USDT (Optimism). The fees are paid in both BNB (BNB Chain gas token) and DAI (user's initial asset), excluding gas fees (network fee). The integrator earns income in both BNB and DAI.

In case models for on-chain and cross-chain transactions are different, you should send us two wallet addresses. One will be used for on-chain commission receiving, the second one for cross-chain.

PreviousErrorsNextFAQ

Last updated 4 months ago

Was this helpful?