Type alias ToNexusSmartAccountParameters

ToNexusSmartAccountParameters: {
    accountAddress?: Address;
    attesterThreshold?: number;
    attesters?: Address[];
    bootStrapAddress?: Address;
    chain: Chain;
    index?: bigint;
    module?: Module;
    registryAddress?: Address;
    signer: OneOf<EthereumProvider | WalletClient<Transport, Chain | undefined, Account> | LocalAccount | EthersWallet>;
    transport: ClientConfig["transport"];
} & Prettify<Pick<ClientConfig<Transport, Chain, Account, RpcSchema>, "account" | "cacheTime" | "chain" | "key" | "name" | "pollingInterval" | "rpcSchema">> & OneOf<CustomNexusConfigurationParameters | DefaultNexusConfigurationParameters>

Parameters for creating a Nexus Smart Account

Type declaration

  • Optional accountAddress?: Address

    Optional account address override

  • Optional attesterThreshold?: number

    Optional attestors threshold for the account

  • Optional attesters?: Address[]

    Attester addresses to apply to the account

  • Optional bootStrapAddress?: Address

    Optional boot strap address

  • chain: Chain

    The blockchain network

  • Optional index?: bigint

    Optional index for the account

  • Optional module?: Module

    Optional active validation module

  • Optional registryAddress?: Address

    Optional registry address

  • signer: OneOf<EthereumProvider | WalletClient<Transport, Chain | undefined, Account> | LocalAccount | EthersWallet>

    The signer account or address

  • transport: ClientConfig["transport"]

    The transport configuration