Variables
MsgSubmitEvidence
MsgSubmitEvidence: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { evidence?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; submitter?: string }): MsgSubmitEvidence
-
Parameters
-
object: { evidence?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; submitter?: string }
-
Optional evidence?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }
-
Optional submitter?: string
-
toJSON: function
-
Parameters
Returns unknown
MsgSubmitEvidenceResponse
MsgSubmitEvidenceResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
-
Parameters
-
object: { hash?: Uint8Array }
-
Optional hash?: Uint8Array
-
toJSON: function
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "cosmos.evidence.v1beta1" = 'cosmos.evidence.v1beta1'
hash defines the hash of the evidence.