Optional
accountThe chain ID. Must be a supported chain.
Optional
defaultFor account types that support social recovery, wether to enable Openfort as guardian or not. Defaults to false.
Optional
externalUse this parameter to create a new Account for Player with the provided owner address.
Optional
playerID of the player this account belongs to (starts with pla_
). If none is provided, a new player will be created.
Optional
tokenIf ERC6551, the address of the NFT contract to use
Optional
tokenIf ERC6551, the tokenId from the NFT contract that will serve as owner
Static
Readonly
attributeStatic
Readonly
discriminatorStatic
get
The type of smart account that will be created (e.g. ERC6551V1, UpgradeableV6, UpgradeableV5, ZKSyncUpgradeableV2). Defaults to UpgradeableV6.