interface AccountStatic<
    T extends AccountInstance = AccountInstance,
    C extends AccountConfig = AccountConfig,
> {
    previousHashStore?: PreviousHashStore;
    create(options?: C): Promise<T>;
    fromPrivateKey(
        key: string | bigint | ArrayBufferLike,
    ): Promise<AccountInstance>;
    random(): Promise<AccountInstance>;
}

Type Parameters

Properties

previousHashStore?: PreviousHashStore

Methods

  • Parameters

    • Optionaloptions: C

    Returns Promise<T>