Interface CreateAccountInput

The CreateAccountInput used by the constructor of CreateAccount

interface CreateAccountInput {
    email?: string;
    firstName?: string;
    lastName?: string;
    ledgerType?: string;
    metadata?: {
        [key: string]: string;
    };
    phone?: string;
}

Properties

email?: string

email on the account.

firstName?: string

first name on the account.

lastName?: string

last name on the account.

ledgerType?: string

ledgerType for the account, default is 'hedera' if not provided.

metadata?: {
    [key: string]: string;
}

any additional metadata attributes required by the account.

Type declaration

  • [key: string]: string
phone?: string

phone number on the account, should start with +{country code}