# Function: getChainForAddress()

> **getChainForAddress**(`address`): [`SupportedChain`](https://docs.bitbadges.io/sdk/reference/enumerations/supported-chain)

Defined in: [packages/bitbadgesjs-sdk/src/address-converter/converter.ts:179](https://github.com/BitBadges/bitbadgesjs/blob/master/packages/bitbadgesjs-sdk/src/address-converter/converter.ts#L179)

Goes through the list of supported chains and returns the chain that the address belongs to.

## Parameters

### address

`string`

## Returns

[`SupportedChain`](https://docs.bitbadges.io/sdk/reference/enumerations/supported-chain)
