Skip to main content
type CreateEvmSmartAccountOptions = {
  owner?: EvmAddress;
  enableSpendPermissions?: boolean;
  idempotencyKey?: string;
};
Options for creating a Smart Account.

Properties

PropertyTypeDescription
owner?EvmAddressOptional owner address for the smart account. If not provided, a new EOA will be created as the owner. If the owner already controls a smart account, an error will be thrown.
enableSpendPermissions?booleanWhether to enable spend permissions for the smart account. Setting this to true is necessary in order to create spend permissions. Only new accounts can be created with spend permissions enabled. Defaults to false.
idempotencyKey?stringOptional idempotency key for safe retries.