StoreQueryOptions: {
    cursor?: proto.Index;
    pageDirection?: PageDirection;
    pageSize?: number;
    timeFilter?: TimeFilter;
}

Type declaration

  • Optional cursor?: proto.Index

    Cursor as an index to start a query from. Must be generated from a Waku Message.

  • Optional pageDirection?: PageDirection

    The direction in which pages are retrieved:

    Note: This does not affect the ordering of messages with the page (the oldest message is always first).

    Default

    { @link PageDirection.BACKWARD }
    
  • Optional pageSize?: number

    The number of message per page.

  • Optional timeFilter?: TimeFilter

    Retrieve messages with a timestamp within the provided values.

Generated using TypeDoc