IOracle
Inherits: IVerifier
Functions
fee
Fetch oracle price to relay message root to the destination chain.
function fee(uint256 toChainId, address ua) external view returns (uint256);
Parameters
Name | Type | Description |
---|---|---|
toChainId | uint256 | The destination chain id. |
ua | address | The user application which send the message. |
Returns
Name | Type | Description |
---|---|---|
<none> | uint256 | Oracle price in source native gas. |