WormholeBridge
The following describes relevant, public functions on the WormholeBridge smart contract.
View Methods
sendFeeLookup
This function allows users to get the fee required to deliver a Wormhole VAA on a specified destination chain.
Parameter Name
Type
Description
_dstChainId
uint16
The Wormhole chain ID of the destination chain. Please refer to the Deployed Contracts 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 sendFrom on the source chain USX contract.
Last updated
Was this helpful?