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

View Methods


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 NameTypeDescription



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

Return ValueTypeDescription



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 sendFrom on the source chain USX contract.

Last updated