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
| Parameter | Type |
|---|---|
chain | EVMChain |
poolAddress | string |
destChainSelector | bigint |
requestedFinalityConfig | string |
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.