Ax Protocol
  • 📚Overview
    • Ax Protocol
    • USX
    • Product Roadmap
  • 💻Developers
    • Smart Contracts
      • USX
      • Treasury
      • WormholeBridge
      • LayerZeroBridge
    • USX Transfer Widget
      • Usage
  • 🔍References
    • Glossary
    • Deployed Contracts
    • Estimated Transfer Times
    • Audit Reports
    • AxScan
    • Wormhole Docs
    • LayerZero Docs
    • Terms of Service
    • Privacy Policy
    • Risk Disclosure
    • Trademark Guidelines
  • 💬Community
    • GitHub
    • Discord
    • Telegram
    • Twitter
Powered by GitBook
On this page
  • View Methods
  • sendFeeLookup

Was this helpful?

  1. Developers
  2. Smart Contracts

WormholeBridge

The following describes relevant, public functions on the WormholeBridge smart contract.

PreviousTreasuryNextLayerZeroBridge

Last updated 1 year ago

Was this helpful?

View Methods

sendFeeLookup

This function allows users to get the fee required to deliver a Wormhole VAA on a specified destination chain.

mapping(uint16 => uint256) public sendFeeLookup;
Parameter Name
Type
Description

_dstChainId

uint16

The Wormhole chain ID of the destination chain. Please refer to the page to see a list of chain IDs.

Return Value
Type
Description

fee

uint256

The amount, in terms of source chain native, required to pay for destination chain gas fees. The amount must be included as msg.value when calling on the source chain USX contract.

💻
Deployed Contracts
sendFrom