Type alias BiconomySmartAccountV2ConfigBaseProps

BiconomySmartAccountV2ConfigBaseProps: {
    activeValidationModule?: BaseValidationModule;
    biconomyPaymasterApiKey?: string;
    customChain?: Chain;
    defaultFallbackHandler?: Hex;
    factoryAddress?: Hex;
    implementationAddress?: Hex;
    initCode?: Hex;
    maxIndexForScan?: number;
    paymasterUrl?: string;
    rpcUrl?: string;
    scanForUpgradedAccountsFromV1?: boolean;
    senderAddress?: Hex;
    sessionData?: ModuleInfo;
    sessionStorageClient?: ISessionStorage;
    sessionType?: SessionType;
    skipChainCheck?: boolean;
    viemChain?: Chain;
}

Type declaration

  • Optional activeValidationModule?: BaseValidationModule

    activeValidationModule: The active validation module. Will default to the defaultValidationModule

  • Optional biconomyPaymasterApiKey?: string

    biconomyPaymasterApiKey: The API key retrieved from the Biconomy dashboard

  • Optional customChain?: Chain

    Can be used to optionally override the chain with a custom chain if it doesn't already exist in viems list of supported chain. Alias of viemChain

  • Optional defaultFallbackHandler?: Hex

    defaultFallbackHandler: override the default fallback contract address

  • Optional factoryAddress?: Hex

    Factory address of biconomy factory contract or some other contract you have deployed on chain

  • Optional implementationAddress?: Hex

    implementation of smart contract address or some other contract you have deployed and want to override

  • Optional initCode?: Hex

    The initial code to be used for the smart account

  • Optional maxIndexForScan?: number

    the index of SA the EOA have generated and till which indexes the upgraded SA should scan

  • Optional paymasterUrl?: string

    paymasterUrl: The Paymaster URL retrieved from the Biconomy dashboard

  • Optional rpcUrl?: string

    rpcUrl: Rpc url, optional, we set default rpc url if not passed.

  • Optional scanForUpgradedAccountsFromV1?: boolean

    scanForUpgradedAccountsFromV1: set to true if you you want the userwho was using biconomy SA v1 to upgrade to biconomy SA v2

  • Optional senderAddress?: Hex

    Sender address: If you want to override the Signer address with some other address and get counterfactual address can use this to pass the EOA and get SA address

  • Optional sessionData?: ModuleInfo

    Used for session key manager module

  • Optional sessionStorageClient?: ISessionStorage

    The sessionStorageClient used for persisting and retrieving session data

  • Optional sessionType?: SessionType

    The type of the relevant session. Used with createSessionSmartAccountClient

  • Optional skipChainCheck?: boolean

    Used to skip the chain checks between singer, bundler and paymaster

  • Optional viemChain?: Chain

    Can be used to optionally override the chain with a custom chain if it doesn't already exist in viems list of supported chains. Alias of customChain