PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.

message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }

from message cosmos.base.query.v1beta1.PageResponse

Hierarchy

Constructors

Properties

nextKey: Uint8Array = ...

next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.

from field: bytes next_key = 1;

total: bigint = protoInt64.zero

total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise

from field: uint64 total = 2;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.base.query.v1beta1.PageResponse" = "cosmos.base.query.v1beta1.PageResponse"

Methods