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

# IB20Factory.getB20Address

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

[Related concept](/base-chain/specs/upgrades/beryl/b20/specification/implementation/deployment-and-initcalls-encoding)

## Signature

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

| Field               | Value                                       |
| ------------------- | ------------------------------------------- |
| Selector            | `0x51038444`                                |
| Canonical signature | `getB20Address(B20Variant,address,bytes32)` |

## Description

Returns the deterministic address `createB20` would assign for `(variant, sender, salt)`. Never reverts.
Param: variant Variant of the token whose address is being predicted.
Param: sender  Account that would call `createB20`.
Param: salt    Caller-chosen salt.
Return: The deterministic token address.

## Access control

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

## Policy interaction

No direct policy interaction.

## Example

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

## Related

* [IB20Factory reference](/base-chain/specs/upgrades/beryl/b20/specification/reference/interfaces/IB20Factory)
* [Constants & addresses](/base-chain/specs/upgrades/beryl/b20/specification/reference/constants-and-addresses)
