# IInitializerSender

The `IInitializerSender` interface extends [IAsterizmEnv](/infrastructure/asterizm-interfaces/iasterizmenv.md) and defines methods for initiating transfers and managing transfer validation and fees.

{% embed url="<https://github.com/Asterizm-Protocol/asterizm-contracts-evm/blob/master/contracts/interfaces/IInitializerSender.sol>" %}

### Functions

#### initTransfer

Initiates a transfer using the provided request data.

**Parameters:** `_dto (`[`IzInitTransferRequestDto`](/infrastructure/asterizm-interfaces/iasterizmenv.md#izinittransferrequestdto)`)`

#### validIncomeTransferHash

Validates an incoming transfer by its hash.

**Parameters:** `_transferHash (bytes32)`

**Returns:** `bool`

#### getLocalChainId

Returns the local chain ID.

**Returns:** `uint64`

#### getChainType

Retrieves the type of chain based on its ID.

**Parameters:** `_chainId (uint64)`

**Returns:** `uint8`

#### resendTransfer

Resends a transfer that failed due to insufficient fees.

**Parameters:** `_transferHash (bytes32)`, `_relay (address)`

#### getFeeAmountInTokens

Returns the fee amount in tokens for a specified relay.

**Parameters:** `_relayAddress (address)`, `_dto (`[`IzInitTransferRequestDto`](/infrastructure/asterizm-interfaces/iasterizmenv.md#izinittransferrequestdto)`)`

**Returns:** `uint`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.asterizm.io/infrastructure/asterizm-interfaces/iinitializersender.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
