ITranslator
The ITranslator
interface extends IAsterizmEnv and provides methods for sending and logging transfer message.
Functions
sendMessage
Sends a transfer payload.
Parameters: _dto (
TrSendMessageRequestDto
)
logExternalMessage
Logs an external transfer payload.
Parameters: _externalRelayAddress (address)
, _dto (
TrSendMessageRequestDto
)
resendMessage
Resends a transfer that failed due to insufficient fees.
Parameters: _transferHash (bytes32)
, _senderAddress (uint)
getLocalChainId
Returns the local chain ID.
Returns: uint64
getChainType
Retrieves the type of chain based on its ID.
Parameters: _chainId (uint64)
Returns: uint8
getFeeAmountInTokens
Returns the fee amount in tokens for a specified transfer.
Parameters: _dto (
TrSendMessageRequestDto
)
Returns: uint
Last updated