Skip to main content
Version: 1.16.0

Function: normalizeRemoteAddress()

normalizeRemoteAddress(address: string, remoteChainSelector: bigint): string

Defined in: cct/canton/token-pool/shared.ts:560

Normalize a remote address (in the remote chain's own format) to the form a pool's remote chain config stores, e.g. to compare against getTokenPoolState.

Parameters​

ParameterType
addressstring
remoteChainSelectorbigint

Returns​

string

Throws​

CCTParamsInvalidError if invalid for the remote family or over 32 bytes