dsteem
    Preparing search index...

    Interface CreateAccountOptions

    interface CreateAccountOptions {
        auths?: {
            active: string | AuthorityType | PublicKey;
            memoKey: string | PublicKey;
            owner: string | AuthorityType | PublicKey;
            posting: string | AuthorityType | PublicKey;
        };
        creator: string;
        delegation?: string
        | number
        | Asset;
        fee?: string | number | Asset;
        metadata?: { [key: string]: any };
        password?: string;
        username: string;
    }
    Index

    Properties

    auths?: {
        active: string | AuthorityType | PublicKey;
        memoKey: string | PublicKey;
        owner: string | AuthorityType | PublicKey;
        posting: string | AuthorityType | PublicKey;
    }

    Account authorities, used to manually set account keys. Can not be used together with the password option.

    creator: string

    Creator account, fee will be deducted from this and the key to sign the transaction must be the creators active key.

    delegation?: string | number | Asset

    Account delegation, amount of VESTS to delegate to the new account. If omitted the delegation amount will be the lowest possible based on the fee. Can be set to zero to disable delegation.

    fee?: string | number | Asset

    Account creation fee. If omitted fee will be set to lowest possible.

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

    Optional account meta-data.

    password?: string

    Password for the new account, if set, all keys will be derived from this.

    username: string

    Username for the new account.