Internal
Parameters
- chainId: number
Optional
chain: Partial<
{
chainId: number;
eip1559: boolean;
entryPoints?: {
v060?: { address: string };
v070?: {
address: string;
state?: { deposits: Record<string, { stateKey: ... }> };
};
};
isTestnet: boolean;
name: string;
nativeCurrency?: string;
paymasters: {
v060?: Record<string, { dummyPaymasterAndData: string; type: string }>;
v070?: Record<
string,
{ dummyPaymasterData: string; postOpGasLimit: bigint; type: string },
>;
};
simulation?: {
callGasLimit: bigint;
preVerificationGas: bigint;
verificationGasLimit: bigint;
};
smartAccountSupport: { nexus: boolean; smartAccountsV2: boolean };
stack: ChainStack;
stateOverrideSupport: {
balance: boolean;
bytecode: boolean;
stateDiff: boolean;
};
},
>
Complete chain configuration
Merges custom chain configuration with default chain settings.