Skip to main content
Version: 1.4.2

Interface: RemoteChainConfig

Defined in: token-admin/types.ts:684

Configuration for a single remote chain in a token pool.

Defines how a local pool connects to its counterpart on a remote chain: the remote pool address(es), remote token address, and rate limits.

Addresses are in their native format — hex for EVM/Aptos, base58 for Solana. The SDK handles encoding to 32-byte padded bytes internally.

Example

TypeScript
const remoteChain: RemoteChainConfig = {
remoteChainSelector: '16015286601757825753', // Ethereum Sepolia
remotePoolAddresses: ['0xd7BF0d8E6C242b6Dde4490Ab3aFc8C1e811ec9aD'],
remoteTokenAddress: '0xa42BA090720aEE0602aD4381FAdcC9380aD3d888',
outboundRateLimiterConfig: { isEnabled: false, capacity: '0', rate: '0' },
inboundRateLimiterConfig: { isEnabled: false, capacity: '0', rate: '0' },
}

Properties

inboundRateLimiterConfig

inboundRateLimiterConfig: RateLimiterConfig

Defined in: token-admin/types.ts:696

Inbound rate limiter (remote → local).


outboundRateLimiterConfig

outboundRateLimiterConfig: RateLimiterConfig

Defined in: token-admin/types.ts:694

Outbound rate limiter (local → remote).


remoteChainSelector

remoteChainSelector: string

Defined in: token-admin/types.ts:686

Remote chain selector (uint64 as string).


remotePoolAddresses

remotePoolAddresses: string[]

Defined in: token-admin/types.ts:688

Remote pool address(es) in native format. At least one required.


remoteTokenAddress

remoteTokenAddress: string

Defined in: token-admin/types.ts:690

Remote token address in native format.


remoteTokenDecimals?

optional remoteTokenDecimals?: number

Defined in: token-admin/types.ts:692

Remote token decimals. Required for Solana pools (used in init_chain_remote_config). Ignored on EVM/Aptos.