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

# IB20Factory.getB20Address

> Generated B20 reference for getB20Address(uint8,address,bytes32).

## Signature

```solidity IB20Factory.sol theme={null}
function getB20Address(B20Variant variant, address sender, bytes32 salt) external view returns (address);
```

| Field               | Value                                  |
| ------------------- | -------------------------------------- |
| Selector            | `0x8c30260f`                           |
| Canonical signature | `getB20Address(uint8,address,bytes32)` |

## Description

Returns the deterministic address `createB20` would assign for `(variant, sender, salt)`. Never reverts.

B20 addresses are deterministic: `[B20 prefix (10 bytes)][variant byte (1 byte)][bytes9(keccak256(deployer, salt))]`. The variant byte is recoverable from the address, so off-chain tooling can identify the variant without an RPC call.

## Parameters

| Name      | Type                   | Description                                            |
| --------- | ---------------------- | ------------------------------------------------------ |
| `variant` | `B20Variant` (`uint8`) | Variant of the token whose address is being predicted. |
| `sender`  | `address`              | Account that would call `createB20`.                   |
| `salt`    | `bytes32`              | Caller-chosen salt.                                    |

## Returns

| Type      | Description                      |
| --------- | -------------------------------- |
| `address` | The deterministic token address. |

## Access Control

Read-only. No role required.

## Policy Interaction

No direct policy interaction.

## Example

```solidity Usage Example theme={null}
IB20Factory(target).getB20Address(arg0, arg1, arg2);
```
