LogoLogo
  • Entangle
    • Overview
    • Security Audits
  • Universal Interoperability Protocol
    • Overview
    • Architecture
      • Scalability and Network Stability
        • L2 Utility Blockchains
        • Transmitter Groups
      • Security and Consensus Mechanism
      • Finality
      • Execution Latency
      • Compatibility and Interoperability
    • Developer Guides
      • Getting Started
      • Solidity
        • Simple Abstract Messenger Example
        • Deploying Your Custom EVM Protocol
        • Bridging Tokens with UIP
        • Become an EVM Transmitter
      • Solana
        • Simple Abstract Messenger Example
        • Deploying Your Custom Solana Protocol
        • Become a Solana Transmitter
      • Calculate Cross-Chain Transaction Cost
      • Customizable Message Transmission Options
      • How to Debug Sent Messages
      • SDK Setup
      • Revenue Sharing for Transmitters
      • How to Become a Super Transmitter
    • Endpoints
  • Universal Data Feeds
    • Overview
    • Architecture
      • Data Delivery Methods
        • Pull Model
        • Push Model
      • Oracle Contract & User Interaction
    • Developer Guides
      • Custom Data Feeds
      • Fetch Data via Pull Model (PAYG)
        • EVM Smart Contracts
        • Solana Smart Contracts
      • Fetch Data via Pull Model (Subscriptions)
        • EVM Smart Contracts
        • Solana Smart Contracts
      • Fetch Data via Push Model
        • EVM Smart Contracts
        • Solana Smart Contracts
    • User Guides
      • Accessing Feeds
      • Subscribe to a Data Feed
      • Check Subscription
      • Manage Subscription
      • Renew Subscription
    • Data Endpoints
  • Universal Token Standard
    • Overview
    • Architecture
      • Fee Components
    • Developer Guides
      • Manual Deploy
        • Token Deployment Types
        • Create a Custom Token
        • Factory Blueprint Deployment
        • Examples
          • Initial Setup
          • UTS Connector
            • Mint & Burn Connector Scheme
            • Lock & Unlock Connector Scheme
            • Connector Over Native Currency
          • UTS Token
            • Simple Token
            • Token with Messages
      • Bridge SDK
      • Token Verification
      • Fees Calculation & Gas Estimation Logic
      • Estimations
    • User Guides
      • Launch Universal Token
      • Create a Liquidity Pool
      • Expand Existing Token
      • Transfer Liquidity to Connector
      • Bridging
    • Contract Addresses
  • Entangle Interoperable Blockchain
    • Overview
    • Architecture
    • Developer Guides
      • Set up a Validator Node
      • Delegating to Validators
      • Undelegating from Validators
      • Supported Accounts
  • More
    • Media Kit
    • FAQ
    • Report an Issue
    • Become a Partner
Powered by GitBook
On this page
  • The cost of cross-chain messages includes:
  • How to Calculate Transaction Cost
  • Case example: Consider a transaction from Binance Smart Chain (BSC) to Ethereum (ETH).
  • Fee Distribution

Was this helpful?

Export as PDF
  1. Universal Interoperability Protocol
  2. Developer Guides

Calculate Cross-Chain Transaction Cost

PreviousBecome a Solana TransmitterNextCustomizable Message Transmission Options

Last updated 1 month ago

Was this helpful?

The cost of cross-chain messages includes:

  1. Source chain transaction costs: Paid in the source network’s native token to cover transaction processing.

  2. Destination chain transaction costs: Calculated in the source token based on the current exchange rate, this covers execution on the destination chain. Transmitters use the UDF protocol on the EIB to determine the maximum affordable gas price; if funds are insufficient, the transaction may be flagged as underpriced.

  3. Transmitter Fee: A fixed fee in the source token compensates transmitters for message delivery, supporting reliable service with predictable costs.

How to Calculate Transaction Cost

To calculate transaction costs, you can use our SDK. For detailed instructions and examples, refer to the SDK's .

Case example: Consider a transaction from Binance Smart Chain (BSC) to Ethereum (ETH).

  1. Source chain cost: The transaction on BSC incurs a 0.01 BNB fee, paid by the sender.

  2. Destination chain cost: With ETH gas prices at 100 Gwei, the transmitter uses the UDF protocol to estimate a cost of 0.005 ETH, converted to 0.00075 BNB.

  3. Transmitter Fee: Assume that the transmitter's fixed fee is 0.001 BNB.

The total transaction cost would stand at 0.01175 BNB, paid entirely in the source network’s currency by the sender. In some cases, omni-chain application owners may subsidize a portion of this cost on-chain as an incentive.

Final transaction costs are calculated via the frontend SDK, backend API, or directly on-chain. The fee model is adaptable and will be periodically revised based on market demands and community feedback. Alternative models (e.g., USD, BTC, or NTGL) are also under consideration.

Fee Distribution

Collected fees are allocated to:

  1. Transmitter Rewards: Rewards based on the work transmitters perform in message verification and delivery.

  2. Super Transmitter Rewards: A fixed share of transmitters' income to compensate Super Transmitters for message verification.

  3. Protocol revenue: Initially set to zero, protocol revenue may be adjusted later based on community governance.

README documentation