Type Alias BaseMultichainSmartAccount

BaseMultichainSmartAccount: {
    addressOn: {
        (chainId: number, strictMode: true): `0x${string}`;
        (chainId: number, strictMode?: false): undefined | `0x${string}`;
    };
    deploymentOn: {
        (chainId: number, strictMode: true): ModularSmartAccount;
        (chainId: number, strictMode?: false): undefined | ModularSmartAccount;
    };
    deployments: ModularSmartAccount[];
    signer: Signer;
}

Represents a smart account deployed across multiple chains

Type declaration

  • addressOn: {
        (chainId: number, strictMode: true): `0x${string}`;
        (chainId: number, strictMode?: false): undefined | `0x${string}`;
    }

    Function to retrieve the address of the account on a specific chain

    The ID of the chain to query

    Whether to throw an error if no deployment exists for the specified chain

    The address of the account on the specified chain

    Error if no deployment exists for the specified chain and strictMode is true

  • deploymentOn: {
        (chainId: number, strictMode: true): ModularSmartAccount;
        (chainId: number, strictMode?: false): undefined | ModularSmartAccount;
    }

    Function to retrieve deployment information for a specific chain

    The ID of the chain to query

    Whether to throw an error if no deployment exists for the specified chain

    The smart account deployment for the specified chain

    Error if no deployment exists for the specified chain and strictMode is true

  • deployments: ModularSmartAccount[]

    Array of minimal MEE smart account instances across different chains

  • signer: Signer

    The signer associated with this multichain account