Skip to main content
Version: 1.15.0

Function: readTokenPoolFee()

readTokenPoolFee(chain: EVMChain, poolAddress: string, destChainSelector: bigint, requestedFinalityConfig: string): Promise<TokenPoolFee>

Defined in: cct/evm/token-pool/contracts.ts:427

Reads a v2.0.0 pool's fee parameters in one eth_call.

Parameters​

ParameterType
chainEVMChain
poolAddressstring
destChainSelectorbigint
requestedFinalityConfigstring

Returns​

Promise<TokenPoolFee>

Remarks​

Standard pools use only destChainSelector and requestedFinalityConfig; the other getFee ABI inputs are reserved for pool-specific implementations, so this supplies their neutral values.