> ## Documentation Index
> Fetch the complete documentation index at: https://base-a060aa97-mux-docs-claude-6.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# IB20.transfer

> Generated B20 reference for transfer(address,uint256).

## Signature

```solidity theme={null}
function transfer(address to, uint256 amount) external returns (bool);
```

| Field               | Value                       |
| ------------------- | --------------------------- |
| Selector            | `0xa9059cbb`                |
| Canonical signature | `transfer(address,uint256)` |

## Description

Transfers `amount` from `msg.sender` to `to`. Emits `Transfer`.

## Parameters

| Parameter | Description          |
| --------- | -------------------- |
| `to`      | Destination address. |
| `amount`  | Amount to transfer.  |

## Returns

Always `true` on success.

## Reverts

* `ContractPaused(TRANSFER)` when `TRANSFER` is paused.
* `InvalidReceiver` when `to == address(0)`.
* `InvalidSender` when `msg.sender == address(0)`.
* `PolicyForbids(TRANSFER_SENDER_POLICY, ...)` when `msg.sender` is not authorized.
* `PolicyForbids(TRANSFER_RECEIVER_POLICY, ...)` when `to` is not authorized.
* `InsufficientBalance` when `msg.sender`'s balance is below `amount`.

## Access control

Read-only or ERC-20-standard access rules unless the NatSpec states otherwise.

## Policy interaction

Checks `TRANSFER_SENDER_POLICY` and `TRANSFER_RECEIVER_POLICY`; `approve` and `permit` are not policy-gated.

## Example

```solidity theme={null}
IB20(target).transfer(to, amount);
```
