Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CreateAccountRequest

Index

Constructors

Properties

accountType?: string

The type of smart account that will be created (e.g. ERC6551V1, ManagedV5, UpgradeableV5, ZKSyncUpgradeableV1). Defaults to UpgradeableV5.

chainId: number

The chain ID. Must be a supported chain.

defaultGuardian?: boolean

For account types that support social recovery, wether to enable Openfort as guardian or not. Defaults to false.

externalOwnerAddress?: string

Use this parameter to create a new Account for Player with the provided owner address.

player?: string

ID of the player this account belongs to (starts with pla_). If none is provided, a new player will be created.

tokenContract?: string

If ERC6551, the address of the NFT contract to use

tokenId?: number

If ERC6551, the tokenId from the NFT contract that will serve as owner

attributeTypeMap: { baseName: string; format: string; name: string; type: string }[] = ...
discriminator: undefined | string = undefined

Methods

  • getAttributeTypeMap(): { baseName: string; format: string; name: string; type: string }[]

Generated using TypeDoc