// package: types // file: ledger_info.proto /* tslint:disable */ import * as jspb from "google-protobuf"; export class LedgerInfo extends jspb.Message { getVersion(): string; setVersion(value: string): void; getTransactionAccumulatorHash(): Uint8Array | string; getTransactionAccumulatorHash_asU8(): Uint8Array; getTransactionAccumulatorHash_asB64(): string; setTransactionAccumulatorHash(value: Uint8Array | string): void; getConsensusDataHash(): Uint8Array | string; getConsensusDataHash_asU8(): Uint8Array; getConsensusDataHash_asB64(): string; setConsensusDataHash(value: Uint8Array | string): void; getConsensusBlockId(): Uint8Array | string; getConsensusBlockId_asU8(): Uint8Array; getConsensusBlockId_asB64(): string; setConsensusBlockId(value: Uint8Array | string): void; getEpochNum(): string; setEpochNum(value: string): void; getTimestampUsecs(): string; setTimestampUsecs(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): LedgerInfo.AsObject; static toObject(includeInstance: boolean, msg: LedgerInfo): LedgerInfo.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: LedgerInfo, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): LedgerInfo; static deserializeBinaryFromReader(message: LedgerInfo, reader: jspb.BinaryReader): LedgerInfo; } export namespace LedgerInfo { export type AsObject = { version: string, transactionAccumulatorHash: Uint8Array | string, consensusDataHash: Uint8Array | string, consensusBlockId: Uint8Array | string, epochNum: string, timestampUsecs: string, } } export class LedgerInfoWithSignatures extends jspb.Message { clearSignaturesList(): void; getSignaturesList(): Array; setSignaturesList(value: Array): void; addSignatures(value?: ValidatorSignature, index?: number): ValidatorSignature; hasLedgerInfo(): boolean; clearLedgerInfo(): void; getLedgerInfo(): LedgerInfo | undefined; setLedgerInfo(value?: LedgerInfo): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): LedgerInfoWithSignatures.AsObject; static toObject(includeInstance: boolean, msg: LedgerInfoWithSignatures): LedgerInfoWithSignatures.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: LedgerInfoWithSignatures, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): LedgerInfoWithSignatures; static deserializeBinaryFromReader(message: LedgerInfoWithSignatures, reader: jspb.BinaryReader): LedgerInfoWithSignatures; } export namespace LedgerInfoWithSignatures { export type AsObject = { signaturesList: Array, ledgerInfo?: LedgerInfo.AsObject, } } export class ValidatorSignature extends jspb.Message { getValidatorId(): Uint8Array | string; getValidatorId_asU8(): Uint8Array; getValidatorId_asB64(): string; setValidatorId(value: Uint8Array | string): void; getSignature(): Uint8Array | string; getSignature_asU8(): Uint8Array; getSignature_asB64(): string; setSignature(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ValidatorSignature.AsObject; static toObject(includeInstance: boolean, msg: ValidatorSignature): ValidatorSignature.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: ValidatorSignature, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): ValidatorSignature; static deserializeBinaryFromReader(message: ValidatorSignature, reader: jspb.BinaryReader): ValidatorSignature; } export namespace ValidatorSignature { export type AsObject = { validatorId: Uint8Array | string, signature: Uint8Array | string, } }