// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file tendermint/types/types.proto (package tendermint.types, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf"; import { Proof } from "../crypto/proof_pb.js"; import { Consensus } from "../version/types_pb.js"; import { ValidatorSet } from "./validator_pb.js"; /** * BlockIdFlag indicates which BlcokID the signature is for * * @generated from enum tendermint.types.BlockIDFlag */ export enum BlockIDFlag { /** * @generated from enum value: BLOCK_ID_FLAG_UNKNOWN = 0; */ BLOCK_ID_FLAG_UNKNOWN = 0, /** * @generated from enum value: BLOCK_ID_FLAG_ABSENT = 1; */ BLOCK_ID_FLAG_ABSENT = 1, /** * @generated from enum value: BLOCK_ID_FLAG_COMMIT = 2; */ BLOCK_ID_FLAG_COMMIT = 2, /** * @generated from enum value: BLOCK_ID_FLAG_NIL = 3; */ BLOCK_ID_FLAG_NIL = 3, } // Retrieve enum metadata with: proto3.getEnumType(BlockIDFlag) proto3.util.setEnumType(BlockIDFlag, "tendermint.types.BlockIDFlag", [ { no: 0, name: "BLOCK_ID_FLAG_UNKNOWN" }, { no: 1, name: "BLOCK_ID_FLAG_ABSENT" }, { no: 2, name: "BLOCK_ID_FLAG_COMMIT" }, { no: 3, name: "BLOCK_ID_FLAG_NIL" }, ]); /** * SignedMsgType is a type of signed message in the consensus. * * @generated from enum tendermint.types.SignedMsgType */ export enum SignedMsgType { /** * @generated from enum value: SIGNED_MSG_TYPE_UNKNOWN = 0; */ UNKNOWN = 0, /** * Votes * * @generated from enum value: SIGNED_MSG_TYPE_PREVOTE = 1; */ PREVOTE = 1, /** * @generated from enum value: SIGNED_MSG_TYPE_PRECOMMIT = 2; */ PRECOMMIT = 2, /** * Proposals * * @generated from enum value: SIGNED_MSG_TYPE_PROPOSAL = 32; */ PROPOSAL = 32, } // Retrieve enum metadata with: proto3.getEnumType(SignedMsgType) proto3.util.setEnumType(SignedMsgType, "tendermint.types.SignedMsgType", [ { no: 0, name: "SIGNED_MSG_TYPE_UNKNOWN" }, { no: 1, name: "SIGNED_MSG_TYPE_PREVOTE" }, { no: 2, name: "SIGNED_MSG_TYPE_PRECOMMIT" }, { no: 32, name: "SIGNED_MSG_TYPE_PROPOSAL" }, ]); /** * PartsetHeader * * @generated from message tendermint.types.PartSetHeader */ export class PartSetHeader extends Message { /** * @generated from field: uint32 total = 1; */ total = 0; /** * @generated from field: bytes hash = 2; */ hash = new Uint8Array(0); constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "tendermint.types.PartSetHeader"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "total", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, { no: 2, name: "hash", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): PartSetHeader { return new PartSetHeader().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): PartSetHeader { return new PartSetHeader().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): PartSetHeader { return new PartSetHeader().fromJsonString(jsonString, options); } static equals(a: PartSetHeader | PlainMessage | undefined, b: PartSetHeader | PlainMessage | undefined): boolean { return proto3.util.equals(PartSetHeader, a, b); } } /** * @generated from message tendermint.types.Part */ export class Part extends Message { /** * @generated from field: uint32 index = 1; */ index = 0; /** * @generated from field: bytes bytes = 2; */ bytes = new Uint8Array(0); /** * @generated from field: tendermint.crypto.Proof proof = 3; */ proof?: Proof; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "tendermint.types.Part"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, { no: 2, name: "bytes", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 3, name: "proof", kind: "message", T: Proof }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Part { return new Part().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Part { return new Part().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Part { return new Part().fromJsonString(jsonString, options); } static equals(a: Part | PlainMessage | undefined, b: Part | PlainMessage | undefined): boolean { return proto3.util.equals(Part, a, b); } } /** * BlockID * * @generated from message tendermint.types.BlockID */ export class BlockID extends Message { /** * @generated from field: bytes hash = 1; */ hash = new Uint8Array(0); /** * @generated from field: tendermint.types.PartSetHeader part_set_header = 2; */ partSetHeader?: PartSetHeader; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "tendermint.types.BlockID"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "hash", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 2, name: "part_set_header", kind: "message", T: PartSetHeader }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): BlockID { return new BlockID().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): BlockID { return new BlockID().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): BlockID { return new BlockID().fromJsonString(jsonString, options); } static equals(a: BlockID | PlainMessage | undefined, b: BlockID | PlainMessage | undefined): boolean { return proto3.util.equals(BlockID, a, b); } } /** * Header defines the structure of a block header. * * @generated from message tendermint.types.Header */ export class Header extends Message
{ /** * basic block info * * @generated from field: tendermint.version.Consensus version = 1; */ version?: Consensus; /** * @generated from field: string chain_id = 2; */ chainId = ""; /** * @generated from field: int64 height = 3; */ height = protoInt64.zero; /** * @generated from field: google.protobuf.Timestamp time = 4; */ time?: Timestamp; /** * prev block info * * @generated from field: tendermint.types.BlockID last_block_id = 5; */ lastBlockId?: BlockID; /** * hashes of block data * * commit from validators from the last block * * @generated from field: bytes last_commit_hash = 6; */ lastCommitHash = new Uint8Array(0); /** * transactions * * @generated from field: bytes data_hash = 7; */ dataHash = new Uint8Array(0); /** * hashes from the app output from the prev block * * validators for the current block * * @generated from field: bytes validators_hash = 8; */ validatorsHash = new Uint8Array(0); /** * validators for the next block * * @generated from field: bytes next_validators_hash = 9; */ nextValidatorsHash = new Uint8Array(0); /** * consensus params for current block * * @generated from field: bytes consensus_hash = 10; */ consensusHash = new Uint8Array(0); /** * state after txs from the previous block * * @generated from field: bytes app_hash = 11; */ appHash = new Uint8Array(0); /** * root hash of all results from the txs from the previous block * * @generated from field: bytes last_results_hash = 12; */ lastResultsHash = new Uint8Array(0); /** * consensus info * * evidence included in the block * * @generated from field: bytes evidence_hash = 13; */ evidenceHash = new Uint8Array(0); /** * original proposer of the block * * @generated from field: bytes proposer_address = 14; */ proposerAddress = new Uint8Array(0); constructor(data?: PartialMessage
) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "tendermint.types.Header"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "version", kind: "message", T: Consensus }, { no: 2, name: "chain_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "height", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 4, name: "time", kind: "message", T: Timestamp }, { no: 5, name: "last_block_id", kind: "message", T: BlockID }, { no: 6, name: "last_commit_hash", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 7, name: "data_hash", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 8, name: "validators_hash", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 9, name: "next_validators_hash", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 10, name: "consensus_hash", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 11, name: "app_hash", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 12, name: "last_results_hash", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 13, name: "evidence_hash", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 14, name: "proposer_address", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Header { return new Header().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Header { return new Header().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Header { return new Header().fromJsonString(jsonString, options); } static equals(a: Header | PlainMessage
| undefined, b: Header | PlainMessage
| undefined): boolean { return proto3.util.equals(Header, a, b); } } /** * Data contains the set of transactions included in the block * * @generated from message tendermint.types.Data */ export class Data extends Message { /** * Txs that will be applied by state @ block.Height+1. * NOTE: not all txs here are valid. We're just agreeing on the order first. * This means that block.AppHash does not include these txs. * * @generated from field: repeated bytes txs = 1; */ txs: Uint8Array[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "tendermint.types.Data"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "txs", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Data { return new Data().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Data { return new Data().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Data { return new Data().fromJsonString(jsonString, options); } static equals(a: Data | PlainMessage | undefined, b: Data | PlainMessage | undefined): boolean { return proto3.util.equals(Data, a, b); } } /** * Vote represents a prevote, precommit, or commit vote from validators for * consensus. * * @generated from message tendermint.types.Vote */ export class Vote extends Message { /** * @generated from field: tendermint.types.SignedMsgType type = 1; */ type = SignedMsgType.UNKNOWN; /** * @generated from field: int64 height = 2; */ height = protoInt64.zero; /** * @generated from field: int32 round = 3; */ round = 0; /** * zero if vote is nil. * * @generated from field: tendermint.types.BlockID block_id = 4; */ blockId?: BlockID; /** * @generated from field: google.protobuf.Timestamp timestamp = 5; */ timestamp?: Timestamp; /** * @generated from field: bytes validator_address = 6; */ validatorAddress = new Uint8Array(0); /** * @generated from field: int32 validator_index = 7; */ validatorIndex = 0; /** * @generated from field: bytes signature = 8; */ signature = new Uint8Array(0); constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "tendermint.types.Vote"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(SignedMsgType) }, { no: 2, name: "height", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 3, name: "round", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 4, name: "block_id", kind: "message", T: BlockID }, { no: 5, name: "timestamp", kind: "message", T: Timestamp }, { no: 6, name: "validator_address", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 7, name: "validator_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 8, name: "signature", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Vote { return new Vote().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Vote { return new Vote().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Vote { return new Vote().fromJsonString(jsonString, options); } static equals(a: Vote | PlainMessage | undefined, b: Vote | PlainMessage | undefined): boolean { return proto3.util.equals(Vote, a, b); } } /** * Commit contains the evidence that a block was committed by a set of validators. * * @generated from message tendermint.types.Commit */ export class Commit extends Message { /** * @generated from field: int64 height = 1; */ height = protoInt64.zero; /** * @generated from field: int32 round = 2; */ round = 0; /** * @generated from field: tendermint.types.BlockID block_id = 3; */ blockId?: BlockID; /** * @generated from field: repeated tendermint.types.CommitSig signatures = 4; */ signatures: CommitSig[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "tendermint.types.Commit"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "height", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "round", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 3, name: "block_id", kind: "message", T: BlockID }, { no: 4, name: "signatures", kind: "message", T: CommitSig, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Commit { return new Commit().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Commit { return new Commit().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Commit { return new Commit().fromJsonString(jsonString, options); } static equals(a: Commit | PlainMessage | undefined, b: Commit | PlainMessage | undefined): boolean { return proto3.util.equals(Commit, a, b); } } /** * CommitSig is a part of the Vote included in a Commit. * * @generated from message tendermint.types.CommitSig */ export class CommitSig extends Message { /** * @generated from field: tendermint.types.BlockIDFlag block_id_flag = 1; */ blockIdFlag = BlockIDFlag.BLOCK_ID_FLAG_UNKNOWN; /** * @generated from field: bytes validator_address = 2; */ validatorAddress = new Uint8Array(0); /** * @generated from field: google.protobuf.Timestamp timestamp = 3; */ timestamp?: Timestamp; /** * @generated from field: bytes signature = 4; */ signature = new Uint8Array(0); constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "tendermint.types.CommitSig"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "block_id_flag", kind: "enum", T: proto3.getEnumType(BlockIDFlag) }, { no: 2, name: "validator_address", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 3, name: "timestamp", kind: "message", T: Timestamp }, { no: 4, name: "signature", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CommitSig { return new CommitSig().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): CommitSig { return new CommitSig().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): CommitSig { return new CommitSig().fromJsonString(jsonString, options); } static equals(a: CommitSig | PlainMessage | undefined, b: CommitSig | PlainMessage | undefined): boolean { return proto3.util.equals(CommitSig, a, b); } } /** * @generated from message tendermint.types.Proposal */ export class Proposal extends Message { /** * @generated from field: tendermint.types.SignedMsgType type = 1; */ type = SignedMsgType.UNKNOWN; /** * @generated from field: int64 height = 2; */ height = protoInt64.zero; /** * @generated from field: int32 round = 3; */ round = 0; /** * @generated from field: int32 pol_round = 4; */ polRound = 0; /** * @generated from field: tendermint.types.BlockID block_id = 5; */ blockId?: BlockID; /** * @generated from field: google.protobuf.Timestamp timestamp = 6; */ timestamp?: Timestamp; /** * @generated from field: bytes signature = 7; */ signature = new Uint8Array(0); constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "tendermint.types.Proposal"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(SignedMsgType) }, { no: 2, name: "height", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 3, name: "round", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 4, name: "pol_round", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 5, name: "block_id", kind: "message", T: BlockID }, { no: 6, name: "timestamp", kind: "message", T: Timestamp }, { no: 7, name: "signature", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Proposal { return new Proposal().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Proposal { return new Proposal().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Proposal { return new Proposal().fromJsonString(jsonString, options); } static equals(a: Proposal | PlainMessage | undefined, b: Proposal | PlainMessage | undefined): boolean { return proto3.util.equals(Proposal, a, b); } } /** * @generated from message tendermint.types.SignedHeader */ export class SignedHeader extends Message { /** * @generated from field: tendermint.types.Header header = 1; */ header?: Header; /** * @generated from field: tendermint.types.Commit commit = 2; */ commit?: Commit; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "tendermint.types.SignedHeader"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "header", kind: "message", T: Header }, { no: 2, name: "commit", kind: "message", T: Commit }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): SignedHeader { return new SignedHeader().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): SignedHeader { return new SignedHeader().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): SignedHeader { return new SignedHeader().fromJsonString(jsonString, options); } static equals(a: SignedHeader | PlainMessage | undefined, b: SignedHeader | PlainMessage | undefined): boolean { return proto3.util.equals(SignedHeader, a, b); } } /** * @generated from message tendermint.types.LightBlock */ export class LightBlock extends Message { /** * @generated from field: tendermint.types.SignedHeader signed_header = 1; */ signedHeader?: SignedHeader; /** * @generated from field: tendermint.types.ValidatorSet validator_set = 2; */ validatorSet?: ValidatorSet; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "tendermint.types.LightBlock"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "signed_header", kind: "message", T: SignedHeader }, { no: 2, name: "validator_set", kind: "message", T: ValidatorSet }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): LightBlock { return new LightBlock().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): LightBlock { return new LightBlock().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): LightBlock { return new LightBlock().fromJsonString(jsonString, options); } static equals(a: LightBlock | PlainMessage | undefined, b: LightBlock | PlainMessage | undefined): boolean { return proto3.util.equals(LightBlock, a, b); } } /** * @generated from message tendermint.types.BlockMeta */ export class BlockMeta extends Message { /** * @generated from field: tendermint.types.BlockID block_id = 1; */ blockId?: BlockID; /** * @generated from field: int64 block_size = 2; */ blockSize = protoInt64.zero; /** * @generated from field: tendermint.types.Header header = 3; */ header?: Header; /** * @generated from field: int64 num_txs = 4; */ numTxs = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "tendermint.types.BlockMeta"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "block_id", kind: "message", T: BlockID }, { no: 2, name: "block_size", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 3, name: "header", kind: "message", T: Header }, { no: 4, name: "num_txs", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): BlockMeta { return new BlockMeta().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): BlockMeta { return new BlockMeta().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): BlockMeta { return new BlockMeta().fromJsonString(jsonString, options); } static equals(a: BlockMeta | PlainMessage | undefined, b: BlockMeta | PlainMessage | undefined): boolean { return proto3.util.equals(BlockMeta, a, b); } } /** * TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. * * @generated from message tendermint.types.TxProof */ export class TxProof extends Message { /** * @generated from field: bytes root_hash = 1; */ rootHash = new Uint8Array(0); /** * @generated from field: bytes data = 2; */ data = new Uint8Array(0); /** * @generated from field: tendermint.crypto.Proof proof = 3; */ proof?: Proof; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "tendermint.types.TxProof"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "root_hash", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 2, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 3, name: "proof", kind: "message", T: Proof }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): TxProof { return new TxProof().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): TxProof { return new TxProof().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): TxProof { return new TxProof().fromJsonString(jsonString, options); } static equals(a: TxProof | PlainMessage | undefined, b: TxProof | PlainMessage | undefined): boolean { return proto3.util.equals(TxProof, a, b); } }