> For the complete documentation index, see [llms.txt](https://docs-core.allbridge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-core.allbridge.io/sdk/guides/evm/transfer.md).

# Transfer

#### Approve the token transfer

Before sending tokens, the bridge has to be authorized to use the tokens of the owner. The contract to approve depends on the messenger, so pass the same `messenger` to `checkAllowance`, `approve` and `send`. Native tokens such as ETH need no approval.

*For Ethereum USDT (due to the specifics of the USDT contract):*\
If the current allowance is not 0, this function will perform an additional transaction to set the allowance to 0 before setting the new allowance value.

```ts
const amount = "1.01";
const messenger = Messenger.CCTP_V2;

if (!(await sdk.bridge.checkAllowance({ token: sourceToken, owner: fromAddress, amount, messenger }))) {
  const rawTransactionApprove = (await sdk.bridge.rawTxBuilder.approve({
    token: sourceToken,
    owner: fromAddress,
    messenger,
  })) as RawEvmTransaction;
  const approveTxReceipt = await sendEvmRawTransaction(rawTransactionApprove);
  console.log("approve tx id:", approveTxReceipt.transactionHash);
}
```

#### Send Tokens

Initiate the raw transaction of token transfer with the SDK instance:

```ts
const rawTransactionTransfer = (await sdk.bridge.rawTxBuilder.send({
  amount,
  fromAccountAddress: fromAddress,
  toAccountAddress: toAddress,
  sourceToken,
  destinationToken,
  messenger,
})) as RawEvmTransaction;
const txReceipt = await sendEvmRawTransaction(rawTransactionTransfer);
console.log("tx id:", txReceipt.transactionHash);
```

#### [Full example](https://github.com/allbridge-io/allbridge-core-js-sdk/blob/main/examples/src/examples/bridge/evm/evm-build-send-tx.ts)

For transfers through intents from EVM chains see [NEAR Intents](https://docs-core.allbridge.io/sdk/guides/general/near-intents.md) and [LI.FI Intents](https://docs-core.allbridge.io/sdk/guides/general/lifi-intents.md).
