Skip to main content

EVMOptions<C, F>

type EVMOptions<C, F> = object;

Defined in: atomiq-chain-evm/src/chains/EVMOptions.ts:11

Generic options for an EVM chain

Type Parameters​

Type ParameterDefault type
C extends string-
F extends EVMFeesEVMFees

Properties​

btcRelayContract?​

optional btcRelayContract: string;

Defined in: atomiq-chain-evm/src/chains/EVMOptions.ts:36

Contract address of the BTC Relay contract, uses canonical deployment by default


btcRelayDeploymentHeight?​

optional btcRelayDeploymentHeight: number;

Defined in: atomiq-chain-evm/src/chains/EVMOptions.ts:40

Optional BTC Relay contract deployment height, which acts as genesis when querying events


chainType?​

optional chainType: C;

Defined in: atomiq-chain-evm/src/chains/EVMOptions.ts:23

Network type for the EVM chain


evmConfig?​

optional evmConfig: Partial<Omit<EVMConfiguration, "safeBlockTag" | "finalizedBlockTag" | "finalityCheckStrategy">>;

Defined in: atomiq-chain-evm/src/chains/EVMOptions.ts:69

EVM configuration


fees?​

optional fees: F;

Defined in: atomiq-chain-evm/src/chains/EVMOptions.ts:64

EVM network fee API


handlerContracts?​

optional handlerContracts: object;

Defined in: atomiq-chain-evm/src/chains/EVMOptions.ts:52

Contract addresses of the refund and claim handlers, uses canonical deployment by default

claim?​

optional claim: { [type in ChainSwapType]?: string };

refund?​

optional refund: object;
refund.timelock?​
optional timelock: string;

retryPolicy?​

optional retryPolicy: EVMRetryPolicy;

Defined in: atomiq-chain-evm/src/chains/EVMOptions.ts:19

Retry policy for the RPC calls


rpcUrl​

rpcUrl: string | JsonRpcApiProvider;

Defined in: atomiq-chain-evm/src/chains/EVMOptions.ts:15

EVM RPC URL or JsonRpcApiProvider object to use for EVM network access


spvVaultContract?​

optional spvVaultContract: string;

Defined in: atomiq-chain-evm/src/chains/EVMOptions.ts:44

Contract address of the UTXO-controlled vault (SPV Vault manager) contract, uses canonical deployment by default


spvVaultDeploymentHeight?​

optional spvVaultDeploymentHeight: number;

Defined in: atomiq-chain-evm/src/chains/EVMOptions.ts:48

Optional UTXO-controlled vault (SPV Vault manager) contract deployment height, which acts as genesis when querying events


swapContract?​

optional swapContract: string;

Defined in: atomiq-chain-evm/src/chains/EVMOptions.ts:28

Contract address of the Escrow Manager contract, uses canonical deployment by default


swapContractDeploymentHeight?​

optional swapContractDeploymentHeight: number;

Defined in: atomiq-chain-evm/src/chains/EVMOptions.ts:32

Optional Escrow Manager contract deployment height, which acts as genesis when querying events