Skip to main content
function createEvmSmartAccount(options?: CreateEvmSmartAccountOptions): Promise<`0x${string}`>;
Creates an EVM Smart Account for the current user. This function will throw an error if the user already has an EVM Smart Account. If the user does not have an EVM EOA account, one will be created automatically as the owner.

Parameters

ParameterTypeDescription
options?CreateEvmSmartAccountOptionsOptions for creating the EVM Smart Account.

Returns

Promise<`0x${string}`> The address of the newly created EVM Smart Account.

Throws

Error if the user is not signed in or already has an EVM Smart Account.