Type alias BaseSmartAccountConfig

BaseSmartAccountConfig: {
    accountAddress?: string;
    chainId?: number;
    entryPointAddress?: string;
    index?: number;
    overheads?: Partial<GasOverheads>;
    paymaster?: IPaymaster;
    provider?: WalletClient;
}

Type declaration

  • Optional accountAddress?: string

    accountAddress: address of the smart account, potentially counterfactual

  • Optional chainId?: number

    chainId: chainId of the network

  • Optional entryPointAddress?: string

    entryPointAddress: address of the smart account entry point

  • Optional index?: number

    index: helps to not conflict with other smart account instances

  • Optional overheads?: Partial<GasOverheads>

    overheads: GasOverheads

  • Optional paymaster?: IPaymaster

    paymaster: IPaymaster interface

  • Optional provider?: WalletClient

    provider: WalletClientSigner from viem