For the complete documentation index, see llms.txt. This page is also available as Markdown.

ITranslator

The ITranslator interface extends IAsterizmEnv and provides methods for sending and logging transfer message.

Unexpected error with integration github-files: Integration is not installed on this space

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