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