Variables
PageRequest
PageRequest: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): PageRequest
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { countTotal?: boolean; key?: Uint8Array; limit?: number; offset?: number }): PageRequest
-
Parameters
-
object: { countTotal?: boolean; key?: Uint8Array; limit?: number; offset?: number }
-
Optional countTotal?: boolean
-
Optional key?: Uint8Array
-
Optional limit?: number
-
Optional offset?: number
-
toJSON: function
-
Parameters
Returns unknown
PageResponse
PageResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): PageResponse
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { nextKey?: Uint8Array; total?: number }): PageResponse
-
Parameters
-
object: { nextKey?: Uint8Array; total?: number }
-
Optional nextKey?: Uint8Array
-
Optional total?: number
-
toJSON: function
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "cosmos.base.query.v1beta1" = 'cosmos.base.query.v1beta1'
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.