Variables
App
App: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): App
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
Returns App
-
encode: function
- encode(message: App, writer?: Writer): Writer
-
Parameters
-
message: App
-
writer: Writer = ...
Returns Writer
-
fromJSON: function
- fromJSON(object: any): App
-
fromPartial: function
- fromPartial(object: { protocol?: number; software?: string }): App
-
Parameters
-
object: { protocol?: number; software?: string }
-
Optional protocol?: number
-
Optional software?: string
Returns App
-
toJSON: function
- toJSON(message: App): unknown
-
Parameters
Returns unknown
Consensus
Consensus: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Consensus
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Consensus, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { app?: number; block?: number }): Consensus
-
Parameters
-
object: { app?: number; block?: number }
-
Optional app?: number
-
Optional block?: number
-
toJSON: function
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "tendermint.version" = 'tendermint.version'