Skip to Content

@cfxdevkit/executor


@cfxdevkit/executor / KeeperClientConfig

Interface: KeeperClientConfig

Defined in: packages/executor/src/keeper-client.ts:59

Properties

chain

chain: Chain | undefined

Defined in: packages/executor/src/keeper-client.ts:79

Chain definition — pass the viem chain object (espaceTestnet / espaceMainnet)


contractAddress

contractAddress: `0x${string}`

Defined in: packages/executor/src/keeper-client.ts:65

Deployed AutomationManager contract address


maxGasPriceGwei?

optional maxGasPriceGwei: bigint

Defined in: packages/executor/src/keeper-client.ts:77

Maximum gas price in gwei before aborting execution (circuit breaker). Defaults to 1000 gwei.


privateKey

privateKey: `0x${string}`

Defined in: packages/executor/src/keeper-client.ts:63

Hex private key (0x-prefixed) of the keeper wallet


rpcTimeoutMs?

optional rpcTimeoutMs: number

Defined in: packages/executor/src/keeper-client.ts:81

RPC request timeout in milliseconds (applies to read/simulate/write calls).


rpcUrl

rpcUrl: string

Defined in: packages/executor/src/keeper-client.ts:61

RPC endpoint for Conflux eSpace


swappiRouter

swappiRouter: `0x${string}`

Defined in: packages/executor/src/keeper-client.ts:72

Swappi router address. Testnet: 0x873789aaf553fd0b4252d0d2b72c6331c47aff2e Mainnet: 0xE37B52296b0bAA91412cD0Cd97975B0805037B84 (Swappi v2 — only address with deployed code; old 0x62B0873… has no bytecode)