CreateSolanaAccountBody: { accountPolicy?: string; name?: string }

Type declaration

  • OptionalaccountPolicy?: string

    The ID of the account-level policy to apply to the account.

    ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

  • Optionalname?: string

    An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names must be unique across all Solana accounts in the developer's CDP Project.

    ^[A-Za-z0-9][A-Za-z0-9-]{0,34}[A-Za-z0-9]$