An object containing the following properties:
The address of dynamic fee handler
The base URL of the Fee Oracle.
The domainId of the home network
The ethers provider to use.
The address of the recipient.
The resourceId of the token/asset
The address of the sender.
The domainId of the destination network
The amount of tokens being transferred.
Generated using TypeDoc
Calculates the dynamic fee for a transaction using the provided parameters and the Fee Oracle.
Example
Returns
The result of the calculation, containing the fee, calculated rate, ERC20 token address, fee data, and type.