ImportEvmAccountBody: {
    accountPolicy?: string;
    encryptedPrivateKey: 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}$

  • encryptedPrivateKey: string

    The base64-encoded, encrypted private key of the EVM account. The private key must be encrypted using the CDP SDK's encryption scheme.

  • 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 EVM accounts in the developer's CDP Project.

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