Skip to main content
Version: 1.16.1

Type Alias: TokenPoolConfigOpts

TokenPoolConfigOpts = Partial<TokenTransferFeeOpts> & { token?: string; }

Defined in: chain.ts:554

Options for Chain.getTokenPoolConfig.

Type Declaration​

token?​

optional token?: string

The local token whose configuration to read. Required for pools that serve multiple tokens (multi-token pools), which otherwise throw CCIPLocalTokenRequiredError; ignored by single-token pools.

Remarks​

Set destChainSelector to also fetch the token transfer fee config for that destination; finality defaults to 'finalized' and tokenArgs to '0x'.