AccountTimeSeriesStatsConfig<V>: {
    account: string;
    aggregate?: ((args: AccountAggregatorFnArgs) => Promise<V>);
    blockchainId: Blockchain;
    series: TimeSeriesStats<any, any>[];
    type: IndexableEntityType;
}

Configuration for an account stats aggregator.

Type Parameters

  • V

    The type of the account stats being aggregated.

Type declaration

  • account: string

    The account address.

  • Optional aggregate?: ((args: AccountAggregatorFnArgs) => Promise<V>)
  • blockchainId: Blockchain

    The blockchain that this aggregator uses.

  • series: TimeSeriesStats<any, any>[]

    A list of time series stats aggregators that use the same input stream of given account.

  • type: IndexableEntityType

    The type of events/entities that this aggregator processes.

Generated using TypeDoc