Skip to main content
Version: 1.15.0

Function: readTokenPoolAllowedFinality()

readTokenPoolAllowedFinality(chain: EVMChain, poolAddress: string): Promise<string>

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

Reads a v2.0.0 pool's packed allowedFinality config in one eth_call.

Parameters​

ParameterTypeDescription
chainEVMChainChain to read from.
poolAddressstringv2.0.0 token pool to read.

Returns​

Promise<string>

The packed bytes4 finality config.

Remarks​

Callers must resolve and require v2.0.0 first: earlier pool ABIs do not declare this getter. The raw bytes4 stays here so its consumer chooses the SDK-level decoded shape.