UNPKG

@injectivelabs/exchange-api

Version:

Injective Exchange API client with generated gRPC bindings.

12,157 lines 366 kB
// source: injective_explorer_rpc.proto
/**
 * @fileoverview
 * @enhanceable
 * @suppress {missingRequire} reports error on implicit type usages.
 * @suppress {messageConventions} JS Compiler reports an error if a variable or
 *     field starts with 'MSG_' and isn't a translatable message.
 * @public
 */
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck

var jspb = require('google-protobuf');
var goog = jspb;
var global = (function() {
  if (this) { return this; }
  if (typeof window !== 'undefined') { return window; }
  if (typeof global !== 'undefined') { return global; }
  if (typeof self !== 'undefined') { return self; }
  return Function('return this')();
}.call(null));

goog.exportSymbol('proto.injective_explorer_rpc.BlockInfo', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.CosmosCoin', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.Event', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GasFee', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetAccountTxsRequest', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetAccountTxsResponse', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetBlockRequest', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetBlockResponse', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetBlocksRequest', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetBlocksResponse', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetIBCTransferTxsRequest', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetIBCTransferTxsResponse', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetPeggyDepositTxsRequest', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetPeggyDepositTxsResponse', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetTxByTxHashRequest', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetTxByTxHashResponse', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetTxsRequest', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetTxsResponse', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetValidatorRequest', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetValidatorResponse', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetValidatorUptimeRequest', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.GetValidatorUptimeResponse', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.IBCTransferTx', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.Paging', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.PeggyDepositTx', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.PeggyWithdrawalTx', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.Signature', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.SlashingEvent', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.StreamBlocksRequest', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.StreamBlocksResponse', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.StreamTxsRequest', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.StreamTxsResponse', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.TxData', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.ValidatorDescription', null, global);
goog.exportSymbol('proto.injective_explorer_rpc.ValidatorUptime', null, global);
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetAccountTxsRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.GetAccountTxsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetAccountTxsRequest.displayName = 'proto.injective_explorer_rpc.GetAccountTxsRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetAccountTxsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.GetAccountTxsResponse.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.GetAccountTxsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetAccountTxsResponse.displayName = 'proto.injective_explorer_rpc.GetAccountTxsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.Paging = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.Paging, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.Paging.displayName = 'proto.injective_explorer_rpc.Paging';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.TxData = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.TxData.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.TxData, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.TxData.displayName = 'proto.injective_explorer_rpc.TxData';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GasFee = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.GasFee.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.GasFee, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GasFee.displayName = 'proto.injective_explorer_rpc.GasFee';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.CosmosCoin = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.CosmosCoin, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.CosmosCoin.displayName = 'proto.injective_explorer_rpc.CosmosCoin';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.Event = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.Event, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.Event.displayName = 'proto.injective_explorer_rpc.Event';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.Signature = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.Signature, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.Signature.displayName = 'proto.injective_explorer_rpc.Signature';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetBlocksRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.GetBlocksRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetBlocksRequest.displayName = 'proto.injective_explorer_rpc.GetBlocksRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetBlocksResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.GetBlocksResponse.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.GetBlocksResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetBlocksResponse.displayName = 'proto.injective_explorer_rpc.GetBlocksResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.BlockInfo = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.BlockInfo.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.BlockInfo, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.BlockInfo.displayName = 'proto.injective_explorer_rpc.BlockInfo';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetBlockRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.GetBlockRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetBlockRequest.displayName = 'proto.injective_explorer_rpc.GetBlockRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetBlockResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.GetBlockResponse.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.GetBlockResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetBlockResponse.displayName = 'proto.injective_explorer_rpc.GetBlockResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetValidatorRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.GetValidatorRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetValidatorRequest.displayName = 'proto.injective_explorer_rpc.GetValidatorRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetValidatorResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.GetValidatorResponse.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.GetValidatorResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetValidatorResponse.displayName = 'proto.injective_explorer_rpc.GetValidatorResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.ValidatorDescription = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.ValidatorDescription, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.ValidatorDescription.displayName = 'proto.injective_explorer_rpc.ValidatorDescription';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.ValidatorUptime = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.ValidatorUptime, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.ValidatorUptime.displayName = 'proto.injective_explorer_rpc.ValidatorUptime';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.SlashingEvent = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.SlashingEvent, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.SlashingEvent.displayName = 'proto.injective_explorer_rpc.SlashingEvent';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetValidatorUptimeRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.GetValidatorUptimeRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetValidatorUptimeRequest.displayName = 'proto.injective_explorer_rpc.GetValidatorUptimeRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetValidatorUptimeResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.GetValidatorUptimeResponse.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.GetValidatorUptimeResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetValidatorUptimeResponse.displayName = 'proto.injective_explorer_rpc.GetValidatorUptimeResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetTxsRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.GetTxsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetTxsRequest.displayName = 'proto.injective_explorer_rpc.GetTxsRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetTxsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.GetTxsResponse.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.GetTxsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetTxsResponse.displayName = 'proto.injective_explorer_rpc.GetTxsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetTxByTxHashRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.GetTxByTxHashRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetTxByTxHashRequest.displayName = 'proto.injective_explorer_rpc.GetTxByTxHashRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.GetTxByTxHashResponse.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.GetTxByTxHashResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetTxByTxHashResponse.displayName = 'proto.injective_explorer_rpc.GetTxByTxHashResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.StreamTxsRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.StreamTxsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.StreamTxsRequest.displayName = 'proto.injective_explorer_rpc.StreamTxsRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.StreamTxsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.StreamTxsResponse.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.StreamTxsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.StreamTxsResponse.displayName = 'proto.injective_explorer_rpc.StreamTxsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.StreamBlocksRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.StreamBlocksRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.StreamBlocksRequest.displayName = 'proto.injective_explorer_rpc.StreamBlocksRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.StreamBlocksResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.StreamBlocksResponse.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.StreamBlocksResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.StreamBlocksResponse.displayName = 'proto.injective_explorer_rpc.StreamBlocksResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.GetPeggyDepositTxsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.displayName = 'proto.injective_explorer_rpc.GetPeggyDepositTxsRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.GetPeggyDepositTxsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.displayName = 'proto.injective_explorer_rpc.GetPeggyDepositTxsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.PeggyDepositTx = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.PeggyDepositTx.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.PeggyDepositTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.PeggyDepositTx.displayName = 'proto.injective_explorer_rpc.PeggyDepositTx';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.displayName = 'proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.displayName = 'proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.PeggyWithdrawalTx.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.PeggyWithdrawalTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.PeggyWithdrawalTx.displayName = 'proto.injective_explorer_rpc.PeggyWithdrawalTx';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.injective_explorer_rpc.GetIBCTransferTxsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetIBCTransferTxsRequest.displayName = 'proto.injective_explorer_rpc.GetIBCTransferTxsRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.GetIBCTransferTxsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.GetIBCTransferTxsResponse.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.GetIBCTransferTxsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.GetIBCTransferTxsResponse.displayName = 'proto.injective_explorer_rpc.GetIBCTransferTxsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.injective_explorer_rpc.IBCTransferTx = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.injective_explorer_rpc.IBCTransferTx.repeatedFields_, null);
};
goog.inherits(proto.injective_explorer_rpc.IBCTransferTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.injective_explorer_rpc.IBCTransferTx.displayName = 'proto.injective_explorer_rpc.IBCTransferTx';
}



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetAccountTxsRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetAccountTxsRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    address: jspb.Message.getFieldWithDefault(msg, 1, ""),
    before: jspb.Message.getFieldWithDefault(msg, 2, 0),
    after: jspb.Message.getFieldWithDefault(msg, 3, 0),
    limit: jspb.Message.getFieldWithDefault(msg, 4, 0),
    skip: jspb.Message.getFieldWithDefault(msg, 5, 0),
    type: jspb.Message.getFieldWithDefault(msg, 6, ""),
    module: jspb.Message.getFieldWithDefault(msg, 7, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetAccountTxsRequest}
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetAccountTxsRequest;
  return proto.injective_explorer_rpc.GetAccountTxsRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetAccountTxsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetAccountTxsRequest}
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setAddress(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setBefore(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setAfter(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readSint32());
      msg.setLimit(value);
      break;
    case 5:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSkip(value);
      break;
    case 6:
      var value = /** @type {string} */ (reader.readString());
      msg.setType(value);
      break;
    case 7:
      var value = /** @type {string} */ (reader.readString());
      msg.setModule(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetAccountTxsRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetAccountTxsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAddress();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getBefore();
  if (f !== 0) {
    writer.writeUint64(
      2,
      f
    );
  }
  f = message.getAfter();
  if (f !== 0) {
    writer.writeUint64(
      3,
      f
    );
  }
  f = message.getLimit();
  if (f !== 0) {
    writer.writeSint32(
      4,
      f
    );
  }
  f = message.getSkip();
  if (f !== 0) {
    writer.writeUint64(
      5,
      f
    );
  }
  f = message.getType();
  if (f.length > 0) {
    writer.writeString(
      6,
      f
    );
  }
  f = message.getModule();
  if (f.length > 0) {
    writer.writeString(
      7,
      f
    );
  }
};


/**
 * optional string address = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.getAddress = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetAccountTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.setAddress = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional uint64 before = 2;
 * @return {number}
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.getBefore = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetAccountTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.setBefore = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional uint64 after = 3;
 * @return {number}
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.getAfter = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetAccountTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.setAfter = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional sint32 limit = 4;
 * @return {number}
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.getLimit = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetAccountTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.setLimit = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};


/**
 * optional uint64 skip = 5;
 * @return {number}
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.getSkip = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetAccountTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.setSkip = function(value) {
  return jspb.Message.setProto3IntField(this, 5, value);
};


/**
 * optional string type = 6;
 * @return {string}
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.getType = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetAccountTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.setType = function(value) {
  return jspb.Message.setProto3StringField(this, 6, value);
};


/**
 * optional string module = 7;
 * @return {string}
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.getModule = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetAccountTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetAccountTxsRequest.prototype.setModule = function(value) {
  return jspb.Message.setProto3StringField(this, 7, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.GetAccountTxsResponse.repeatedFields_ = [2];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetAccountTxsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetAccountTxsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetAccountTxsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetAccountTxsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    paging: (f = msg.getPaging()) && proto.injective_explorer_rpc.Paging.toObject(includeInstance, f),
    dataList: jspb.Message.toObjectList(msg.getDataList(),
    proto.injective_explorer_rpc.TxData.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetAccountTxsResponse}
 */
proto.injective_explorer_rpc.GetAccountTxsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetAccountTxsResponse;
  return proto.injective_explorer_rpc.GetAccountTxsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetAccountTxsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetAccountTxsResponse}
 */
proto.injective_explorer_rpc.GetAccountTxsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.injective_explorer_rpc.Paging;
      reader.readMessage(value,proto.injective_explorer_rpc.Paging.deserializeBinaryFromReader);
      msg.setPaging(value);
      break;
    case 2:
      var value = new proto.injective_explorer_rpc.TxData;
      reader.readMessage(value,proto.injective_explorer_rpc.TxData.deserializeBinaryFromReader);
      msg.addData(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetAccountTxsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetAccountTxsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetAccountTxsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetAccountTxsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPaging();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.injective_explorer_rpc.Paging.serializeBinaryToWriter
    );
  }
  f = message.getDataList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.injective_explorer_rpc.TxData.serializeBinaryToWriter
    );
  }
};


/**
 * optional Paging paging = 1;
 * @return {?proto.injective_explorer_rpc.Paging}
 */
proto.injective_explorer_rpc.GetAccountTxsResponse.prototype.getPaging = function() {
  return /** @type{?proto.injective_explorer_rpc.Paging} */ (
    jspb.Message.getWrapperField(this, proto.injective_explorer_rpc.Paging, 1));
};


/**
 * @param {?proto.injective_explorer_rpc.Paging|undefined} value
 * @return {!proto.injective_explorer_rpc.GetAccountTxsResponse} returns this
*/
proto.injective_explorer_rpc.GetAccountTxsResponse.prototype.setPaging = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.injective_explorer_rpc.GetAccountTxsResponse} returns this
 */
proto.injective_explorer_rpc.GetAccountTxsResponse.prototype.clearPaging = function() {
  return this.setPaging(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.injective_explorer_rpc.GetAccountTxsResponse.prototype.hasPaging = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * repeated TxData data = 2;
 * @return {!Array<!proto.injective_explorer_rpc.TxData>}
 */
proto.injective_explorer_rpc.GetAccountTxsResponse.prototype.getDataList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.TxData>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.TxData, 2));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.TxData>} value
 * @return {!proto.injective_explorer_rpc.GetAccountTxsResponse} returns this
*/
proto.injective_explorer_rpc.GetAccountTxsResponse.prototype.setDataList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.injective_explorer_rpc.TxData=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.TxData}
 */
proto.injective_explorer_rpc.GetAccountTxsResponse.prototype.addData = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.injective_explorer_rpc.TxData, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.GetAccountTxsResponse} returns this
 */
proto.injective_explorer_rpc.GetAccountTxsResponse.prototype.clearDataList = function() {
  return this.setDataList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.Paging.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.Paging.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.Paging} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.Paging.toObject = function(includeInstance, msg) {
  var f, obj = {
    total: jspb.Message.getFieldWithDefault(msg, 1, 0),
    from: jspb.Message.getFieldWithDefault(msg, 2, 0),
    to: jspb.Message.getFieldWithDefault(msg, 3, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.Paging}
 */
proto.injective_explorer_rpc.Paging.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.Paging;
  return proto.injective_explorer_rpc.Paging.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.Paging} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.Paging}
 */
proto.injective_explorer_rpc.Paging.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readSint64());
      msg.setTotal(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readSint32());
      msg.setFrom(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readSint32());
      msg.setTo(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.Paging.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.Paging.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.Paging} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.Paging.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTotal();
  if (f !== 0) {
    writer.writeSint64(
      1,
      f
    );
  }
  f = message.getFrom();
  if (f !== 0) {
    writer.writeSint32(
      2,
      f
    );
  }
  f = message.getTo();
  if (f !== 0) {
    writer.writeSint32(
      3,
      f
    );
  }
};


/**
 * optional sint64 total = 1;
 * @return {number}
 */
proto.injective_explorer_rpc.Paging.prototype.getTotal = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.Paging} returns this
 */
proto.injective_explorer_rpc.Paging.prototype.setTotal = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};


/**
 * optional sint32 from = 2;
 * @return {number}
 */
proto.injective_explorer_rpc.Paging.prototype.getFrom = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.Paging} returns this
 */
proto.injective_explorer_rpc.Paging.prototype.setFrom = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional sint32 to = 3;
 * @return {number}
 */
proto.injective_explorer_rpc.Paging.prototype.getTo = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.Paging} returns this
 */
proto.injective_explorer_rpc.Paging.prototype.setTo = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.TxData.repeatedFields_ = [13,16];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.TxData.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.TxData.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.TxData} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.TxData.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    blockNumber: jspb.Message.getFieldWithDefault(msg, 2, 0),
    blockTimestamp: jspb.Message.getFieldWithDefault(msg, 3, ""),
    hash: jspb.Message.getFieldWithDefault(msg, 4, ""),
    code: jspb.Message.getFieldWithDefault(msg, 5, 0),
    data: msg.getData_asB64(),
    info: jspb.Message.getFieldWithDefault(msg, 8, ""),
    gasWanted: jspb.Message.getFieldWithDefault(msg, 9, 0),
    gasUsed: jspb.Message.getFieldWithDefault(msg, 10, 0),
    gasFee: (f = msg.getGasFee()) && proto.injective_explorer_rpc.GasFee.toObject(includeInstance, f),
    codespace: jspb.Message.getFieldWithDefault(msg, 12, ""),
    eventsList: jspb.Message.toObjectList(msg.getEventsList(),
    proto.injective_explorer_rpc.Event.toObject, includeInstance),
    txType: jspb.Message.getFieldWithDefault(msg, 14, ""),
    messages: jspb.Message.getFieldWithDefault(msg, 15, ""),
    signaturesList: jspb.Message.toObjectList(msg.getSignaturesList(),
    proto.injective_explorer_rpc.Signature.toObject, includeInstance),
    memo: jspb.Message.getFieldWithDefault(msg, 17, ""),
    txNumber: jspb.Message.getFieldWithDefault(msg, 18, 0),
    blockUnixTimestamp: jspb.Message.getFieldWithDefault(msg, 19, 0),
    errorLog: jspb.Message.getFieldWithDefault(msg, 20, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.TxData}
 */
proto.injective_explorer_rpc.TxData.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.TxData;
  return proto.injective_explorer_rpc.TxData.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.TxData} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.TxData}
 */
proto.injective_explorer_rpc.TxData.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setBlockNumber(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setBlockTimestamp(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setHash(value);
      break;
    case 5:
      var value = /** @type {number} */ (reader.readUint32());
      msg.setCode(value);
      break;
    case 6:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setData(value);
      break;
    case 8:
      var value = /** @type {string} */ (reader.readString());
      msg.setInfo(value);
      break;
    case 9:
      var value = /** @type {number} */ (reader.readSint64());
      msg.setGasWanted(value);
      break;
    case 10:
      var value = /** @type {number} */ (reader.readSint64());
      msg.setGasUsed(value);
      break;
    case 11:
      var value = new proto.injective_explorer_rpc.GasFee;
      reader.readMessage(value,proto.injective_explorer_rpc.GasFee.deserializeBinaryFromReader);
      msg.setGasFee(value);
      break;
    case 12:
      var value = /** @type {string} */ (reader.readString());
      msg.setCodespace(value);
      break;
    case 13:
      var value = new proto.injective_explorer_rpc.Event;
      reader.readMessage(value,proto.injective_explorer_rpc.Event.deserializeBinaryFromReader);
      msg.addEvents(value);
      break;
    case 14:
      var value = /** @type {string} */ (reader.readString());
      msg.setTxType(value);
      break;
    case 15:
      var value = /** @type {string} */ (reader.readString());
      msg.setMessages(value);
      break;
    case 16:
      var value = new proto.injective_explorer_rpc.Signature;
      reader.readMessage(value,proto.injective_explorer_rpc.Signature.deserializeBinaryFromReader);
      msg.addSignatures(value);
      break;
    case 17:
      var value = /** @type {string} */ (reader.readString());
      msg.setMemo(value);
      break;
    case 18:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setTxNumber(value);
      break;
    case 19:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setBlockUnixTimestamp(value);
      break;
    case 20:
      var value = /** @type {string} */ (reader.readString());
      msg.setErrorLog(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.TxData.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.TxData.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.TxData} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.TxData.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getBlockNumber();
  if (f !== 0) {
    writer.writeUint64(
      2,
      f
    );
  }
  f = message.getBlockTimestamp();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getHash();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getCode();
  if (f !== 0) {
    writer.writeUint32(
      5,
      f
    );
  }
  f = message.getData_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      6,
      f
    );
  }
  f = message.getInfo();
  if (f.length > 0) {
    writer.writeString(
      8,
      f
    );
  }
  f = message.getGasWanted();
  if (f !== 0) {
    writer.writeSint64(
      9,
      f
    );
  }
  f = message.getGasUsed();
  if (f !== 0) {
    writer.writeSint64(
      10,
      f
    );
  }
  f = message.getGasFee();
  if (f != null) {
    writer.writeMessage(
      11,
      f,
      proto.injective_explorer_rpc.GasFee.serializeBinaryToWriter
    );
  }
  f = message.getCodespace();
  if (f.length > 0) {
    writer.writeString(
      12,
      f
    );
  }
  f = message.getEventsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      13,
      f,
      proto.injective_explorer_rpc.Event.serializeBinaryToWriter
    );
  }
  f = message.getTxType();
  if (f.length > 0) {
    writer.writeString(
      14,
      f
    );
  }
  f = message.getMessages();
  if (f.length > 0) {
    writer.writeString(
      15,
      f
    );
  }
  f = message.getSignaturesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      16,
      f,
      proto.injective_explorer_rpc.Signature.serializeBinaryToWriter
    );
  }
  f = message.getMemo();
  if (f.length > 0) {
    writer.writeString(
      17,
      f
    );
  }
  f = message.getTxNumber();
  if (f !== 0) {
    writer.writeUint64(
      18,
      f
    );
  }
  f = message.getBlockUnixTimestamp();
  if (f !== 0) {
    writer.writeUint64(
      19,
      f
    );
  }
  f = message.getErrorLog();
  if (f.length > 0) {
    writer.writeString(
      20,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.TxData.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional uint64 block_number = 2;
 * @return {number}
 */
proto.injective_explorer_rpc.TxData.prototype.getBlockNumber = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setBlockNumber = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional string block_timestamp = 3;
 * @return {string}
 */
proto.injective_explorer_rpc.TxData.prototype.getBlockTimestamp = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setBlockTimestamp = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string hash = 4;
 * @return {string}
 */
proto.injective_explorer_rpc.TxData.prototype.getHash = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setHash = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional uint32 code = 5;
 * @return {number}
 */
proto.injective_explorer_rpc.TxData.prototype.getCode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setCode = function(value) {
  return jspb.Message.setProto3IntField(this, 5, value);
};


/**
 * optional bytes data = 6;
 * @return {!(string|Uint8Array)}
 */
proto.injective_explorer_rpc.TxData.prototype.getData = function() {
  return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * optional bytes data = 6;
 * This is a type-conversion wrapper around `getData()`
 * @return {string}
 */
proto.injective_explorer_rpc.TxData.prototype.getData_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getData()));
};


/**
 * optional bytes data = 6;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getData()`
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.TxData.prototype.getData_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getData()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setData = function(value) {
  return jspb.Message.setProto3BytesField(this, 6, value);
};


/**
 * optional string info = 8;
 * @return {string}
 */
proto.injective_explorer_rpc.TxData.prototype.getInfo = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setInfo = function(value) {
  return jspb.Message.setProto3StringField(this, 8, value);
};


/**
 * optional sint64 gas_wanted = 9;
 * @return {number}
 */
proto.injective_explorer_rpc.TxData.prototype.getGasWanted = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setGasWanted = function(value) {
  return jspb.Message.setProto3IntField(this, 9, value);
};


/**
 * optional sint64 gas_used = 10;
 * @return {number}
 */
proto.injective_explorer_rpc.TxData.prototype.getGasUsed = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setGasUsed = function(value) {
  return jspb.Message.setProto3IntField(this, 10, value);
};


/**
 * optional GasFee gas_fee = 11;
 * @return {?proto.injective_explorer_rpc.GasFee}
 */
proto.injective_explorer_rpc.TxData.prototype.getGasFee = function() {
  return /** @type{?proto.injective_explorer_rpc.GasFee} */ (
    jspb.Message.getWrapperField(this, proto.injective_explorer_rpc.GasFee, 11));
};


/**
 * @param {?proto.injective_explorer_rpc.GasFee|undefined} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
*/
proto.injective_explorer_rpc.TxData.prototype.setGasFee = function(value) {
  return jspb.Message.setWrapperField(this, 11, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.clearGasFee = function() {
  return this.setGasFee(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.injective_explorer_rpc.TxData.prototype.hasGasFee = function() {
  return jspb.Message.getField(this, 11) != null;
};


/**
 * optional string codespace = 12;
 * @return {string}
 */
proto.injective_explorer_rpc.TxData.prototype.getCodespace = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setCodespace = function(value) {
  return jspb.Message.setProto3StringField(this, 12, value);
};


/**
 * repeated Event events = 13;
 * @return {!Array<!proto.injective_explorer_rpc.Event>}
 */
proto.injective_explorer_rpc.TxData.prototype.getEventsList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.Event>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.Event, 13));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.Event>} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
*/
proto.injective_explorer_rpc.TxData.prototype.setEventsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 13, value);
};


/**
 * @param {!proto.injective_explorer_rpc.Event=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.Event}
 */
proto.injective_explorer_rpc.TxData.prototype.addEvents = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.injective_explorer_rpc.Event, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.clearEventsList = function() {
  return this.setEventsList([]);
};


/**
 * optional string tx_type = 14;
 * @return {string}
 */
proto.injective_explorer_rpc.TxData.prototype.getTxType = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setTxType = function(value) {
  return jspb.Message.setProto3StringField(this, 14, value);
};


/**
 * optional string messages = 15;
 * @return {string}
 */
proto.injective_explorer_rpc.TxData.prototype.getMessages = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setMessages = function(value) {
  return jspb.Message.setProto3StringField(this, 15, value);
};


/**
 * repeated Signature signatures = 16;
 * @return {!Array<!proto.injective_explorer_rpc.Signature>}
 */
proto.injective_explorer_rpc.TxData.prototype.getSignaturesList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.Signature>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.Signature, 16));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.Signature>} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
*/
proto.injective_explorer_rpc.TxData.prototype.setSignaturesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 16, value);
};


/**
 * @param {!proto.injective_explorer_rpc.Signature=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.Signature}
 */
proto.injective_explorer_rpc.TxData.prototype.addSignatures = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.injective_explorer_rpc.Signature, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.clearSignaturesList = function() {
  return this.setSignaturesList([]);
};


/**
 * optional string memo = 17;
 * @return {string}
 */
proto.injective_explorer_rpc.TxData.prototype.getMemo = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setMemo = function(value) {
  return jspb.Message.setProto3StringField(this, 17, value);
};


/**
 * optional uint64 tx_number = 18;
 * @return {number}
 */
proto.injective_explorer_rpc.TxData.prototype.getTxNumber = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setTxNumber = function(value) {
  return jspb.Message.setProto3IntField(this, 18, value);
};


/**
 * optional uint64 block_unix_timestamp = 19;
 * @return {number}
 */
proto.injective_explorer_rpc.TxData.prototype.getBlockUnixTimestamp = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setBlockUnixTimestamp = function(value) {
  return jspb.Message.setProto3IntField(this, 19, value);
};


/**
 * optional string error_log = 20;
 * @return {string}
 */
proto.injective_explorer_rpc.TxData.prototype.getErrorLog = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.TxData} returns this
 */
proto.injective_explorer_rpc.TxData.prototype.setErrorLog = function(value) {
  return jspb.Message.setProto3StringField(this, 20, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.GasFee.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GasFee.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GasFee.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GasFee} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GasFee.toObject = function(includeInstance, msg) {
  var f, obj = {
    amountList: jspb.Message.toObjectList(msg.getAmountList(),
    proto.injective_explorer_rpc.CosmosCoin.toObject, includeInstance),
    gasLimit: jspb.Message.getFieldWithDefault(msg, 2, 0),
    payer: jspb.Message.getFieldWithDefault(msg, 3, ""),
    granter: jspb.Message.getFieldWithDefault(msg, 4, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GasFee}
 */
proto.injective_explorer_rpc.GasFee.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GasFee;
  return proto.injective_explorer_rpc.GasFee.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GasFee} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GasFee}
 */
proto.injective_explorer_rpc.GasFee.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.injective_explorer_rpc.CosmosCoin;
      reader.readMessage(value,proto.injective_explorer_rpc.CosmosCoin.deserializeBinaryFromReader);
      msg.addAmount(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setGasLimit(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setPayer(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setGranter(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GasFee.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GasFee.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GasFee} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GasFee.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAmountList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.injective_explorer_rpc.CosmosCoin.serializeBinaryToWriter
    );
  }
  f = message.getGasLimit();
  if (f !== 0) {
    writer.writeUint64(
      2,
      f
    );
  }
  f = message.getPayer();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getGranter();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
};


/**
 * repeated CosmosCoin amount = 1;
 * @return {!Array<!proto.injective_explorer_rpc.CosmosCoin>}
 */
proto.injective_explorer_rpc.GasFee.prototype.getAmountList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.CosmosCoin>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.CosmosCoin, 1));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.CosmosCoin>} value
 * @return {!proto.injective_explorer_rpc.GasFee} returns this
*/
proto.injective_explorer_rpc.GasFee.prototype.setAmountList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.injective_explorer_rpc.CosmosCoin=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.CosmosCoin}
 */
proto.injective_explorer_rpc.GasFee.prototype.addAmount = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.injective_explorer_rpc.CosmosCoin, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.GasFee} returns this
 */
proto.injective_explorer_rpc.GasFee.prototype.clearAmountList = function() {
  return this.setAmountList([]);
};


/**
 * optional uint64 gas_limit = 2;
 * @return {number}
 */
proto.injective_explorer_rpc.GasFee.prototype.getGasLimit = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GasFee} returns this
 */
proto.injective_explorer_rpc.GasFee.prototype.setGasLimit = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional string payer = 3;
 * @return {string}
 */
proto.injective_explorer_rpc.GasFee.prototype.getPayer = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GasFee} returns this
 */
proto.injective_explorer_rpc.GasFee.prototype.setPayer = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string granter = 4;
 * @return {string}
 */
proto.injective_explorer_rpc.GasFee.prototype.getGranter = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GasFee} returns this
 */
proto.injective_explorer_rpc.GasFee.prototype.setGranter = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.CosmosCoin.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.CosmosCoin.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.CosmosCoin} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.CosmosCoin.toObject = function(includeInstance, msg) {
  var f, obj = {
    denom: jspb.Message.getFieldWithDefault(msg, 1, ""),
    amount: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.CosmosCoin}
 */
proto.injective_explorer_rpc.CosmosCoin.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.CosmosCoin;
  return proto.injective_explorer_rpc.CosmosCoin.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.CosmosCoin} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.CosmosCoin}
 */
proto.injective_explorer_rpc.CosmosCoin.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setDenom(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setAmount(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.CosmosCoin.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.CosmosCoin.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.CosmosCoin} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.CosmosCoin.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDenom();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getAmount();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional string denom = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.CosmosCoin.prototype.getDenom = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.CosmosCoin} returns this
 */
proto.injective_explorer_rpc.CosmosCoin.prototype.setDenom = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string amount = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.CosmosCoin.prototype.getAmount = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.CosmosCoin} returns this
 */
proto.injective_explorer_rpc.CosmosCoin.prototype.setAmount = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.Event.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.Event.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.Event} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.Event.toObject = function(includeInstance, msg) {
  var f, obj = {
    type: jspb.Message.getFieldWithDefault(msg, 1, ""),
    attributesMap: (f = msg.getAttributesMap()) ? f.toObject(includeInstance, undefined) : []
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.Event}
 */
proto.injective_explorer_rpc.Event.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.Event;
  return proto.injective_explorer_rpc.Event.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.Event} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.Event}
 */
proto.injective_explorer_rpc.Event.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setType(value);
      break;
    case 2:
      var value = msg.getAttributesMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.Event.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.Event.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.Event} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.Event.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getType();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getAttributesMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
};


/**
 * optional string type = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.Event.prototype.getType = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.Event} returns this
 */
proto.injective_explorer_rpc.Event.prototype.setType = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * map<string, string> attributes = 2;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.injective_explorer_rpc.Event.prototype.getAttributesMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 2, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.injective_explorer_rpc.Event} returns this
 */
proto.injective_explorer_rpc.Event.prototype.clearAttributesMap = function() {
  this.getAttributesMap().clear();
  return this;};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.Signature.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.Signature.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.Signature} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.Signature.toObject = function(includeInstance, msg) {
  var f, obj = {
    pubkey: jspb.Message.getFieldWithDefault(msg, 1, ""),
    address: jspb.Message.getFieldWithDefault(msg, 2, ""),
    sequence: jspb.Message.getFieldWithDefault(msg, 3, 0),
    signature: jspb.Message.getFieldWithDefault(msg, 4, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.Signature}
 */
proto.injective_explorer_rpc.Signature.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.Signature;
  return proto.injective_explorer_rpc.Signature.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.Signature} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.Signature}
 */
proto.injective_explorer_rpc.Signature.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setPubkey(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setAddress(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSequence(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setSignature(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.Signature.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.Signature.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.Signature} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.Signature.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPubkey();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getAddress();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getSequence();
  if (f !== 0) {
    writer.writeUint64(
      3,
      f
    );
  }
  f = message.getSignature();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
};


/**
 * optional string pubkey = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.Signature.prototype.getPubkey = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.Signature} returns this
 */
proto.injective_explorer_rpc.Signature.prototype.setPubkey = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string address = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.Signature.prototype.getAddress = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.Signature} returns this
 */
proto.injective_explorer_rpc.Signature.prototype.setAddress = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional uint64 sequence = 3;
 * @return {number}
 */
proto.injective_explorer_rpc.Signature.prototype.getSequence = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.Signature} returns this
 */
proto.injective_explorer_rpc.Signature.prototype.setSequence = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional string signature = 4;
 * @return {string}
 */
proto.injective_explorer_rpc.Signature.prototype.getSignature = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.Signature} returns this
 */
proto.injective_explorer_rpc.Signature.prototype.setSignature = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetBlocksRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetBlocksRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetBlocksRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetBlocksRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    before: jspb.Message.getFieldWithDefault(msg, 1, 0),
    after: jspb.Message.getFieldWithDefault(msg, 2, 0),
    limit: jspb.Message.getFieldWithDefault(msg, 3, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetBlocksRequest}
 */
proto.injective_explorer_rpc.GetBlocksRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetBlocksRequest;
  return proto.injective_explorer_rpc.GetBlocksRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetBlocksRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetBlocksRequest}
 */
proto.injective_explorer_rpc.GetBlocksRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setBefore(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setAfter(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readSint32());
      msg.setLimit(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetBlocksRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetBlocksRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetBlocksRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetBlocksRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getBefore();
  if (f !== 0) {
    writer.writeUint64(
      1,
      f
    );
  }
  f = message.getAfter();
  if (f !== 0) {
    writer.writeUint64(
      2,
      f
    );
  }
  f = message.getLimit();
  if (f !== 0) {
    writer.writeSint32(
      3,
      f
    );
  }
};


/**
 * optional uint64 before = 1;
 * @return {number}
 */
proto.injective_explorer_rpc.GetBlocksRequest.prototype.getBefore = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetBlocksRequest} returns this
 */
proto.injective_explorer_rpc.GetBlocksRequest.prototype.setBefore = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};


/**
 * optional uint64 after = 2;
 * @return {number}
 */
proto.injective_explorer_rpc.GetBlocksRequest.prototype.getAfter = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetBlocksRequest} returns this
 */
proto.injective_explorer_rpc.GetBlocksRequest.prototype.setAfter = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional sint32 limit = 3;
 * @return {number}
 */
proto.injective_explorer_rpc.GetBlocksRequest.prototype.getLimit = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetBlocksRequest} returns this
 */
proto.injective_explorer_rpc.GetBlocksRequest.prototype.setLimit = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.GetBlocksResponse.repeatedFields_ = [2];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetBlocksResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetBlocksResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetBlocksResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetBlocksResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    paging: (f = msg.getPaging()) && proto.injective_explorer_rpc.Paging.toObject(includeInstance, f),
    dataList: jspb.Message.toObjectList(msg.getDataList(),
    proto.injective_explorer_rpc.BlockInfo.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetBlocksResponse}
 */
proto.injective_explorer_rpc.GetBlocksResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetBlocksResponse;
  return proto.injective_explorer_rpc.GetBlocksResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetBlocksResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetBlocksResponse}
 */
proto.injective_explorer_rpc.GetBlocksResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.injective_explorer_rpc.Paging;
      reader.readMessage(value,proto.injective_explorer_rpc.Paging.deserializeBinaryFromReader);
      msg.setPaging(value);
      break;
    case 2:
      var value = new proto.injective_explorer_rpc.BlockInfo;
      reader.readMessage(value,proto.injective_explorer_rpc.BlockInfo.deserializeBinaryFromReader);
      msg.addData(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetBlocksResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetBlocksResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetBlocksResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetBlocksResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPaging();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.injective_explorer_rpc.Paging.serializeBinaryToWriter
    );
  }
  f = message.getDataList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.injective_explorer_rpc.BlockInfo.serializeBinaryToWriter
    );
  }
};


/**
 * optional Paging paging = 1;
 * @return {?proto.injective_explorer_rpc.Paging}
 */
proto.injective_explorer_rpc.GetBlocksResponse.prototype.getPaging = function() {
  return /** @type{?proto.injective_explorer_rpc.Paging} */ (
    jspb.Message.getWrapperField(this, proto.injective_explorer_rpc.Paging, 1));
};


/**
 * @param {?proto.injective_explorer_rpc.Paging|undefined} value
 * @return {!proto.injective_explorer_rpc.GetBlocksResponse} returns this
*/
proto.injective_explorer_rpc.GetBlocksResponse.prototype.setPaging = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.injective_explorer_rpc.GetBlocksResponse} returns this
 */
proto.injective_explorer_rpc.GetBlocksResponse.prototype.clearPaging = function() {
  return this.setPaging(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.injective_explorer_rpc.GetBlocksResponse.prototype.hasPaging = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * repeated BlockInfo data = 2;
 * @return {!Array<!proto.injective_explorer_rpc.BlockInfo>}
 */
proto.injective_explorer_rpc.GetBlocksResponse.prototype.getDataList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.BlockInfo>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.BlockInfo, 2));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.BlockInfo>} value
 * @return {!proto.injective_explorer_rpc.GetBlocksResponse} returns this
*/
proto.injective_explorer_rpc.GetBlocksResponse.prototype.setDataList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.injective_explorer_rpc.BlockInfo=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.BlockInfo}
 */
proto.injective_explorer_rpc.GetBlocksResponse.prototype.addData = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.injective_explorer_rpc.BlockInfo, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.GetBlocksResponse} returns this
 */
proto.injective_explorer_rpc.GetBlocksResponse.prototype.clearDataList = function() {
  return this.setDataList([]);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.BlockInfo.repeatedFields_ = [8];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.BlockInfo.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.BlockInfo.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.BlockInfo} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.BlockInfo.toObject = function(includeInstance, msg) {
  var f, obj = {
    height: jspb.Message.getFieldWithDefault(msg, 1, 0),
    proposer: jspb.Message.getFieldWithDefault(msg, 2, ""),
    moniker: jspb.Message.getFieldWithDefault(msg, 3, ""),
    blockHash: jspb.Message.getFieldWithDefault(msg, 4, ""),
    parentHash: jspb.Message.getFieldWithDefault(msg, 5, ""),
    numPreCommits: jspb.Message.getFieldWithDefault(msg, 6, 0),
    numTxs: jspb.Message.getFieldWithDefault(msg, 7, 0),
    txsList: jspb.Message.toObjectList(msg.getTxsList(),
    proto.injective_explorer_rpc.TxData.toObject, includeInstance),
    timestamp: jspb.Message.getFieldWithDefault(msg, 9, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.BlockInfo}
 */
proto.injective_explorer_rpc.BlockInfo.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.BlockInfo;
  return proto.injective_explorer_rpc.BlockInfo.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.BlockInfo} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.BlockInfo}
 */
proto.injective_explorer_rpc.BlockInfo.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setHeight(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setProposer(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setMoniker(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setBlockHash(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setParentHash(value);
      break;
    case 6:
      var value = /** @type {number} */ (reader.readSint64());
      msg.setNumPreCommits(value);
      break;
    case 7:
      var value = /** @type {number} */ (reader.readSint64());
      msg.setNumTxs(value);
      break;
    case 8:
      var value = new proto.injective_explorer_rpc.TxData;
      reader.readMessage(value,proto.injective_explorer_rpc.TxData.deserializeBinaryFromReader);
      msg.addTxs(value);
      break;
    case 9:
      var value = /** @type {string} */ (reader.readString());
      msg.setTimestamp(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.BlockInfo.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.BlockInfo.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.BlockInfo} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.BlockInfo.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHeight();
  if (f !== 0) {
    writer.writeUint64(
      1,
      f
    );
  }
  f = message.getProposer();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getMoniker();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getBlockHash();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getParentHash();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getNumPreCommits();
  if (f !== 0) {
    writer.writeSint64(
      6,
      f
    );
  }
  f = message.getNumTxs();
  if (f !== 0) {
    writer.writeSint64(
      7,
      f
    );
  }
  f = message.getTxsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      8,
      f,
      proto.injective_explorer_rpc.TxData.serializeBinaryToWriter
    );
  }
  f = message.getTimestamp();
  if (f.length > 0) {
    writer.writeString(
      9,
      f
    );
  }
};


/**
 * optional uint64 height = 1;
 * @return {number}
 */
proto.injective_explorer_rpc.BlockInfo.prototype.getHeight = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.BlockInfo} returns this
 */
proto.injective_explorer_rpc.BlockInfo.prototype.setHeight = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};


/**
 * optional string proposer = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.BlockInfo.prototype.getProposer = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.BlockInfo} returns this
 */
proto.injective_explorer_rpc.BlockInfo.prototype.setProposer = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string moniker = 3;
 * @return {string}
 */
proto.injective_explorer_rpc.BlockInfo.prototype.getMoniker = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.BlockInfo} returns this
 */
proto.injective_explorer_rpc.BlockInfo.prototype.setMoniker = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string block_hash = 4;
 * @return {string}
 */
proto.injective_explorer_rpc.BlockInfo.prototype.getBlockHash = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.BlockInfo} returns this
 */
proto.injective_explorer_rpc.BlockInfo.prototype.setBlockHash = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional string parent_hash = 5;
 * @return {string}
 */
proto.injective_explorer_rpc.BlockInfo.prototype.getParentHash = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.BlockInfo} returns this
 */
proto.injective_explorer_rpc.BlockInfo.prototype.setParentHash = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional sint64 num_pre_commits = 6;
 * @return {number}
 */
proto.injective_explorer_rpc.BlockInfo.prototype.getNumPreCommits = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.BlockInfo} returns this
 */
proto.injective_explorer_rpc.BlockInfo.prototype.setNumPreCommits = function(value) {
  return jspb.Message.setProto3IntField(this, 6, value);
};


/**
 * optional sint64 num_txs = 7;
 * @return {number}
 */
proto.injective_explorer_rpc.BlockInfo.prototype.getNumTxs = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.BlockInfo} returns this
 */
proto.injective_explorer_rpc.BlockInfo.prototype.setNumTxs = function(value) {
  return jspb.Message.setProto3IntField(this, 7, value);
};


/**
 * repeated TxData txs = 8;
 * @return {!Array<!proto.injective_explorer_rpc.TxData>}
 */
proto.injective_explorer_rpc.BlockInfo.prototype.getTxsList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.TxData>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.TxData, 8));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.TxData>} value
 * @return {!proto.injective_explorer_rpc.BlockInfo} returns this
*/
proto.injective_explorer_rpc.BlockInfo.prototype.setTxsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 8, value);
};


/**
 * @param {!proto.injective_explorer_rpc.TxData=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.TxData}
 */
proto.injective_explorer_rpc.BlockInfo.prototype.addTxs = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.injective_explorer_rpc.TxData, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.BlockInfo} returns this
 */
proto.injective_explorer_rpc.BlockInfo.prototype.clearTxsList = function() {
  return this.setTxsList([]);
};


/**
 * optional string timestamp = 9;
 * @return {string}
 */
proto.injective_explorer_rpc.BlockInfo.prototype.getTimestamp = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.BlockInfo} returns this
 */
proto.injective_explorer_rpc.BlockInfo.prototype.setTimestamp = function(value) {
  return jspb.Message.setProto3StringField(this, 9, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetBlockRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetBlockRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetBlockRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetBlockRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetBlockRequest}
 */
proto.injective_explorer_rpc.GetBlockRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetBlockRequest;
  return proto.injective_explorer_rpc.GetBlockRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetBlockRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetBlockRequest}
 */
proto.injective_explorer_rpc.GetBlockRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetBlockRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetBlockRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetBlockRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetBlockRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.GetBlockRequest.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetBlockRequest} returns this
 */
proto.injective_explorer_rpc.GetBlockRequest.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.GetBlockResponse.repeatedFields_ = [8];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetBlockResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetBlockResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetBlockResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    height: jspb.Message.getFieldWithDefault(msg, 1, 0),
    proposer: jspb.Message.getFieldWithDefault(msg, 2, ""),
    moniker: jspb.Message.getFieldWithDefault(msg, 3, ""),
    blockHash: jspb.Message.getFieldWithDefault(msg, 4, ""),
    parentHash: jspb.Message.getFieldWithDefault(msg, 5, ""),
    numPreCommits: jspb.Message.getFieldWithDefault(msg, 6, 0),
    numTxs: jspb.Message.getFieldWithDefault(msg, 7, 0),
    txsList: jspb.Message.toObjectList(msg.getTxsList(),
    proto.injective_explorer_rpc.TxData.toObject, includeInstance),
    timestamp: jspb.Message.getFieldWithDefault(msg, 9, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetBlockResponse}
 */
proto.injective_explorer_rpc.GetBlockResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetBlockResponse;
  return proto.injective_explorer_rpc.GetBlockResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetBlockResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetBlockResponse}
 */
proto.injective_explorer_rpc.GetBlockResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setHeight(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setProposer(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setMoniker(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setBlockHash(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setParentHash(value);
      break;
    case 6:
      var value = /** @type {number} */ (reader.readSint64());
      msg.setNumPreCommits(value);
      break;
    case 7:
      var value = /** @type {number} */ (reader.readSint64());
      msg.setNumTxs(value);
      break;
    case 8:
      var value = new proto.injective_explorer_rpc.TxData;
      reader.readMessage(value,proto.injective_explorer_rpc.TxData.deserializeBinaryFromReader);
      msg.addTxs(value);
      break;
    case 9:
      var value = /** @type {string} */ (reader.readString());
      msg.setTimestamp(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetBlockResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetBlockResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetBlockResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHeight();
  if (f !== 0) {
    writer.writeUint64(
      1,
      f
    );
  }
  f = message.getProposer();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getMoniker();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getBlockHash();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getParentHash();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getNumPreCommits();
  if (f !== 0) {
    writer.writeSint64(
      6,
      f
    );
  }
  f = message.getNumTxs();
  if (f !== 0) {
    writer.writeSint64(
      7,
      f
    );
  }
  f = message.getTxsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      8,
      f,
      proto.injective_explorer_rpc.TxData.serializeBinaryToWriter
    );
  }
  f = message.getTimestamp();
  if (f.length > 0) {
    writer.writeString(
      9,
      f
    );
  }
};


/**
 * optional uint64 height = 1;
 * @return {number}
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.getHeight = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetBlockResponse} returns this
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.setHeight = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};


/**
 * optional string proposer = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.getProposer = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetBlockResponse} returns this
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.setProposer = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string moniker = 3;
 * @return {string}
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.getMoniker = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetBlockResponse} returns this
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.setMoniker = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string block_hash = 4;
 * @return {string}
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.getBlockHash = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetBlockResponse} returns this
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.setBlockHash = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional string parent_hash = 5;
 * @return {string}
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.getParentHash = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetBlockResponse} returns this
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.setParentHash = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional sint64 num_pre_commits = 6;
 * @return {number}
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.getNumPreCommits = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetBlockResponse} returns this
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.setNumPreCommits = function(value) {
  return jspb.Message.setProto3IntField(this, 6, value);
};


/**
 * optional sint64 num_txs = 7;
 * @return {number}
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.getNumTxs = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetBlockResponse} returns this
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.setNumTxs = function(value) {
  return jspb.Message.setProto3IntField(this, 7, value);
};


/**
 * repeated TxData txs = 8;
 * @return {!Array<!proto.injective_explorer_rpc.TxData>}
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.getTxsList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.TxData>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.TxData, 8));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.TxData>} value
 * @return {!proto.injective_explorer_rpc.GetBlockResponse} returns this
*/
proto.injective_explorer_rpc.GetBlockResponse.prototype.setTxsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 8, value);
};


/**
 * @param {!proto.injective_explorer_rpc.TxData=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.TxData}
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.addTxs = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.injective_explorer_rpc.TxData, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.GetBlockResponse} returns this
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.clearTxsList = function() {
  return this.setTxsList([]);
};


/**
 * optional string timestamp = 9;
 * @return {string}
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.getTimestamp = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetBlockResponse} returns this
 */
proto.injective_explorer_rpc.GetBlockResponse.prototype.setTimestamp = function(value) {
  return jspb.Message.setProto3StringField(this, 9, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetValidatorRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetValidatorRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetValidatorRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetValidatorRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    address: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetValidatorRequest}
 */
proto.injective_explorer_rpc.GetValidatorRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetValidatorRequest;
  return proto.injective_explorer_rpc.GetValidatorRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetValidatorRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetValidatorRequest}
 */
proto.injective_explorer_rpc.GetValidatorRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setAddress(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetValidatorRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetValidatorRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetValidatorRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetValidatorRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAddress();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string address = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.GetValidatorRequest.prototype.getAddress = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetValidatorRequest} returns this
 */
proto.injective_explorer_rpc.GetValidatorRequest.prototype.setAddress = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.GetValidatorResponse.repeatedFields_ = [20,21];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetValidatorResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetValidatorResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetValidatorResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    moniker: jspb.Message.getFieldWithDefault(msg, 2, ""),
    operatorAddress: jspb.Message.getFieldWithDefault(msg, 3, ""),
    consensusAddress: jspb.Message.getFieldWithDefault(msg, 4, ""),
    jailed: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
    status: jspb.Message.getFieldWithDefault(msg, 6, 0),
    tokens: jspb.Message.getFieldWithDefault(msg, 7, ""),
    delegatorShares: jspb.Message.getFieldWithDefault(msg, 8, ""),
    description: (f = msg.getDescription()) && proto.injective_explorer_rpc.ValidatorDescription.toObject(includeInstance, f),
    unbondingHeight: jspb.Message.getFieldWithDefault(msg, 10, 0),
    unbondingTime: jspb.Message.getFieldWithDefault(msg, 11, ""),
    commissionRate: jspb.Message.getFieldWithDefault(msg, 12, ""),
    commissionMaxRate: jspb.Message.getFieldWithDefault(msg, 13, ""),
    commissionMaxChangeRate: jspb.Message.getFieldWithDefault(msg, 14, ""),
    commissionUpdateTime: jspb.Message.getFieldWithDefault(msg, 15, ""),
    proposed: jspb.Message.getFieldWithDefault(msg, 16, 0),
    signed: jspb.Message.getFieldWithDefault(msg, 17, 0),
    missed: jspb.Message.getFieldWithDefault(msg, 18, 0),
    timestamp: jspb.Message.getFieldWithDefault(msg, 19, ""),
    uptimesList: jspb.Message.toObjectList(msg.getUptimesList(),
    proto.injective_explorer_rpc.ValidatorUptime.toObject, includeInstance),
    slashingEventsList: jspb.Message.toObjectList(msg.getSlashingEventsList(),
    proto.injective_explorer_rpc.SlashingEvent.toObject, includeInstance),
    uptimePercentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 22, 0.0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse}
 */
proto.injective_explorer_rpc.GetValidatorResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetValidatorResponse;
  return proto.injective_explorer_rpc.GetValidatorResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetValidatorResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse}
 */
proto.injective_explorer_rpc.GetValidatorResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setMoniker(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setOperatorAddress(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setConsensusAddress(value);
      break;
    case 5:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setJailed(value);
      break;
    case 6:
      var value = /** @type {number} */ (reader.readSint32());
      msg.setStatus(value);
      break;
    case 7:
      var value = /** @type {string} */ (reader.readString());
      msg.setTokens(value);
      break;
    case 8:
      var value = /** @type {string} */ (reader.readString());
      msg.setDelegatorShares(value);
      break;
    case 9:
      var value = new proto.injective_explorer_rpc.ValidatorDescription;
      reader.readMessage(value,proto.injective_explorer_rpc.ValidatorDescription.deserializeBinaryFromReader);
      msg.setDescription(value);
      break;
    case 10:
      var value = /** @type {number} */ (reader.readSint64());
      msg.setUnbondingHeight(value);
      break;
    case 11:
      var value = /** @type {string} */ (reader.readString());
      msg.setUnbondingTime(value);
      break;
    case 12:
      var value = /** @type {string} */ (reader.readString());
      msg.setCommissionRate(value);
      break;
    case 13:
      var value = /** @type {string} */ (reader.readString());
      msg.setCommissionMaxRate(value);
      break;
    case 14:
      var value = /** @type {string} */ (reader.readString());
      msg.setCommissionMaxChangeRate(value);
      break;
    case 15:
      var value = /** @type {string} */ (reader.readString());
      msg.setCommissionUpdateTime(value);
      break;
    case 16:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setProposed(value);
      break;
    case 17:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSigned(value);
      break;
    case 18:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setMissed(value);
      break;
    case 19:
      var value = /** @type {string} */ (reader.readString());
      msg.setTimestamp(value);
      break;
    case 20:
      var value = new proto.injective_explorer_rpc.ValidatorUptime;
      reader.readMessage(value,proto.injective_explorer_rpc.ValidatorUptime.deserializeBinaryFromReader);
      msg.addUptimes(value);
      break;
    case 21:
      var value = new proto.injective_explorer_rpc.SlashingEvent;
      reader.readMessage(value,proto.injective_explorer_rpc.SlashingEvent.deserializeBinaryFromReader);
      msg.addSlashingEvents(value);
      break;
    case 22:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setUptimePercentage(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetValidatorResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetValidatorResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetValidatorResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getMoniker();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getOperatorAddress();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getConsensusAddress();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getJailed();
  if (f) {
    writer.writeBool(
      5,
      f
    );
  }
  f = message.getStatus();
  if (f !== 0) {
    writer.writeSint32(
      6,
      f
    );
  }
  f = message.getTokens();
  if (f.length > 0) {
    writer.writeString(
      7,
      f
    );
  }
  f = message.getDelegatorShares();
  if (f.length > 0) {
    writer.writeString(
      8,
      f
    );
  }
  f = message.getDescription();
  if (f != null) {
    writer.writeMessage(
      9,
      f,
      proto.injective_explorer_rpc.ValidatorDescription.serializeBinaryToWriter
    );
  }
  f = message.getUnbondingHeight();
  if (f !== 0) {
    writer.writeSint64(
      10,
      f
    );
  }
  f = message.getUnbondingTime();
  if (f.length > 0) {
    writer.writeString(
      11,
      f
    );
  }
  f = message.getCommissionRate();
  if (f.length > 0) {
    writer.writeString(
      12,
      f
    );
  }
  f = message.getCommissionMaxRate();
  if (f.length > 0) {
    writer.writeString(
      13,
      f
    );
  }
  f = message.getCommissionMaxChangeRate();
  if (f.length > 0) {
    writer.writeString(
      14,
      f
    );
  }
  f = message.getCommissionUpdateTime();
  if (f.length > 0) {
    writer.writeString(
      15,
      f
    );
  }
  f = message.getProposed();
  if (f !== 0) {
    writer.writeUint64(
      16,
      f
    );
  }
  f = message.getSigned();
  if (f !== 0) {
    writer.writeUint64(
      17,
      f
    );
  }
  f = message.getMissed();
  if (f !== 0) {
    writer.writeUint64(
      18,
      f
    );
  }
  f = message.getTimestamp();
  if (f.length > 0) {
    writer.writeString(
      19,
      f
    );
  }
  f = message.getUptimesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      20,
      f,
      proto.injective_explorer_rpc.ValidatorUptime.serializeBinaryToWriter
    );
  }
  f = message.getSlashingEventsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      21,
      f,
      proto.injective_explorer_rpc.SlashingEvent.serializeBinaryToWriter
    );
  }
  f = message.getUptimePercentage();
  if (f !== 0.0) {
    writer.writeDouble(
      22,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string moniker = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getMoniker = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setMoniker = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string operator_address = 3;
 * @return {string}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getOperatorAddress = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setOperatorAddress = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string consensus_address = 4;
 * @return {string}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getConsensusAddress = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setConsensusAddress = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional bool jailed = 5;
 * @return {boolean}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getJailed = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};


/**
 * @param {boolean} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setJailed = function(value) {
  return jspb.Message.setProto3BooleanField(this, 5, value);
};


/**
 * optional sint32 status = 6;
 * @return {number}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getStatus = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setStatus = function(value) {
  return jspb.Message.setProto3IntField(this, 6, value);
};


/**
 * optional string tokens = 7;
 * @return {string}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getTokens = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setTokens = function(value) {
  return jspb.Message.setProto3StringField(this, 7, value);
};


/**
 * optional string delegator_shares = 8;
 * @return {string}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getDelegatorShares = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setDelegatorShares = function(value) {
  return jspb.Message.setProto3StringField(this, 8, value);
};


/**
 * optional ValidatorDescription description = 9;
 * @return {?proto.injective_explorer_rpc.ValidatorDescription}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getDescription = function() {
  return /** @type{?proto.injective_explorer_rpc.ValidatorDescription} */ (
    jspb.Message.getWrapperField(this, proto.injective_explorer_rpc.ValidatorDescription, 9));
};


/**
 * @param {?proto.injective_explorer_rpc.ValidatorDescription|undefined} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
*/
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setDescription = function(value) {
  return jspb.Message.setWrapperField(this, 9, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.clearDescription = function() {
  return this.setDescription(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.hasDescription = function() {
  return jspb.Message.getField(this, 9) != null;
};


/**
 * optional sint64 unbonding_height = 10;
 * @return {number}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getUnbondingHeight = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setUnbondingHeight = function(value) {
  return jspb.Message.setProto3IntField(this, 10, value);
};


/**
 * optional string unbonding_time = 11;
 * @return {string}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getUnbondingTime = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setUnbondingTime = function(value) {
  return jspb.Message.setProto3StringField(this, 11, value);
};


/**
 * optional string commission_rate = 12;
 * @return {string}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getCommissionRate = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setCommissionRate = function(value) {
  return jspb.Message.setProto3StringField(this, 12, value);
};


/**
 * optional string commission_max_rate = 13;
 * @return {string}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getCommissionMaxRate = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setCommissionMaxRate = function(value) {
  return jspb.Message.setProto3StringField(this, 13, value);
};


/**
 * optional string commission_max_change_rate = 14;
 * @return {string}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getCommissionMaxChangeRate = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setCommissionMaxChangeRate = function(value) {
  return jspb.Message.setProto3StringField(this, 14, value);
};


/**
 * optional string commission_update_time = 15;
 * @return {string}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getCommissionUpdateTime = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setCommissionUpdateTime = function(value) {
  return jspb.Message.setProto3StringField(this, 15, value);
};


/**
 * optional uint64 proposed = 16;
 * @return {number}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getProposed = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setProposed = function(value) {
  return jspb.Message.setProto3IntField(this, 16, value);
};


/**
 * optional uint64 signed = 17;
 * @return {number}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getSigned = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setSigned = function(value) {
  return jspb.Message.setProto3IntField(this, 17, value);
};


/**
 * optional uint64 missed = 18;
 * @return {number}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getMissed = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setMissed = function(value) {
  return jspb.Message.setProto3IntField(this, 18, value);
};


/**
 * optional string timestamp = 19;
 * @return {string}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getTimestamp = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setTimestamp = function(value) {
  return jspb.Message.setProto3StringField(this, 19, value);
};


/**
 * repeated ValidatorUptime uptimes = 20;
 * @return {!Array<!proto.injective_explorer_rpc.ValidatorUptime>}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getUptimesList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.ValidatorUptime>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.ValidatorUptime, 20));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.ValidatorUptime>} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
*/
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setUptimesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 20, value);
};


/**
 * @param {!proto.injective_explorer_rpc.ValidatorUptime=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.ValidatorUptime}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.addUptimes = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.injective_explorer_rpc.ValidatorUptime, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.clearUptimesList = function() {
  return this.setUptimesList([]);
};


/**
 * repeated SlashingEvent slashing_events = 21;
 * @return {!Array<!proto.injective_explorer_rpc.SlashingEvent>}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getSlashingEventsList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.SlashingEvent>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.SlashingEvent, 21));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.SlashingEvent>} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
*/
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setSlashingEventsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 21, value);
};


/**
 * @param {!proto.injective_explorer_rpc.SlashingEvent=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.SlashingEvent}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.addSlashingEvents = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 21, opt_value, proto.injective_explorer_rpc.SlashingEvent, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.clearSlashingEventsList = function() {
  return this.setSlashingEventsList([]);
};


/**
 * optional double uptime_percentage = 22;
 * @return {number}
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.getUptimePercentage = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 22, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetValidatorResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorResponse.prototype.setUptimePercentage = function(value) {
  return jspb.Message.setProto3FloatField(this, 22, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.ValidatorDescription.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.ValidatorDescription.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.ValidatorDescription} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.ValidatorDescription.toObject = function(includeInstance, msg) {
  var f, obj = {
    moniker: jspb.Message.getFieldWithDefault(msg, 1, ""),
    identity: jspb.Message.getFieldWithDefault(msg, 2, ""),
    website: jspb.Message.getFieldWithDefault(msg, 3, ""),
    securityContact: jspb.Message.getFieldWithDefault(msg, 4, ""),
    details: jspb.Message.getFieldWithDefault(msg, 5, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.ValidatorDescription}
 */
proto.injective_explorer_rpc.ValidatorDescription.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.ValidatorDescription;
  return proto.injective_explorer_rpc.ValidatorDescription.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.ValidatorDescription} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.ValidatorDescription}
 */
proto.injective_explorer_rpc.ValidatorDescription.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setMoniker(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setIdentity(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setWebsite(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setSecurityContact(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setDetails(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.ValidatorDescription.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.ValidatorDescription.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.ValidatorDescription} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.ValidatorDescription.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getMoniker();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getIdentity();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getWebsite();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getSecurityContact();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getDetails();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
};


/**
 * optional string moniker = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.ValidatorDescription.prototype.getMoniker = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.ValidatorDescription} returns this
 */
proto.injective_explorer_rpc.ValidatorDescription.prototype.setMoniker = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string identity = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.ValidatorDescription.prototype.getIdentity = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.ValidatorDescription} returns this
 */
proto.injective_explorer_rpc.ValidatorDescription.prototype.setIdentity = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string website = 3;
 * @return {string}
 */
proto.injective_explorer_rpc.ValidatorDescription.prototype.getWebsite = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.ValidatorDescription} returns this
 */
proto.injective_explorer_rpc.ValidatorDescription.prototype.setWebsite = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string security_contact = 4;
 * @return {string}
 */
proto.injective_explorer_rpc.ValidatorDescription.prototype.getSecurityContact = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.ValidatorDescription} returns this
 */
proto.injective_explorer_rpc.ValidatorDescription.prototype.setSecurityContact = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional string details = 5;
 * @return {string}
 */
proto.injective_explorer_rpc.ValidatorDescription.prototype.getDetails = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.ValidatorDescription} returns this
 */
proto.injective_explorer_rpc.ValidatorDescription.prototype.setDetails = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.ValidatorUptime.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.ValidatorUptime.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.ValidatorUptime} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.ValidatorUptime.toObject = function(includeInstance, msg) {
  var f, obj = {
    blockNumber: jspb.Message.getFieldWithDefault(msg, 1, 0),
    status: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.ValidatorUptime}
 */
proto.injective_explorer_rpc.ValidatorUptime.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.ValidatorUptime;
  return proto.injective_explorer_rpc.ValidatorUptime.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.ValidatorUptime} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.ValidatorUptime}
 */
proto.injective_explorer_rpc.ValidatorUptime.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setBlockNumber(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setStatus(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.ValidatorUptime.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.ValidatorUptime.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.ValidatorUptime} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.ValidatorUptime.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getBlockNumber();
  if (f !== 0) {
    writer.writeUint64(
      1,
      f
    );
  }
  f = message.getStatus();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional uint64 block_number = 1;
 * @return {number}
 */
proto.injective_explorer_rpc.ValidatorUptime.prototype.getBlockNumber = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.ValidatorUptime} returns this
 */
proto.injective_explorer_rpc.ValidatorUptime.prototype.setBlockNumber = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};


/**
 * optional string status = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.ValidatorUptime.prototype.getStatus = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.ValidatorUptime} returns this
 */
proto.injective_explorer_rpc.ValidatorUptime.prototype.setStatus = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.SlashingEvent.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.SlashingEvent} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.SlashingEvent.toObject = function(includeInstance, msg) {
  var f, obj = {
    blockNumber: jspb.Message.getFieldWithDefault(msg, 1, 0),
    blockTimestamp: jspb.Message.getFieldWithDefault(msg, 2, ""),
    address: jspb.Message.getFieldWithDefault(msg, 3, ""),
    power: jspb.Message.getFieldWithDefault(msg, 4, 0),
    reason: jspb.Message.getFieldWithDefault(msg, 5, ""),
    jailed: jspb.Message.getFieldWithDefault(msg, 6, ""),
    missedBlocks: jspb.Message.getFieldWithDefault(msg, 7, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.SlashingEvent}
 */
proto.injective_explorer_rpc.SlashingEvent.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.SlashingEvent;
  return proto.injective_explorer_rpc.SlashingEvent.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.SlashingEvent} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.SlashingEvent}
 */
proto.injective_explorer_rpc.SlashingEvent.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setBlockNumber(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setBlockTimestamp(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setAddress(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setPower(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setReason(value);
      break;
    case 6:
      var value = /** @type {string} */ (reader.readString());
      msg.setJailed(value);
      break;
    case 7:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setMissedBlocks(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.SlashingEvent.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.SlashingEvent} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.SlashingEvent.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getBlockNumber();
  if (f !== 0) {
    writer.writeUint64(
      1,
      f
    );
  }
  f = message.getBlockTimestamp();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getAddress();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getPower();
  if (f !== 0) {
    writer.writeUint64(
      4,
      f
    );
  }
  f = message.getReason();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getJailed();
  if (f.length > 0) {
    writer.writeString(
      6,
      f
    );
  }
  f = message.getMissedBlocks();
  if (f !== 0) {
    writer.writeUint64(
      7,
      f
    );
  }
};


/**
 * optional uint64 block_number = 1;
 * @return {number}
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.getBlockNumber = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.SlashingEvent} returns this
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.setBlockNumber = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};


/**
 * optional string block_timestamp = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.getBlockTimestamp = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.SlashingEvent} returns this
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.setBlockTimestamp = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string address = 3;
 * @return {string}
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.getAddress = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.SlashingEvent} returns this
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.setAddress = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional uint64 power = 4;
 * @return {number}
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.getPower = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.SlashingEvent} returns this
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.setPower = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};


/**
 * optional string reason = 5;
 * @return {string}
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.getReason = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.SlashingEvent} returns this
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.setReason = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional string jailed = 6;
 * @return {string}
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.getJailed = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.SlashingEvent} returns this
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.setJailed = function(value) {
  return jspb.Message.setProto3StringField(this, 6, value);
};


/**
 * optional uint64 missed_blocks = 7;
 * @return {number}
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.getMissedBlocks = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.SlashingEvent} returns this
 */
proto.injective_explorer_rpc.SlashingEvent.prototype.setMissedBlocks = function(value) {
  return jspb.Message.setProto3IntField(this, 7, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetValidatorUptimeRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetValidatorUptimeRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetValidatorUptimeRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetValidatorUptimeRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    address: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetValidatorUptimeRequest}
 */
proto.injective_explorer_rpc.GetValidatorUptimeRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetValidatorUptimeRequest;
  return proto.injective_explorer_rpc.GetValidatorUptimeRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetValidatorUptimeRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetValidatorUptimeRequest}
 */
proto.injective_explorer_rpc.GetValidatorUptimeRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setAddress(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetValidatorUptimeRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetValidatorUptimeRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetValidatorUptimeRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetValidatorUptimeRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAddress();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string address = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.GetValidatorUptimeRequest.prototype.getAddress = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetValidatorUptimeRequest} returns this
 */
proto.injective_explorer_rpc.GetValidatorUptimeRequest.prototype.setAddress = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.GetValidatorUptimeResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetValidatorUptimeResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetValidatorUptimeResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetValidatorUptimeResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetValidatorUptimeResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    fieldList: jspb.Message.toObjectList(msg.getFieldList(),
    proto.injective_explorer_rpc.ValidatorUptime.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetValidatorUptimeResponse}
 */
proto.injective_explorer_rpc.GetValidatorUptimeResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetValidatorUptimeResponse;
  return proto.injective_explorer_rpc.GetValidatorUptimeResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetValidatorUptimeResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetValidatorUptimeResponse}
 */
proto.injective_explorer_rpc.GetValidatorUptimeResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.injective_explorer_rpc.ValidatorUptime;
      reader.readMessage(value,proto.injective_explorer_rpc.ValidatorUptime.deserializeBinaryFromReader);
      msg.addField(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetValidatorUptimeResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetValidatorUptimeResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetValidatorUptimeResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetValidatorUptimeResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFieldList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.injective_explorer_rpc.ValidatorUptime.serializeBinaryToWriter
    );
  }
};


/**
 * repeated ValidatorUptime field = 1;
 * @return {!Array<!proto.injective_explorer_rpc.ValidatorUptime>}
 */
proto.injective_explorer_rpc.GetValidatorUptimeResponse.prototype.getFieldList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.ValidatorUptime>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.ValidatorUptime, 1));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.ValidatorUptime>} value
 * @return {!proto.injective_explorer_rpc.GetValidatorUptimeResponse} returns this
*/
proto.injective_explorer_rpc.GetValidatorUptimeResponse.prototype.setFieldList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.injective_explorer_rpc.ValidatorUptime=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.ValidatorUptime}
 */
proto.injective_explorer_rpc.GetValidatorUptimeResponse.prototype.addField = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.injective_explorer_rpc.ValidatorUptime, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.GetValidatorUptimeResponse} returns this
 */
proto.injective_explorer_rpc.GetValidatorUptimeResponse.prototype.clearFieldList = function() {
  return this.setFieldList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetTxsRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetTxsRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetTxsRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetTxsRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    before: jspb.Message.getFieldWithDefault(msg, 1, 0),
    after: jspb.Message.getFieldWithDefault(msg, 2, 0),
    limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
    skip: jspb.Message.getFieldWithDefault(msg, 4, 0),
    type: jspb.Message.getFieldWithDefault(msg, 5, ""),
    module: jspb.Message.getFieldWithDefault(msg, 6, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetTxsRequest}
 */
proto.injective_explorer_rpc.GetTxsRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetTxsRequest;
  return proto.injective_explorer_rpc.GetTxsRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetTxsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetTxsRequest}
 */
proto.injective_explorer_rpc.GetTxsRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setBefore(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setAfter(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readSint32());
      msg.setLimit(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSkip(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setType(value);
      break;
    case 6:
      var value = /** @type {string} */ (reader.readString());
      msg.setModule(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetTxsRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetTxsRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetTxsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetTxsRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getBefore();
  if (f !== 0) {
    writer.writeUint64(
      1,
      f
    );
  }
  f = message.getAfter();
  if (f !== 0) {
    writer.writeUint64(
      2,
      f
    );
  }
  f = message.getLimit();
  if (f !== 0) {
    writer.writeSint32(
      3,
      f
    );
  }
  f = message.getSkip();
  if (f !== 0) {
    writer.writeUint64(
      4,
      f
    );
  }
  f = message.getType();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getModule();
  if (f.length > 0) {
    writer.writeString(
      6,
      f
    );
  }
};


/**
 * optional uint64 before = 1;
 * @return {number}
 */
proto.injective_explorer_rpc.GetTxsRequest.prototype.getBefore = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetTxsRequest.prototype.setBefore = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};


/**
 * optional uint64 after = 2;
 * @return {number}
 */
proto.injective_explorer_rpc.GetTxsRequest.prototype.getAfter = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetTxsRequest.prototype.setAfter = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional sint32 limit = 3;
 * @return {number}
 */
proto.injective_explorer_rpc.GetTxsRequest.prototype.getLimit = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetTxsRequest.prototype.setLimit = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional uint64 skip = 4;
 * @return {number}
 */
proto.injective_explorer_rpc.GetTxsRequest.prototype.getSkip = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetTxsRequest.prototype.setSkip = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};


/**
 * optional string type = 5;
 * @return {string}
 */
proto.injective_explorer_rpc.GetTxsRequest.prototype.getType = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetTxsRequest.prototype.setType = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional string module = 6;
 * @return {string}
 */
proto.injective_explorer_rpc.GetTxsRequest.prototype.getModule = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetTxsRequest.prototype.setModule = function(value) {
  return jspb.Message.setProto3StringField(this, 6, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.GetTxsResponse.repeatedFields_ = [2];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetTxsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetTxsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetTxsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetTxsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    paging: (f = msg.getPaging()) && proto.injective_explorer_rpc.Paging.toObject(includeInstance, f),
    dataList: jspb.Message.toObjectList(msg.getDataList(),
    proto.injective_explorer_rpc.TxData.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetTxsResponse}
 */
proto.injective_explorer_rpc.GetTxsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetTxsResponse;
  return proto.injective_explorer_rpc.GetTxsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetTxsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetTxsResponse}
 */
proto.injective_explorer_rpc.GetTxsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.injective_explorer_rpc.Paging;
      reader.readMessage(value,proto.injective_explorer_rpc.Paging.deserializeBinaryFromReader);
      msg.setPaging(value);
      break;
    case 2:
      var value = new proto.injective_explorer_rpc.TxData;
      reader.readMessage(value,proto.injective_explorer_rpc.TxData.deserializeBinaryFromReader);
      msg.addData(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetTxsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetTxsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetTxsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetTxsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPaging();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.injective_explorer_rpc.Paging.serializeBinaryToWriter
    );
  }
  f = message.getDataList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.injective_explorer_rpc.TxData.serializeBinaryToWriter
    );
  }
};


/**
 * optional Paging paging = 1;
 * @return {?proto.injective_explorer_rpc.Paging}
 */
proto.injective_explorer_rpc.GetTxsResponse.prototype.getPaging = function() {
  return /** @type{?proto.injective_explorer_rpc.Paging} */ (
    jspb.Message.getWrapperField(this, proto.injective_explorer_rpc.Paging, 1));
};


/**
 * @param {?proto.injective_explorer_rpc.Paging|undefined} value
 * @return {!proto.injective_explorer_rpc.GetTxsResponse} returns this
*/
proto.injective_explorer_rpc.GetTxsResponse.prototype.setPaging = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.injective_explorer_rpc.GetTxsResponse} returns this
 */
proto.injective_explorer_rpc.GetTxsResponse.prototype.clearPaging = function() {
  return this.setPaging(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.injective_explorer_rpc.GetTxsResponse.prototype.hasPaging = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * repeated TxData data = 2;
 * @return {!Array<!proto.injective_explorer_rpc.TxData>}
 */
proto.injective_explorer_rpc.GetTxsResponse.prototype.getDataList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.TxData>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.TxData, 2));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.TxData>} value
 * @return {!proto.injective_explorer_rpc.GetTxsResponse} returns this
*/
proto.injective_explorer_rpc.GetTxsResponse.prototype.setDataList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.injective_explorer_rpc.TxData=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.TxData}
 */
proto.injective_explorer_rpc.GetTxsResponse.prototype.addData = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.injective_explorer_rpc.TxData, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.GetTxsResponse} returns this
 */
proto.injective_explorer_rpc.GetTxsResponse.prototype.clearDataList = function() {
  return this.setDataList([]);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetTxByTxHashRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetTxByTxHashRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetTxByTxHashRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetTxByTxHashRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    hash: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashRequest}
 */
proto.injective_explorer_rpc.GetTxByTxHashRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetTxByTxHashRequest;
  return proto.injective_explorer_rpc.GetTxByTxHashRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetTxByTxHashRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashRequest}
 */
proto.injective_explorer_rpc.GetTxByTxHashRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setHash(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetTxByTxHashRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetTxByTxHashRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetTxByTxHashRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetTxByTxHashRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHash();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string hash = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.GetTxByTxHashRequest.prototype.getHash = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashRequest} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashRequest.prototype.setHash = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.repeatedFields_ = [13,16];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetTxByTxHashResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetTxByTxHashResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    blockNumber: jspb.Message.getFieldWithDefault(msg, 2, 0),
    blockTimestamp: jspb.Message.getFieldWithDefault(msg, 3, ""),
    hash: jspb.Message.getFieldWithDefault(msg, 4, ""),
    code: jspb.Message.getFieldWithDefault(msg, 5, 0),
    data: msg.getData_asB64(),
    info: jspb.Message.getFieldWithDefault(msg, 8, ""),
    gasWanted: jspb.Message.getFieldWithDefault(msg, 9, 0),
    gasUsed: jspb.Message.getFieldWithDefault(msg, 10, 0),
    gasFee: (f = msg.getGasFee()) && proto.injective_explorer_rpc.GasFee.toObject(includeInstance, f),
    codespace: jspb.Message.getFieldWithDefault(msg, 12, ""),
    eventsList: jspb.Message.toObjectList(msg.getEventsList(),
    proto.injective_explorer_rpc.Event.toObject, includeInstance),
    txType: jspb.Message.getFieldWithDefault(msg, 14, ""),
    messages: jspb.Message.getFieldWithDefault(msg, 15, ""),
    signaturesList: jspb.Message.toObjectList(msg.getSignaturesList(),
    proto.injective_explorer_rpc.Signature.toObject, includeInstance),
    memo: jspb.Message.getFieldWithDefault(msg, 17, ""),
    txNumber: jspb.Message.getFieldWithDefault(msg, 18, 0),
    blockUnixTimestamp: jspb.Message.getFieldWithDefault(msg, 19, 0),
    errorLog: jspb.Message.getFieldWithDefault(msg, 20, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetTxByTxHashResponse;
  return proto.injective_explorer_rpc.GetTxByTxHashResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetTxByTxHashResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setBlockNumber(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setBlockTimestamp(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setHash(value);
      break;
    case 5:
      var value = /** @type {number} */ (reader.readUint32());
      msg.setCode(value);
      break;
    case 6:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setData(value);
      break;
    case 8:
      var value = /** @type {string} */ (reader.readString());
      msg.setInfo(value);
      break;
    case 9:
      var value = /** @type {number} */ (reader.readSint64());
      msg.setGasWanted(value);
      break;
    case 10:
      var value = /** @type {number} */ (reader.readSint64());
      msg.setGasUsed(value);
      break;
    case 11:
      var value = new proto.injective_explorer_rpc.GasFee;
      reader.readMessage(value,proto.injective_explorer_rpc.GasFee.deserializeBinaryFromReader);
      msg.setGasFee(value);
      break;
    case 12:
      var value = /** @type {string} */ (reader.readString());
      msg.setCodespace(value);
      break;
    case 13:
      var value = new proto.injective_explorer_rpc.Event;
      reader.readMessage(value,proto.injective_explorer_rpc.Event.deserializeBinaryFromReader);
      msg.addEvents(value);
      break;
    case 14:
      var value = /** @type {string} */ (reader.readString());
      msg.setTxType(value);
      break;
    case 15:
      var value = /** @type {string} */ (reader.readString());
      msg.setMessages(value);
      break;
    case 16:
      var value = new proto.injective_explorer_rpc.Signature;
      reader.readMessage(value,proto.injective_explorer_rpc.Signature.deserializeBinaryFromReader);
      msg.addSignatures(value);
      break;
    case 17:
      var value = /** @type {string} */ (reader.readString());
      msg.setMemo(value);
      break;
    case 18:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setTxNumber(value);
      break;
    case 19:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setBlockUnixTimestamp(value);
      break;
    case 20:
      var value = /** @type {string} */ (reader.readString());
      msg.setErrorLog(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetTxByTxHashResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetTxByTxHashResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getBlockNumber();
  if (f !== 0) {
    writer.writeUint64(
      2,
      f
    );
  }
  f = message.getBlockTimestamp();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getHash();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getCode();
  if (f !== 0) {
    writer.writeUint32(
      5,
      f
    );
  }
  f = message.getData_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      6,
      f
    );
  }
  f = message.getInfo();
  if (f.length > 0) {
    writer.writeString(
      8,
      f
    );
  }
  f = message.getGasWanted();
  if (f !== 0) {
    writer.writeSint64(
      9,
      f
    );
  }
  f = message.getGasUsed();
  if (f !== 0) {
    writer.writeSint64(
      10,
      f
    );
  }
  f = message.getGasFee();
  if (f != null) {
    writer.writeMessage(
      11,
      f,
      proto.injective_explorer_rpc.GasFee.serializeBinaryToWriter
    );
  }
  f = message.getCodespace();
  if (f.length > 0) {
    writer.writeString(
      12,
      f
    );
  }
  f = message.getEventsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      13,
      f,
      proto.injective_explorer_rpc.Event.serializeBinaryToWriter
    );
  }
  f = message.getTxType();
  if (f.length > 0) {
    writer.writeString(
      14,
      f
    );
  }
  f = message.getMessages();
  if (f.length > 0) {
    writer.writeString(
      15,
      f
    );
  }
  f = message.getSignaturesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      16,
      f,
      proto.injective_explorer_rpc.Signature.serializeBinaryToWriter
    );
  }
  f = message.getMemo();
  if (f.length > 0) {
    writer.writeString(
      17,
      f
    );
  }
  f = message.getTxNumber();
  if (f !== 0) {
    writer.writeUint64(
      18,
      f
    );
  }
  f = message.getBlockUnixTimestamp();
  if (f !== 0) {
    writer.writeUint64(
      19,
      f
    );
  }
  f = message.getErrorLog();
  if (f.length > 0) {
    writer.writeString(
      20,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional uint64 block_number = 2;
 * @return {number}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getBlockNumber = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setBlockNumber = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional string block_timestamp = 3;
 * @return {string}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getBlockTimestamp = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setBlockTimestamp = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string hash = 4;
 * @return {string}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getHash = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setHash = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional uint32 code = 5;
 * @return {number}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getCode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setCode = function(value) {
  return jspb.Message.setProto3IntField(this, 5, value);
};


/**
 * optional bytes data = 6;
 * @return {!(string|Uint8Array)}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getData = function() {
  return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * optional bytes data = 6;
 * This is a type-conversion wrapper around `getData()`
 * @return {string}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getData_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getData()));
};


/**
 * optional bytes data = 6;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getData()`
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getData_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getData()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setData = function(value) {
  return jspb.Message.setProto3BytesField(this, 6, value);
};


/**
 * optional string info = 8;
 * @return {string}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getInfo = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setInfo = function(value) {
  return jspb.Message.setProto3StringField(this, 8, value);
};


/**
 * optional sint64 gas_wanted = 9;
 * @return {number}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getGasWanted = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setGasWanted = function(value) {
  return jspb.Message.setProto3IntField(this, 9, value);
};


/**
 * optional sint64 gas_used = 10;
 * @return {number}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getGasUsed = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setGasUsed = function(value) {
  return jspb.Message.setProto3IntField(this, 10, value);
};


/**
 * optional GasFee gas_fee = 11;
 * @return {?proto.injective_explorer_rpc.GasFee}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getGasFee = function() {
  return /** @type{?proto.injective_explorer_rpc.GasFee} */ (
    jspb.Message.getWrapperField(this, proto.injective_explorer_rpc.GasFee, 11));
};


/**
 * @param {?proto.injective_explorer_rpc.GasFee|undefined} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
*/
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setGasFee = function(value) {
  return jspb.Message.setWrapperField(this, 11, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.clearGasFee = function() {
  return this.setGasFee(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.hasGasFee = function() {
  return jspb.Message.getField(this, 11) != null;
};


/**
 * optional string codespace = 12;
 * @return {string}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getCodespace = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setCodespace = function(value) {
  return jspb.Message.setProto3StringField(this, 12, value);
};


/**
 * repeated Event events = 13;
 * @return {!Array<!proto.injective_explorer_rpc.Event>}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getEventsList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.Event>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.Event, 13));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.Event>} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
*/
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setEventsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 13, value);
};


/**
 * @param {!proto.injective_explorer_rpc.Event=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.Event}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.addEvents = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.injective_explorer_rpc.Event, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.clearEventsList = function() {
  return this.setEventsList([]);
};


/**
 * optional string tx_type = 14;
 * @return {string}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getTxType = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setTxType = function(value) {
  return jspb.Message.setProto3StringField(this, 14, value);
};


/**
 * optional string messages = 15;
 * @return {string}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getMessages = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setMessages = function(value) {
  return jspb.Message.setProto3StringField(this, 15, value);
};


/**
 * repeated Signature signatures = 16;
 * @return {!Array<!proto.injective_explorer_rpc.Signature>}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getSignaturesList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.Signature>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.Signature, 16));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.Signature>} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
*/
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setSignaturesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 16, value);
};


/**
 * @param {!proto.injective_explorer_rpc.Signature=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.Signature}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.addSignatures = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.injective_explorer_rpc.Signature, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.clearSignaturesList = function() {
  return this.setSignaturesList([]);
};


/**
 * optional string memo = 17;
 * @return {string}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getMemo = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setMemo = function(value) {
  return jspb.Message.setProto3StringField(this, 17, value);
};


/**
 * optional uint64 tx_number = 18;
 * @return {number}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getTxNumber = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setTxNumber = function(value) {
  return jspb.Message.setProto3IntField(this, 18, value);
};


/**
 * optional uint64 block_unix_timestamp = 19;
 * @return {number}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getBlockUnixTimestamp = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setBlockUnixTimestamp = function(value) {
  return jspb.Message.setProto3IntField(this, 19, value);
};


/**
 * optional string error_log = 20;
 * @return {string}
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.getErrorLog = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetTxByTxHashResponse} returns this
 */
proto.injective_explorer_rpc.GetTxByTxHashResponse.prototype.setErrorLog = function(value) {
  return jspb.Message.setProto3StringField(this, 20, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.StreamTxsRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.StreamTxsRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.StreamTxsRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.StreamTxsRequest.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.StreamTxsRequest}
 */
proto.injective_explorer_rpc.StreamTxsRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.StreamTxsRequest;
  return proto.injective_explorer_rpc.StreamTxsRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.StreamTxsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.StreamTxsRequest}
 */
proto.injective_explorer_rpc.StreamTxsRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.StreamTxsRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.StreamTxsRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.StreamTxsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.StreamTxsRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.StreamTxsResponse.repeatedFields_ = [13,16];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.StreamTxsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.StreamTxsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.StreamTxsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    blockNumber: jspb.Message.getFieldWithDefault(msg, 2, 0),
    blockTimestamp: jspb.Message.getFieldWithDefault(msg, 3, ""),
    hash: jspb.Message.getFieldWithDefault(msg, 4, ""),
    code: jspb.Message.getFieldWithDefault(msg, 5, 0),
    data: msg.getData_asB64(),
    info: jspb.Message.getFieldWithDefault(msg, 8, ""),
    gasWanted: jspb.Message.getFieldWithDefault(msg, 9, 0),
    gasUsed: jspb.Message.getFieldWithDefault(msg, 10, 0),
    gasFee: (f = msg.getGasFee()) && proto.injective_explorer_rpc.GasFee.toObject(includeInstance, f),
    codespace: jspb.Message.getFieldWithDefault(msg, 12, ""),
    eventsList: jspb.Message.toObjectList(msg.getEventsList(),
    proto.injective_explorer_rpc.Event.toObject, includeInstance),
    txType: jspb.Message.getFieldWithDefault(msg, 14, ""),
    messages: jspb.Message.getFieldWithDefault(msg, 15, ""),
    signaturesList: jspb.Message.toObjectList(msg.getSignaturesList(),
    proto.injective_explorer_rpc.Signature.toObject, includeInstance),
    memo: jspb.Message.getFieldWithDefault(msg, 17, ""),
    txNumber: jspb.Message.getFieldWithDefault(msg, 18, 0),
    blockUnixTimestamp: jspb.Message.getFieldWithDefault(msg, 19, 0),
    errorLog: jspb.Message.getFieldWithDefault(msg, 20, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse}
 */
proto.injective_explorer_rpc.StreamTxsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.StreamTxsResponse;
  return proto.injective_explorer_rpc.StreamTxsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.StreamTxsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse}
 */
proto.injective_explorer_rpc.StreamTxsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setBlockNumber(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setBlockTimestamp(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setHash(value);
      break;
    case 5:
      var value = /** @type {number} */ (reader.readUint32());
      msg.setCode(value);
      break;
    case 6:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setData(value);
      break;
    case 8:
      var value = /** @type {string} */ (reader.readString());
      msg.setInfo(value);
      break;
    case 9:
      var value = /** @type {number} */ (reader.readSint64());
      msg.setGasWanted(value);
      break;
    case 10:
      var value = /** @type {number} */ (reader.readSint64());
      msg.setGasUsed(value);
      break;
    case 11:
      var value = new proto.injective_explorer_rpc.GasFee;
      reader.readMessage(value,proto.injective_explorer_rpc.GasFee.deserializeBinaryFromReader);
      msg.setGasFee(value);
      break;
    case 12:
      var value = /** @type {string} */ (reader.readString());
      msg.setCodespace(value);
      break;
    case 13:
      var value = new proto.injective_explorer_rpc.Event;
      reader.readMessage(value,proto.injective_explorer_rpc.Event.deserializeBinaryFromReader);
      msg.addEvents(value);
      break;
    case 14:
      var value = /** @type {string} */ (reader.readString());
      msg.setTxType(value);
      break;
    case 15:
      var value = /** @type {string} */ (reader.readString());
      msg.setMessages(value);
      break;
    case 16:
      var value = new proto.injective_explorer_rpc.Signature;
      reader.readMessage(value,proto.injective_explorer_rpc.Signature.deserializeBinaryFromReader);
      msg.addSignatures(value);
      break;
    case 17:
      var value = /** @type {string} */ (reader.readString());
      msg.setMemo(value);
      break;
    case 18:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setTxNumber(value);
      break;
    case 19:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setBlockUnixTimestamp(value);
      break;
    case 20:
      var value = /** @type {string} */ (reader.readString());
      msg.setErrorLog(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.StreamTxsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.StreamTxsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.StreamTxsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getBlockNumber();
  if (f !== 0) {
    writer.writeUint64(
      2,
      f
    );
  }
  f = message.getBlockTimestamp();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getHash();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getCode();
  if (f !== 0) {
    writer.writeUint32(
      5,
      f
    );
  }
  f = message.getData_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      6,
      f
    );
  }
  f = message.getInfo();
  if (f.length > 0) {
    writer.writeString(
      8,
      f
    );
  }
  f = message.getGasWanted();
  if (f !== 0) {
    writer.writeSint64(
      9,
      f
    );
  }
  f = message.getGasUsed();
  if (f !== 0) {
    writer.writeSint64(
      10,
      f
    );
  }
  f = message.getGasFee();
  if (f != null) {
    writer.writeMessage(
      11,
      f,
      proto.injective_explorer_rpc.GasFee.serializeBinaryToWriter
    );
  }
  f = message.getCodespace();
  if (f.length > 0) {
    writer.writeString(
      12,
      f
    );
  }
  f = message.getEventsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      13,
      f,
      proto.injective_explorer_rpc.Event.serializeBinaryToWriter
    );
  }
  f = message.getTxType();
  if (f.length > 0) {
    writer.writeString(
      14,
      f
    );
  }
  f = message.getMessages();
  if (f.length > 0) {
    writer.writeString(
      15,
      f
    );
  }
  f = message.getSignaturesList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      16,
      f,
      proto.injective_explorer_rpc.Signature.serializeBinaryToWriter
    );
  }
  f = message.getMemo();
  if (f.length > 0) {
    writer.writeString(
      17,
      f
    );
  }
  f = message.getTxNumber();
  if (f !== 0) {
    writer.writeUint64(
      18,
      f
    );
  }
  f = message.getBlockUnixTimestamp();
  if (f !== 0) {
    writer.writeUint64(
      19,
      f
    );
  }
  f = message.getErrorLog();
  if (f.length > 0) {
    writer.writeString(
      20,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional uint64 block_number = 2;
 * @return {number}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getBlockNumber = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setBlockNumber = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional string block_timestamp = 3;
 * @return {string}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getBlockTimestamp = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setBlockTimestamp = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string hash = 4;
 * @return {string}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getHash = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setHash = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional uint32 code = 5;
 * @return {number}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getCode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setCode = function(value) {
  return jspb.Message.setProto3IntField(this, 5, value);
};


/**
 * optional bytes data = 6;
 * @return {!(string|Uint8Array)}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getData = function() {
  return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * optional bytes data = 6;
 * This is a type-conversion wrapper around `getData()`
 * @return {string}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getData_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getData()));
};


/**
 * optional bytes data = 6;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getData()`
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getData_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getData()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setData = function(value) {
  return jspb.Message.setProto3BytesField(this, 6, value);
};


/**
 * optional string info = 8;
 * @return {string}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getInfo = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setInfo = function(value) {
  return jspb.Message.setProto3StringField(this, 8, value);
};


/**
 * optional sint64 gas_wanted = 9;
 * @return {number}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getGasWanted = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setGasWanted = function(value) {
  return jspb.Message.setProto3IntField(this, 9, value);
};


/**
 * optional sint64 gas_used = 10;
 * @return {number}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getGasUsed = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setGasUsed = function(value) {
  return jspb.Message.setProto3IntField(this, 10, value);
};


/**
 * optional GasFee gas_fee = 11;
 * @return {?proto.injective_explorer_rpc.GasFee}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getGasFee = function() {
  return /** @type{?proto.injective_explorer_rpc.GasFee} */ (
    jspb.Message.getWrapperField(this, proto.injective_explorer_rpc.GasFee, 11));
};


/**
 * @param {?proto.injective_explorer_rpc.GasFee|undefined} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
*/
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setGasFee = function(value) {
  return jspb.Message.setWrapperField(this, 11, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.clearGasFee = function() {
  return this.setGasFee(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.hasGasFee = function() {
  return jspb.Message.getField(this, 11) != null;
};


/**
 * optional string codespace = 12;
 * @return {string}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getCodespace = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setCodespace = function(value) {
  return jspb.Message.setProto3StringField(this, 12, value);
};


/**
 * repeated Event events = 13;
 * @return {!Array<!proto.injective_explorer_rpc.Event>}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getEventsList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.Event>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.Event, 13));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.Event>} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
*/
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setEventsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 13, value);
};


/**
 * @param {!proto.injective_explorer_rpc.Event=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.Event}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.addEvents = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.injective_explorer_rpc.Event, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.clearEventsList = function() {
  return this.setEventsList([]);
};


/**
 * optional string tx_type = 14;
 * @return {string}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getTxType = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setTxType = function(value) {
  return jspb.Message.setProto3StringField(this, 14, value);
};


/**
 * optional string messages = 15;
 * @return {string}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getMessages = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setMessages = function(value) {
  return jspb.Message.setProto3StringField(this, 15, value);
};


/**
 * repeated Signature signatures = 16;
 * @return {!Array<!proto.injective_explorer_rpc.Signature>}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getSignaturesList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.Signature>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.Signature, 16));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.Signature>} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
*/
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setSignaturesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 16, value);
};


/**
 * @param {!proto.injective_explorer_rpc.Signature=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.Signature}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.addSignatures = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.injective_explorer_rpc.Signature, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.clearSignaturesList = function() {
  return this.setSignaturesList([]);
};


/**
 * optional string memo = 17;
 * @return {string}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getMemo = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setMemo = function(value) {
  return jspb.Message.setProto3StringField(this, 17, value);
};


/**
 * optional uint64 tx_number = 18;
 * @return {number}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getTxNumber = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setTxNumber = function(value) {
  return jspb.Message.setProto3IntField(this, 18, value);
};


/**
 * optional uint64 block_unix_timestamp = 19;
 * @return {number}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getBlockUnixTimestamp = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setBlockUnixTimestamp = function(value) {
  return jspb.Message.setProto3IntField(this, 19, value);
};


/**
 * optional string error_log = 20;
 * @return {string}
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.getErrorLog = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.StreamTxsResponse} returns this
 */
proto.injective_explorer_rpc.StreamTxsResponse.prototype.setErrorLog = function(value) {
  return jspb.Message.setProto3StringField(this, 20, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.StreamBlocksRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.StreamBlocksRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.StreamBlocksRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.StreamBlocksRequest.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.StreamBlocksRequest}
 */
proto.injective_explorer_rpc.StreamBlocksRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.StreamBlocksRequest;
  return proto.injective_explorer_rpc.StreamBlocksRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.StreamBlocksRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.StreamBlocksRequest}
 */
proto.injective_explorer_rpc.StreamBlocksRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.StreamBlocksRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.StreamBlocksRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.StreamBlocksRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.StreamBlocksRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.StreamBlocksResponse.repeatedFields_ = [8];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.StreamBlocksResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.StreamBlocksResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.StreamBlocksResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    height: jspb.Message.getFieldWithDefault(msg, 1, 0),
    proposer: jspb.Message.getFieldWithDefault(msg, 2, ""),
    moniker: jspb.Message.getFieldWithDefault(msg, 3, ""),
    blockHash: jspb.Message.getFieldWithDefault(msg, 4, ""),
    parentHash: jspb.Message.getFieldWithDefault(msg, 5, ""),
    numPreCommits: jspb.Message.getFieldWithDefault(msg, 6, 0),
    numTxs: jspb.Message.getFieldWithDefault(msg, 7, 0),
    txsList: jspb.Message.toObjectList(msg.getTxsList(),
    proto.injective_explorer_rpc.TxData.toObject, includeInstance),
    timestamp: jspb.Message.getFieldWithDefault(msg, 9, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.StreamBlocksResponse}
 */
proto.injective_explorer_rpc.StreamBlocksResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.StreamBlocksResponse;
  return proto.injective_explorer_rpc.StreamBlocksResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.StreamBlocksResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.StreamBlocksResponse}
 */
proto.injective_explorer_rpc.StreamBlocksResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setHeight(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setProposer(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setMoniker(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setBlockHash(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setParentHash(value);
      break;
    case 6:
      var value = /** @type {number} */ (reader.readSint64());
      msg.setNumPreCommits(value);
      break;
    case 7:
      var value = /** @type {number} */ (reader.readSint64());
      msg.setNumTxs(value);
      break;
    case 8:
      var value = new proto.injective_explorer_rpc.TxData;
      reader.readMessage(value,proto.injective_explorer_rpc.TxData.deserializeBinaryFromReader);
      msg.addTxs(value);
      break;
    case 9:
      var value = /** @type {string} */ (reader.readString());
      msg.setTimestamp(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.StreamBlocksResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.StreamBlocksResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.StreamBlocksResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHeight();
  if (f !== 0) {
    writer.writeUint64(
      1,
      f
    );
  }
  f = message.getProposer();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getMoniker();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getBlockHash();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getParentHash();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getNumPreCommits();
  if (f !== 0) {
    writer.writeSint64(
      6,
      f
    );
  }
  f = message.getNumTxs();
  if (f !== 0) {
    writer.writeSint64(
      7,
      f
    );
  }
  f = message.getTxsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      8,
      f,
      proto.injective_explorer_rpc.TxData.serializeBinaryToWriter
    );
  }
  f = message.getTimestamp();
  if (f.length > 0) {
    writer.writeString(
      9,
      f
    );
  }
};


/**
 * optional uint64 height = 1;
 * @return {number}
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.getHeight = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.StreamBlocksResponse} returns this
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.setHeight = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};


/**
 * optional string proposer = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.getProposer = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.StreamBlocksResponse} returns this
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.setProposer = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string moniker = 3;
 * @return {string}
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.getMoniker = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.StreamBlocksResponse} returns this
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.setMoniker = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string block_hash = 4;
 * @return {string}
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.getBlockHash = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.StreamBlocksResponse} returns this
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.setBlockHash = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional string parent_hash = 5;
 * @return {string}
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.getParentHash = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.StreamBlocksResponse} returns this
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.setParentHash = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional sint64 num_pre_commits = 6;
 * @return {number}
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.getNumPreCommits = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.StreamBlocksResponse} returns this
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.setNumPreCommits = function(value) {
  return jspb.Message.setProto3IntField(this, 6, value);
};


/**
 * optional sint64 num_txs = 7;
 * @return {number}
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.getNumTxs = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.StreamBlocksResponse} returns this
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.setNumTxs = function(value) {
  return jspb.Message.setProto3IntField(this, 7, value);
};


/**
 * repeated TxData txs = 8;
 * @return {!Array<!proto.injective_explorer_rpc.TxData>}
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.getTxsList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.TxData>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.TxData, 8));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.TxData>} value
 * @return {!proto.injective_explorer_rpc.StreamBlocksResponse} returns this
*/
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.setTxsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 8, value);
};


/**
 * @param {!proto.injective_explorer_rpc.TxData=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.TxData}
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.addTxs = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.injective_explorer_rpc.TxData, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.StreamBlocksResponse} returns this
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.clearTxsList = function() {
  return this.setTxsList([]);
};


/**
 * optional string timestamp = 9;
 * @return {string}
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.getTimestamp = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.StreamBlocksResponse} returns this
 */
proto.injective_explorer_rpc.StreamBlocksResponse.prototype.setTimestamp = function(value) {
  return jspb.Message.setProto3StringField(this, 9, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetPeggyDepositTxsRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    sender: jspb.Message.getFieldWithDefault(msg, 1, ""),
    receiver: jspb.Message.getFieldWithDefault(msg, 2, ""),
    limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
    skip: jspb.Message.getFieldWithDefault(msg, 4, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetPeggyDepositTxsRequest}
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetPeggyDepositTxsRequest;
  return proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetPeggyDepositTxsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetPeggyDepositTxsRequest}
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setSender(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setReceiver(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readSint32());
      msg.setLimit(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSkip(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetPeggyDepositTxsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSender();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getReceiver();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getLimit();
  if (f !== 0) {
    writer.writeSint32(
      3,
      f
    );
  }
  f = message.getSkip();
  if (f !== 0) {
    writer.writeUint64(
      4,
      f
    );
  }
};


/**
 * optional string sender = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.prototype.getSender = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetPeggyDepositTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.prototype.setSender = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string receiver = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.prototype.getReceiver = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetPeggyDepositTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.prototype.setReceiver = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional sint32 limit = 3;
 * @return {number}
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.prototype.getLimit = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetPeggyDepositTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.prototype.setLimit = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional uint64 skip = 4;
 * @return {number}
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.prototype.getSkip = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetPeggyDepositTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsRequest.prototype.setSkip = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetPeggyDepositTxsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    fieldList: jspb.Message.toObjectList(msg.getFieldList(),
    proto.injective_explorer_rpc.PeggyDepositTx.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetPeggyDepositTxsResponse}
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetPeggyDepositTxsResponse;
  return proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetPeggyDepositTxsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetPeggyDepositTxsResponse}
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.injective_explorer_rpc.PeggyDepositTx;
      reader.readMessage(value,proto.injective_explorer_rpc.PeggyDepositTx.deserializeBinaryFromReader);
      msg.addField(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetPeggyDepositTxsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFieldList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.injective_explorer_rpc.PeggyDepositTx.serializeBinaryToWriter
    );
  }
};


/**
 * repeated PeggyDepositTx field = 1;
 * @return {!Array<!proto.injective_explorer_rpc.PeggyDepositTx>}
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.prototype.getFieldList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.PeggyDepositTx>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.PeggyDepositTx, 1));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.PeggyDepositTx>} value
 * @return {!proto.injective_explorer_rpc.GetPeggyDepositTxsResponse} returns this
*/
proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.prototype.setFieldList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.injective_explorer_rpc.PeggyDepositTx=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx}
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.prototype.addField = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.injective_explorer_rpc.PeggyDepositTx, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.GetPeggyDepositTxsResponse} returns this
 */
proto.injective_explorer_rpc.GetPeggyDepositTxsResponse.prototype.clearFieldList = function() {
  return this.setFieldList([]);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.PeggyDepositTx.repeatedFields_ = [10];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.PeggyDepositTx.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.PeggyDepositTx} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.PeggyDepositTx.toObject = function(includeInstance, msg) {
  var f, obj = {
    sender: jspb.Message.getFieldWithDefault(msg, 1, ""),
    receiver: jspb.Message.getFieldWithDefault(msg, 2, ""),
    eventNonce: jspb.Message.getFieldWithDefault(msg, 3, 0),
    eventHeight: jspb.Message.getFieldWithDefault(msg, 4, 0),
    amount: jspb.Message.getFieldWithDefault(msg, 5, ""),
    denom: jspb.Message.getFieldWithDefault(msg, 6, ""),
    orchestratorAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
    state: jspb.Message.getFieldWithDefault(msg, 8, ""),
    claimType: jspb.Message.getFieldWithDefault(msg, 9, 0),
    txHashesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
    createdAt: jspb.Message.getFieldWithDefault(msg, 11, ""),
    updatedAt: jspb.Message.getFieldWithDefault(msg, 12, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx}
 */
proto.injective_explorer_rpc.PeggyDepositTx.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.PeggyDepositTx;
  return proto.injective_explorer_rpc.PeggyDepositTx.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.PeggyDepositTx} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx}
 */
proto.injective_explorer_rpc.PeggyDepositTx.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setSender(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setReceiver(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setEventNonce(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setEventHeight(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setAmount(value);
      break;
    case 6:
      var value = /** @type {string} */ (reader.readString());
      msg.setDenom(value);
      break;
    case 7:
      var value = /** @type {string} */ (reader.readString());
      msg.setOrchestratorAddress(value);
      break;
    case 8:
      var value = /** @type {string} */ (reader.readString());
      msg.setState(value);
      break;
    case 9:
      var value = /** @type {number} */ (reader.readSint32());
      msg.setClaimType(value);
      break;
    case 10:
      var value = /** @type {string} */ (reader.readString());
      msg.addTxHashes(value);
      break;
    case 11:
      var value = /** @type {string} */ (reader.readString());
      msg.setCreatedAt(value);
      break;
    case 12:
      var value = /** @type {string} */ (reader.readString());
      msg.setUpdatedAt(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.PeggyDepositTx.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.PeggyDepositTx} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.PeggyDepositTx.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSender();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getReceiver();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getEventNonce();
  if (f !== 0) {
    writer.writeUint64(
      3,
      f
    );
  }
  f = message.getEventHeight();
  if (f !== 0) {
    writer.writeUint64(
      4,
      f
    );
  }
  f = message.getAmount();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getDenom();
  if (f.length > 0) {
    writer.writeString(
      6,
      f
    );
  }
  f = message.getOrchestratorAddress();
  if (f.length > 0) {
    writer.writeString(
      7,
      f
    );
  }
  f = message.getState();
  if (f.length > 0) {
    writer.writeString(
      8,
      f
    );
  }
  f = message.getClaimType();
  if (f !== 0) {
    writer.writeSint32(
      9,
      f
    );
  }
  f = message.getTxHashesList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      10,
      f
    );
  }
  f = message.getCreatedAt();
  if (f.length > 0) {
    writer.writeString(
      11,
      f
    );
  }
  f = message.getUpdatedAt();
  if (f.length > 0) {
    writer.writeString(
      12,
      f
    );
  }
};


/**
 * optional string sender = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.getSender = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx} returns this
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.setSender = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string receiver = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.getReceiver = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx} returns this
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.setReceiver = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional uint64 event_nonce = 3;
 * @return {number}
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.getEventNonce = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx} returns this
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.setEventNonce = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional uint64 event_height = 4;
 * @return {number}
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.getEventHeight = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx} returns this
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.setEventHeight = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};


/**
 * optional string amount = 5;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.getAmount = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx} returns this
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.setAmount = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional string denom = 6;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.getDenom = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx} returns this
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.setDenom = function(value) {
  return jspb.Message.setProto3StringField(this, 6, value);
};


/**
 * optional string orchestrator_address = 7;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.getOrchestratorAddress = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx} returns this
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.setOrchestratorAddress = function(value) {
  return jspb.Message.setProto3StringField(this, 7, value);
};


/**
 * optional string state = 8;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.getState = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx} returns this
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.setState = function(value) {
  return jspb.Message.setProto3StringField(this, 8, value);
};


/**
 * optional sint32 claim_type = 9;
 * @return {number}
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.getClaimType = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx} returns this
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.setClaimType = function(value) {
  return jspb.Message.setProto3IntField(this, 9, value);
};


/**
 * repeated string tx_hashes = 10;
 * @return {!Array<string>}
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.getTxHashesList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx} returns this
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.setTxHashesList = function(value) {
  return jspb.Message.setField(this, 10, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx} returns this
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.addTxHashes = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx} returns this
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.clearTxHashesList = function() {
  return this.setTxHashesList([]);
};


/**
 * optional string created_at = 11;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.getCreatedAt = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx} returns this
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.setCreatedAt = function(value) {
  return jspb.Message.setProto3StringField(this, 11, value);
};


/**
 * optional string updated_at = 12;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.getUpdatedAt = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyDepositTx} returns this
 */
proto.injective_explorer_rpc.PeggyDepositTx.prototype.setUpdatedAt = function(value) {
  return jspb.Message.setProto3StringField(this, 12, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    sender: jspb.Message.getFieldWithDefault(msg, 1, ""),
    receiver: jspb.Message.getFieldWithDefault(msg, 2, ""),
    limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
    skip: jspb.Message.getFieldWithDefault(msg, 4, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest}
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest;
  return proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest}
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setSender(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setReceiver(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readSint32());
      msg.setLimit(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSkip(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSender();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getReceiver();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getLimit();
  if (f !== 0) {
    writer.writeSint32(
      3,
      f
    );
  }
  f = message.getSkip();
  if (f !== 0) {
    writer.writeUint64(
      4,
      f
    );
  }
};


/**
 * optional string sender = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.prototype.getSender = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.prototype.setSender = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string receiver = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.prototype.getReceiver = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.prototype.setReceiver = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional sint32 limit = 3;
 * @return {number}
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.prototype.getLimit = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.prototype.setLimit = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional uint64 skip = 4;
 * @return {number}
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.prototype.getSkip = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsRequest.prototype.setSkip = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    fieldList: jspb.Message.toObjectList(msg.getFieldList(),
    proto.injective_explorer_rpc.PeggyWithdrawalTx.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse}
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse;
  return proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse}
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.injective_explorer_rpc.PeggyWithdrawalTx;
      reader.readMessage(value,proto.injective_explorer_rpc.PeggyWithdrawalTx.deserializeBinaryFromReader);
      msg.addField(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFieldList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.injective_explorer_rpc.PeggyWithdrawalTx.serializeBinaryToWriter
    );
  }
};


/**
 * repeated PeggyWithdrawalTx field = 1;
 * @return {!Array<!proto.injective_explorer_rpc.PeggyWithdrawalTx>}
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.prototype.getFieldList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.PeggyWithdrawalTx>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.PeggyWithdrawalTx, 1));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.PeggyWithdrawalTx>} value
 * @return {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse} returns this
*/
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.prototype.setFieldList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.injective_explorer_rpc.PeggyWithdrawalTx=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx}
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.prototype.addField = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.injective_explorer_rpc.PeggyWithdrawalTx, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse} returns this
 */
proto.injective_explorer_rpc.GetPeggyWithdrawalTxsResponse.prototype.clearFieldList = function() {
  return this.setFieldList([]);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.repeatedFields_ = [14];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.PeggyWithdrawalTx.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.PeggyWithdrawalTx} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.toObject = function(includeInstance, msg) {
  var f, obj = {
    sender: jspb.Message.getFieldWithDefault(msg, 1, ""),
    receiver: jspb.Message.getFieldWithDefault(msg, 2, ""),
    amount: jspb.Message.getFieldWithDefault(msg, 3, ""),
    denom: jspb.Message.getFieldWithDefault(msg, 4, ""),
    bridgeFee: jspb.Message.getFieldWithDefault(msg, 5, ""),
    outgoingTxId: jspb.Message.getFieldWithDefault(msg, 6, 0),
    batchTimeout: jspb.Message.getFieldWithDefault(msg, 7, 0),
    batchNonce: jspb.Message.getFieldWithDefault(msg, 8, 0),
    orchestratorAddress: jspb.Message.getFieldWithDefault(msg, 9, ""),
    eventNonce: jspb.Message.getFieldWithDefault(msg, 10, 0),
    eventHeight: jspb.Message.getFieldWithDefault(msg, 11, 0),
    state: jspb.Message.getFieldWithDefault(msg, 12, ""),
    claimType: jspb.Message.getFieldWithDefault(msg, 13, 0),
    txHashesList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
    createdAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
    updatedAt: jspb.Message.getFieldWithDefault(msg, 16, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.PeggyWithdrawalTx;
  return proto.injective_explorer_rpc.PeggyWithdrawalTx.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.PeggyWithdrawalTx} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setSender(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setReceiver(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setAmount(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setDenom(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setBridgeFee(value);
      break;
    case 6:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setOutgoingTxId(value);
      break;
    case 7:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setBatchTimeout(value);
      break;
    case 8:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setBatchNonce(value);
      break;
    case 9:
      var value = /** @type {string} */ (reader.readString());
      msg.setOrchestratorAddress(value);
      break;
    case 10:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setEventNonce(value);
      break;
    case 11:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setEventHeight(value);
      break;
    case 12:
      var value = /** @type {string} */ (reader.readString());
      msg.setState(value);
      break;
    case 13:
      var value = /** @type {number} */ (reader.readSint32());
      msg.setClaimType(value);
      break;
    case 14:
      var value = /** @type {string} */ (reader.readString());
      msg.addTxHashes(value);
      break;
    case 15:
      var value = /** @type {string} */ (reader.readString());
      msg.setCreatedAt(value);
      break;
    case 16:
      var value = /** @type {string} */ (reader.readString());
      msg.setUpdatedAt(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.PeggyWithdrawalTx.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.PeggyWithdrawalTx} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSender();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getReceiver();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getAmount();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getDenom();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getBridgeFee();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getOutgoingTxId();
  if (f !== 0) {
    writer.writeUint64(
      6,
      f
    );
  }
  f = message.getBatchTimeout();
  if (f !== 0) {
    writer.writeUint64(
      7,
      f
    );
  }
  f = message.getBatchNonce();
  if (f !== 0) {
    writer.writeUint64(
      8,
      f
    );
  }
  f = message.getOrchestratorAddress();
  if (f.length > 0) {
    writer.writeString(
      9,
      f
    );
  }
  f = message.getEventNonce();
  if (f !== 0) {
    writer.writeUint64(
      10,
      f
    );
  }
  f = message.getEventHeight();
  if (f !== 0) {
    writer.writeUint64(
      11,
      f
    );
  }
  f = message.getState();
  if (f.length > 0) {
    writer.writeString(
      12,
      f
    );
  }
  f = message.getClaimType();
  if (f !== 0) {
    writer.writeSint32(
      13,
      f
    );
  }
  f = message.getTxHashesList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      14,
      f
    );
  }
  f = message.getCreatedAt();
  if (f.length > 0) {
    writer.writeString(
      15,
      f
    );
  }
  f = message.getUpdatedAt();
  if (f.length > 0) {
    writer.writeString(
      16,
      f
    );
  }
};


/**
 * optional string sender = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getSender = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setSender = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string receiver = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getReceiver = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setReceiver = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string amount = 3;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getAmount = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setAmount = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string denom = 4;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getDenom = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setDenom = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional string bridge_fee = 5;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getBridgeFee = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setBridgeFee = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional uint64 outgoing_tx_id = 6;
 * @return {number}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getOutgoingTxId = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setOutgoingTxId = function(value) {
  return jspb.Message.setProto3IntField(this, 6, value);
};


/**
 * optional uint64 batch_timeout = 7;
 * @return {number}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getBatchTimeout = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setBatchTimeout = function(value) {
  return jspb.Message.setProto3IntField(this, 7, value);
};


/**
 * optional uint64 batch_nonce = 8;
 * @return {number}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getBatchNonce = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setBatchNonce = function(value) {
  return jspb.Message.setProto3IntField(this, 8, value);
};


/**
 * optional string orchestrator_address = 9;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getOrchestratorAddress = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setOrchestratorAddress = function(value) {
  return jspb.Message.setProto3StringField(this, 9, value);
};


/**
 * optional uint64 event_nonce = 10;
 * @return {number}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getEventNonce = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setEventNonce = function(value) {
  return jspb.Message.setProto3IntField(this, 10, value);
};


/**
 * optional uint64 event_height = 11;
 * @return {number}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getEventHeight = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setEventHeight = function(value) {
  return jspb.Message.setProto3IntField(this, 11, value);
};


/**
 * optional string state = 12;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getState = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setState = function(value) {
  return jspb.Message.setProto3StringField(this, 12, value);
};


/**
 * optional sint32 claim_type = 13;
 * @return {number}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getClaimType = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setClaimType = function(value) {
  return jspb.Message.setProto3IntField(this, 13, value);
};


/**
 * repeated string tx_hashes = 14;
 * @return {!Array<string>}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getTxHashesList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 14));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setTxHashesList = function(value) {
  return jspb.Message.setField(this, 14, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.addTxHashes = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 14, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.clearTxHashesList = function() {
  return this.setTxHashesList([]);
};


/**
 * optional string created_at = 15;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getCreatedAt = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setCreatedAt = function(value) {
  return jspb.Message.setProto3StringField(this, 15, value);
};


/**
 * optional string updated_at = 16;
 * @return {string}
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.getUpdatedAt = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.PeggyWithdrawalTx} returns this
 */
proto.injective_explorer_rpc.PeggyWithdrawalTx.prototype.setUpdatedAt = function(value) {
  return jspb.Message.setProto3StringField(this, 16, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetIBCTransferTxsRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetIBCTransferTxsRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    sender: jspb.Message.getFieldWithDefault(msg, 1, ""),
    receiver: jspb.Message.getFieldWithDefault(msg, 2, ""),
    srcChannel: jspb.Message.getFieldWithDefault(msg, 3, ""),
    srcPort: jspb.Message.getFieldWithDefault(msg, 4, ""),
    destChannel: jspb.Message.getFieldWithDefault(msg, 5, ""),
    destPort: jspb.Message.getFieldWithDefault(msg, 6, ""),
    limit: jspb.Message.getFieldWithDefault(msg, 7, 0),
    skip: jspb.Message.getFieldWithDefault(msg, 8, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetIBCTransferTxsRequest}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetIBCTransferTxsRequest;
  return proto.injective_explorer_rpc.GetIBCTransferTxsRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetIBCTransferTxsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetIBCTransferTxsRequest}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setSender(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setReceiver(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setSrcChannel(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setSrcPort(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setDestChannel(value);
      break;
    case 6:
      var value = /** @type {string} */ (reader.readString());
      msg.setDestPort(value);
      break;
    case 7:
      var value = /** @type {number} */ (reader.readSint32());
      msg.setLimit(value);
      break;
    case 8:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setSkip(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetIBCTransferTxsRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetIBCTransferTxsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSender();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getReceiver();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getSrcChannel();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getSrcPort();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getDestChannel();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getDestPort();
  if (f.length > 0) {
    writer.writeString(
      6,
      f
    );
  }
  f = message.getLimit();
  if (f !== 0) {
    writer.writeSint32(
      7,
      f
    );
  }
  f = message.getSkip();
  if (f !== 0) {
    writer.writeUint64(
      8,
      f
    );
  }
};


/**
 * optional string sender = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.getSender = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetIBCTransferTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.setSender = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string receiver = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.getReceiver = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetIBCTransferTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.setReceiver = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string src_channel = 3;
 * @return {string}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.getSrcChannel = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetIBCTransferTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.setSrcChannel = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string src_port = 4;
 * @return {string}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.getSrcPort = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetIBCTransferTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.setSrcPort = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional string dest_channel = 5;
 * @return {string}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.getDestChannel = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetIBCTransferTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.setDestChannel = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional string dest_port = 6;
 * @return {string}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.getDestPort = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.GetIBCTransferTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.setDestPort = function(value) {
  return jspb.Message.setProto3StringField(this, 6, value);
};


/**
 * optional sint32 limit = 7;
 * @return {number}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.getLimit = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetIBCTransferTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.setLimit = function(value) {
  return jspb.Message.setProto3IntField(this, 7, value);
};


/**
 * optional uint64 skip = 8;
 * @return {number}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.getSkip = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.GetIBCTransferTxsRequest} returns this
 */
proto.injective_explorer_rpc.GetIBCTransferTxsRequest.prototype.setSkip = function(value) {
  return jspb.Message.setProto3IntField(this, 8, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.GetIBCTransferTxsResponse.repeatedFields_ = [1];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.GetIBCTransferTxsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.GetIBCTransferTxsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetIBCTransferTxsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    fieldList: jspb.Message.toObjectList(msg.getFieldList(),
    proto.injective_explorer_rpc.IBCTransferTx.toObject, includeInstance)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.GetIBCTransferTxsResponse}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.GetIBCTransferTxsResponse;
  return proto.injective_explorer_rpc.GetIBCTransferTxsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.GetIBCTransferTxsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.GetIBCTransferTxsResponse}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.injective_explorer_rpc.IBCTransferTx;
      reader.readMessage(value,proto.injective_explorer_rpc.IBCTransferTx.deserializeBinaryFromReader);
      msg.addField(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.GetIBCTransferTxsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.GetIBCTransferTxsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.GetIBCTransferTxsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getFieldList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.injective_explorer_rpc.IBCTransferTx.serializeBinaryToWriter
    );
  }
};


/**
 * repeated IBCTransferTx field = 1;
 * @return {!Array<!proto.injective_explorer_rpc.IBCTransferTx>}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsResponse.prototype.getFieldList = function() {
  return /** @type{!Array<!proto.injective_explorer_rpc.IBCTransferTx>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.injective_explorer_rpc.IBCTransferTx, 1));
};


/**
 * @param {!Array<!proto.injective_explorer_rpc.IBCTransferTx>} value
 * @return {!proto.injective_explorer_rpc.GetIBCTransferTxsResponse} returns this
*/
proto.injective_explorer_rpc.GetIBCTransferTxsResponse.prototype.setFieldList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.injective_explorer_rpc.IBCTransferTx=} opt_value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.IBCTransferTx}
 */
proto.injective_explorer_rpc.GetIBCTransferTxsResponse.prototype.addField = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.injective_explorer_rpc.IBCTransferTx, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.GetIBCTransferTxsResponse} returns this
 */
proto.injective_explorer_rpc.GetIBCTransferTxsResponse.prototype.clearFieldList = function() {
  return this.setFieldList([]);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.injective_explorer_rpc.IBCTransferTx.repeatedFields_ = [14];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.toObject = function(opt_includeInstance) {
  return proto.injective_explorer_rpc.IBCTransferTx.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.injective_explorer_rpc.IBCTransferTx} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.IBCTransferTx.toObject = function(includeInstance, msg) {
  var f, obj = {
    sender: jspb.Message.getFieldWithDefault(msg, 1, ""),
    receiver: jspb.Message.getFieldWithDefault(msg, 2, ""),
    sourcePort: jspb.Message.getFieldWithDefault(msg, 3, ""),
    sourceChannel: jspb.Message.getFieldWithDefault(msg, 4, ""),
    destinationPort: jspb.Message.getFieldWithDefault(msg, 5, ""),
    destinationChannel: jspb.Message.getFieldWithDefault(msg, 6, ""),
    amount: jspb.Message.getFieldWithDefault(msg, 7, ""),
    denom: jspb.Message.getFieldWithDefault(msg, 8, ""),
    timeoutHeight: jspb.Message.getFieldWithDefault(msg, 9, ""),
    timeoutTimestamp: jspb.Message.getFieldWithDefault(msg, 10, 0),
    packetSequence: jspb.Message.getFieldWithDefault(msg, 11, 0),
    dataHex: msg.getDataHex_asB64(),
    state: jspb.Message.getFieldWithDefault(msg, 13, ""),
    txHashesList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
    createdAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
    updatedAt: jspb.Message.getFieldWithDefault(msg, 16, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.injective_explorer_rpc.IBCTransferTx}
 */
proto.injective_explorer_rpc.IBCTransferTx.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.injective_explorer_rpc.IBCTransferTx;
  return proto.injective_explorer_rpc.IBCTransferTx.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.injective_explorer_rpc.IBCTransferTx} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.injective_explorer_rpc.IBCTransferTx}
 */
proto.injective_explorer_rpc.IBCTransferTx.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setSender(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setReceiver(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setSourcePort(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setSourceChannel(value);
      break;
    case 5:
      var value = /** @type {string} */ (reader.readString());
      msg.setDestinationPort(value);
      break;
    case 6:
      var value = /** @type {string} */ (reader.readString());
      msg.setDestinationChannel(value);
      break;
    case 7:
      var value = /** @type {string} */ (reader.readString());
      msg.setAmount(value);
      break;
    case 8:
      var value = /** @type {string} */ (reader.readString());
      msg.setDenom(value);
      break;
    case 9:
      var value = /** @type {string} */ (reader.readString());
      msg.setTimeoutHeight(value);
      break;
    case 10:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setTimeoutTimestamp(value);
      break;
    case 11:
      var value = /** @type {number} */ (reader.readUint64());
      msg.setPacketSequence(value);
      break;
    case 12:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.setDataHex(value);
      break;
    case 13:
      var value = /** @type {string} */ (reader.readString());
      msg.setState(value);
      break;
    case 14:
      var value = /** @type {string} */ (reader.readString());
      msg.addTxHashes(value);
      break;
    case 15:
      var value = /** @type {string} */ (reader.readString());
      msg.setCreatedAt(value);
      break;
    case 16:
      var value = /** @type {string} */ (reader.readString());
      msg.setUpdatedAt(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.injective_explorer_rpc.IBCTransferTx.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.injective_explorer_rpc.IBCTransferTx} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.injective_explorer_rpc.IBCTransferTx.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSender();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getReceiver();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getSourcePort();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getSourceChannel();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getDestinationPort();
  if (f.length > 0) {
    writer.writeString(
      5,
      f
    );
  }
  f = message.getDestinationChannel();
  if (f.length > 0) {
    writer.writeString(
      6,
      f
    );
  }
  f = message.getAmount();
  if (f.length > 0) {
    writer.writeString(
      7,
      f
    );
  }
  f = message.getDenom();
  if (f.length > 0) {
    writer.writeString(
      8,
      f
    );
  }
  f = message.getTimeoutHeight();
  if (f.length > 0) {
    writer.writeString(
      9,
      f
    );
  }
  f = message.getTimeoutTimestamp();
  if (f !== 0) {
    writer.writeUint64(
      10,
      f
    );
  }
  f = message.getPacketSequence();
  if (f !== 0) {
    writer.writeUint64(
      11,
      f
    );
  }
  f = message.getDataHex_asU8();
  if (f.length > 0) {
    writer.writeBytes(
      12,
      f
    );
  }
  f = message.getState();
  if (f.length > 0) {
    writer.writeString(
      13,
      f
    );
  }
  f = message.getTxHashesList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      14,
      f
    );
  }
  f = message.getCreatedAt();
  if (f.length > 0) {
    writer.writeString(
      15,
      f
    );
  }
  f = message.getUpdatedAt();
  if (f.length > 0) {
    writer.writeString(
      16,
      f
    );
  }
};


/**
 * optional string sender = 1;
 * @return {string}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getSender = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setSender = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string receiver = 2;
 * @return {string}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getReceiver = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setReceiver = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string source_port = 3;
 * @return {string}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getSourcePort = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setSourcePort = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional string source_channel = 4;
 * @return {string}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getSourceChannel = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setSourceChannel = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional string destination_port = 5;
 * @return {string}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getDestinationPort = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setDestinationPort = function(value) {
  return jspb.Message.setProto3StringField(this, 5, value);
};


/**
 * optional string destination_channel = 6;
 * @return {string}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getDestinationChannel = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setDestinationChannel = function(value) {
  return jspb.Message.setProto3StringField(this, 6, value);
};


/**
 * optional string amount = 7;
 * @return {string}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getAmount = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setAmount = function(value) {
  return jspb.Message.setProto3StringField(this, 7, value);
};


/**
 * optional string denom = 8;
 * @return {string}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getDenom = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setDenom = function(value) {
  return jspb.Message.setProto3StringField(this, 8, value);
};


/**
 * optional string timeout_height = 9;
 * @return {string}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getTimeoutHeight = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setTimeoutHeight = function(value) {
  return jspb.Message.setProto3StringField(this, 9, value);
};


/**
 * optional uint64 timeout_timestamp = 10;
 * @return {number}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getTimeoutTimestamp = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setTimeoutTimestamp = function(value) {
  return jspb.Message.setProto3IntField(this, 10, value);
};


/**
 * optional uint64 packet_sequence = 11;
 * @return {number}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getPacketSequence = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
};


/**
 * @param {number} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setPacketSequence = function(value) {
  return jspb.Message.setProto3IntField(this, 11, value);
};


/**
 * optional bytes data_hex = 12;
 * @return {!(string|Uint8Array)}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getDataHex = function() {
  return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
};


/**
 * optional bytes data_hex = 12;
 * This is a type-conversion wrapper around `getDataHex()`
 * @return {string}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getDataHex_asB64 = function() {
  return /** @type {string} */ (jspb.Message.bytesAsB64(
      this.getDataHex()));
};


/**
 * optional bytes data_hex = 12;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getDataHex()`
 * @return {!Uint8Array}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getDataHex_asU8 = function() {
  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
      this.getDataHex()));
};


/**
 * @param {!(string|Uint8Array)} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setDataHex = function(value) {
  return jspb.Message.setProto3BytesField(this, 12, value);
};


/**
 * optional string state = 13;
 * @return {string}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getState = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setState = function(value) {
  return jspb.Message.setProto3StringField(this, 13, value);
};


/**
 * repeated string tx_hashes = 14;
 * @return {!Array<string>}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getTxHashesList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 14));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setTxHashesList = function(value) {
  return jspb.Message.setField(this, 14, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.addTxHashes = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 14, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.clearTxHashesList = function() {
  return this.setTxHashesList([]);
};


/**
 * optional string created_at = 15;
 * @return {string}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getCreatedAt = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setCreatedAt = function(value) {
  return jspb.Message.setProto3StringField(this, 15, value);
};


/**
 * optional string updated_at = 16;
 * @return {string}
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.getUpdatedAt = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
};


/**
 * @param {string} value
 * @return {!proto.injective_explorer_rpc.IBCTransferTx} returns this
 */
proto.injective_explorer_rpc.IBCTransferTx.prototype.setUpdatedAt = function(value) {
  return jspb.Message.setProto3StringField(this, 16, value);
};


goog.object.extend(exports, proto.injective_explorer_rpc);