Skip to main content
Version: 1.15.0

Class: GetCCVConfig

Defined in: cct/evm/advanced-pool-hooks/operations/get-ccv-config.ts:28

Reads one remote chain's complete CCV config.

Extends​

Constructors​

Constructor​

new GetCCVConfig(): GetCCVConfig

Returns​

GetCCVConfig

Inherited from​

EVMQuery<GetCCVConfigParams, GetCCVConfigResult>.constructor

Properties​

name​

readonly name: "getCCVConfig" = 'getCCVConfig'

Defined in: cct/evm/advanced-pool-hooks/operations/get-ccv-config.ts:29

camelCase id; matches the token-manager facade method and error context.

Overrides​

EVMQuery.name

Methods​

prepare()​

protected prepare(params: GetCCVConfigParams): GetCCVConfigParams

Defined in: cct/evm/advanced-pool-hooks/operations/get-ccv-config.ts:31

Validate and normalize params before any chain RPC, without mutating the caller's input.

Parameters​

ParameterType
paramsGetCCVConfigParams

Returns​

GetCCVConfigParams

Overrides​

EVMQuery.prepare


query()​

query(chain: EVMChain, params: GetCCVConfigParams): Promise<CCVConfig>

Defined in: cct/query.ts:25

Run prepare and read; no wallet.

Parameters​

ParameterType
chainEVMChain
paramsGetCCVConfigParams

Returns​

Promise<CCVConfig>

Inherited from​

EVMQuery.query


read()​

protected read(chain: EVMChain, params: GetCCVConfigParams): Promise<CCVConfig>

Defined in: cct/evm/advanced-pool-hooks/operations/get-ccv-config.ts:37

Read and normalize chain state; runs only after prepare passes.

Parameters​

ParameterType
chainEVMChain
paramsGetCCVConfigParams

Returns​

Promise<CCVConfig>

Overrides​

EVMQuery.read