@injectivelabs/exchange-api
Version:
Injective Exchange API client with generated gRPC bindings.
1,563 lines • 51.2 kB
TypeScript
// package: injective_explorer_rpc
// file: injective_explorer_rpc.proto
import * as jspb from "google-protobuf";
export class GetAccountTxsRequest extends jspb.Message {
getAddress(): string;
setAddress(value: string): void;
getBefore(): number;
setBefore(value: number): void;
getAfter(): number;
setAfter(value: number): void;
getLimit(): number;
setLimit(value: number): void;
getSkip(): number;
setSkip(value: number): void;
getType(): string;
setType(value: string): void;
getModule(): string;
setModule(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetAccountTxsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetAccountTxsRequest): GetAccountTxsRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetAccountTxsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetAccountTxsRequest;
static deserializeBinaryFromReader(message: GetAccountTxsRequest, reader: jspb.BinaryReader): GetAccountTxsRequest;
}
export namespace GetAccountTxsRequest {
export type AsObject = {
address: string,
before: number,
after: number,
limit: number,
skip: number,
type: string,
module: string,
}
}
export class GetAccountTxsResponse extends jspb.Message {
hasPaging(): boolean;
clearPaging(): void;
getPaging(): Paging | undefined;
setPaging(value?: Paging): void;
clearDataList(): void;
getDataList(): Array<TxData>;
setDataList(value: Array<TxData>): void;
addData(value?: TxData, index?: number): TxData;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetAccountTxsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetAccountTxsResponse): GetAccountTxsResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetAccountTxsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetAccountTxsResponse;
static deserializeBinaryFromReader(message: GetAccountTxsResponse, reader: jspb.BinaryReader): GetAccountTxsResponse;
}
export namespace GetAccountTxsResponse {
export type AsObject = {
paging?: Paging.AsObject,
dataList: Array<TxData.AsObject>,
}
}
export class Paging extends jspb.Message {
getTotal(): number;
setTotal(value: number): void;
getFrom(): number;
setFrom(value: number): void;
getTo(): number;
setTo(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Paging.AsObject;
static toObject(includeInstance: boolean, msg: Paging): Paging.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Paging, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Paging;
static deserializeBinaryFromReader(message: Paging, reader: jspb.BinaryReader): Paging;
}
export namespace Paging {
export type AsObject = {
total: number,
from: number,
to: number,
}
}
export class TxData extends jspb.Message {
getId(): string;
setId(value: string): void;
getBlockNumber(): number;
setBlockNumber(value: number): void;
getBlockTimestamp(): string;
setBlockTimestamp(value: string): void;
getHash(): string;
setHash(value: string): void;
getCode(): number;
setCode(value: number): void;
getData(): Uint8Array | string;
getData_asU8(): Uint8Array;
getData_asB64(): string;
setData(value: Uint8Array | string): void;
getInfo(): string;
setInfo(value: string): void;
getGasWanted(): number;
setGasWanted(value: number): void;
getGasUsed(): number;
setGasUsed(value: number): void;
hasGasFee(): boolean;
clearGasFee(): void;
getGasFee(): GasFee | undefined;
setGasFee(value?: GasFee): void;
getCodespace(): string;
setCodespace(value: string): void;
clearEventsList(): void;
getEventsList(): Array<Event>;
setEventsList(value: Array<Event>): void;
addEvents(value?: Event, index?: number): Event;
getTxType(): string;
setTxType(value: string): void;
getMessages(): string;
setMessages(value: string): void;
clearSignaturesList(): void;
getSignaturesList(): Array<Signature>;
setSignaturesList(value: Array<Signature>): void;
addSignatures(value?: Signature, index?: number): Signature;
getMemo(): string;
setMemo(value: string): void;
getTxNumber(): number;
setTxNumber(value: number): void;
getBlockUnixTimestamp(): number;
setBlockUnixTimestamp(value: number): void;
getErrorLog(): string;
setErrorLog(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TxData.AsObject;
static toObject(includeInstance: boolean, msg: TxData): TxData.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: TxData, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TxData;
static deserializeBinaryFromReader(message: TxData, reader: jspb.BinaryReader): TxData;
}
export namespace TxData {
export type AsObject = {
id: string,
blockNumber: number,
blockTimestamp: string,
hash: string,
code: number,
data: Uint8Array | string,
info: string,
gasWanted: number,
gasUsed: number,
gasFee?: GasFee.AsObject,
codespace: string,
eventsList: Array<Event.AsObject>,
txType: string,
messages: string,
signaturesList: Array<Signature.AsObject>,
memo: string,
txNumber: number,
blockUnixTimestamp: number,
errorLog: string,
}
}
export class GasFee extends jspb.Message {
clearAmountList(): void;
getAmountList(): Array<CosmosCoin>;
setAmountList(value: Array<CosmosCoin>): void;
addAmount(value?: CosmosCoin, index?: number): CosmosCoin;
getGasLimit(): number;
setGasLimit(value: number): void;
getPayer(): string;
setPayer(value: string): void;
getGranter(): string;
setGranter(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GasFee.AsObject;
static toObject(includeInstance: boolean, msg: GasFee): GasFee.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GasFee, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GasFee;
static deserializeBinaryFromReader(message: GasFee, reader: jspb.BinaryReader): GasFee;
}
export namespace GasFee {
export type AsObject = {
amountList: Array<CosmosCoin.AsObject>,
gasLimit: number,
payer: string,
granter: string,
}
}
export class CosmosCoin extends jspb.Message {
getDenom(): string;
setDenom(value: string): void;
getAmount(): string;
setAmount(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CosmosCoin.AsObject;
static toObject(includeInstance: boolean, msg: CosmosCoin): CosmosCoin.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: CosmosCoin, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): CosmosCoin;
static deserializeBinaryFromReader(message: CosmosCoin, reader: jspb.BinaryReader): CosmosCoin;
}
export namespace CosmosCoin {
export type AsObject = {
denom: string,
amount: string,
}
}
export class Event extends jspb.Message {
getType(): string;
setType(value: string): void;
getAttributesMap(): jspb.Map<string, string>;
clearAttributesMap(): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Event.AsObject;
static toObject(includeInstance: boolean, msg: Event): Event.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Event, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Event;
static deserializeBinaryFromReader(message: Event, reader: jspb.BinaryReader): Event;
}
export namespace Event {
export type AsObject = {
type: string,
attributesMap: Array<[string, string]>,
}
}
export class Signature extends jspb.Message {
getPubkey(): string;
setPubkey(value: string): void;
getAddress(): string;
setAddress(value: string): void;
getSequence(): number;
setSequence(value: number): void;
getSignature(): string;
setSignature(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Signature.AsObject;
static toObject(includeInstance: boolean, msg: Signature): Signature.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Signature, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Signature;
static deserializeBinaryFromReader(message: Signature, reader: jspb.BinaryReader): Signature;
}
export namespace Signature {
export type AsObject = {
pubkey: string,
address: string,
sequence: number,
signature: string,
}
}
export class GetBlocksRequest extends jspb.Message {
getBefore(): number;
setBefore(value: number): void;
getAfter(): number;
setAfter(value: number): void;
getLimit(): number;
setLimit(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetBlocksRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetBlocksRequest): GetBlocksRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetBlocksRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetBlocksRequest;
static deserializeBinaryFromReader(message: GetBlocksRequest, reader: jspb.BinaryReader): GetBlocksRequest;
}
export namespace GetBlocksRequest {
export type AsObject = {
before: number,
after: number,
limit: number,
}
}
export class GetBlocksResponse extends jspb.Message {
hasPaging(): boolean;
clearPaging(): void;
getPaging(): Paging | undefined;
setPaging(value?: Paging): void;
clearDataList(): void;
getDataList(): Array<BlockInfo>;
setDataList(value: Array<BlockInfo>): void;
addData(value?: BlockInfo, index?: number): BlockInfo;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetBlocksResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetBlocksResponse): GetBlocksResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetBlocksResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetBlocksResponse;
static deserializeBinaryFromReader(message: GetBlocksResponse, reader: jspb.BinaryReader): GetBlocksResponse;
}
export namespace GetBlocksResponse {
export type AsObject = {
paging?: Paging.AsObject,
dataList: Array<BlockInfo.AsObject>,
}
}
export class BlockInfo extends jspb.Message {
getHeight(): number;
setHeight(value: number): void;
getProposer(): string;
setProposer(value: string): void;
getMoniker(): string;
setMoniker(value: string): void;
getBlockHash(): string;
setBlockHash(value: string): void;
getParentHash(): string;
setParentHash(value: string): void;
getNumPreCommits(): number;
setNumPreCommits(value: number): void;
getNumTxs(): number;
setNumTxs(value: number): void;
clearTxsList(): void;
getTxsList(): Array<TxData>;
setTxsList(value: Array<TxData>): void;
addTxs(value?: TxData, index?: number): TxData;
getTimestamp(): string;
setTimestamp(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BlockInfo.AsObject;
static toObject(includeInstance: boolean, msg: BlockInfo): BlockInfo.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: BlockInfo, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): BlockInfo;
static deserializeBinaryFromReader(message: BlockInfo, reader: jspb.BinaryReader): BlockInfo;
}
export namespace BlockInfo {
export type AsObject = {
height: number,
proposer: string,
moniker: string,
blockHash: string,
parentHash: string,
numPreCommits: number,
numTxs: number,
txsList: Array<TxData.AsObject>,
timestamp: string,
}
}
export class GetBlockRequest extends jspb.Message {
getId(): string;
setId(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetBlockRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetBlockRequest): GetBlockRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetBlockRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetBlockRequest;
static deserializeBinaryFromReader(message: GetBlockRequest, reader: jspb.BinaryReader): GetBlockRequest;
}
export namespace GetBlockRequest {
export type AsObject = {
id: string,
}
}
export class GetBlockResponse extends jspb.Message {
getHeight(): number;
setHeight(value: number): void;
getProposer(): string;
setProposer(value: string): void;
getMoniker(): string;
setMoniker(value: string): void;
getBlockHash(): string;
setBlockHash(value: string): void;
getParentHash(): string;
setParentHash(value: string): void;
getNumPreCommits(): number;
setNumPreCommits(value: number): void;
getNumTxs(): number;
setNumTxs(value: number): void;
clearTxsList(): void;
getTxsList(): Array<TxData>;
setTxsList(value: Array<TxData>): void;
addTxs(value?: TxData, index?: number): TxData;
getTimestamp(): string;
setTimestamp(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetBlockResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetBlockResponse): GetBlockResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetBlockResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetBlockResponse;
static deserializeBinaryFromReader(message: GetBlockResponse, reader: jspb.BinaryReader): GetBlockResponse;
}
export namespace GetBlockResponse {
export type AsObject = {
height: number,
proposer: string,
moniker: string,
blockHash: string,
parentHash: string,
numPreCommits: number,
numTxs: number,
txsList: Array<TxData.AsObject>,
timestamp: string,
}
}
export class GetValidatorRequest extends jspb.Message {
getAddress(): string;
setAddress(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetValidatorRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetValidatorRequest): GetValidatorRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetValidatorRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetValidatorRequest;
static deserializeBinaryFromReader(message: GetValidatorRequest, reader: jspb.BinaryReader): GetValidatorRequest;
}
export namespace GetValidatorRequest {
export type AsObject = {
address: string,
}
}
export class GetValidatorResponse extends jspb.Message {
getId(): string;
setId(value: string): void;
getMoniker(): string;
setMoniker(value: string): void;
getOperatorAddress(): string;
setOperatorAddress(value: string): void;
getConsensusAddress(): string;
setConsensusAddress(value: string): void;
getJailed(): boolean;
setJailed(value: boolean): void;
getStatus(): number;
setStatus(value: number): void;
getTokens(): string;
setTokens(value: string): void;
getDelegatorShares(): string;
setDelegatorShares(value: string): void;
hasDescription(): boolean;
clearDescription(): void;
getDescription(): ValidatorDescription | undefined;
setDescription(value?: ValidatorDescription): void;
getUnbondingHeight(): number;
setUnbondingHeight(value: number): void;
getUnbondingTime(): string;
setUnbondingTime(value: string): void;
getCommissionRate(): string;
setCommissionRate(value: string): void;
getCommissionMaxRate(): string;
setCommissionMaxRate(value: string): void;
getCommissionMaxChangeRate(): string;
setCommissionMaxChangeRate(value: string): void;
getCommissionUpdateTime(): string;
setCommissionUpdateTime(value: string): void;
getProposed(): number;
setProposed(value: number): void;
getSigned(): number;
setSigned(value: number): void;
getMissed(): number;
setMissed(value: number): void;
getTimestamp(): string;
setTimestamp(value: string): void;
clearUptimesList(): void;
getUptimesList(): Array<ValidatorUptime>;
setUptimesList(value: Array<ValidatorUptime>): void;
addUptimes(value?: ValidatorUptime, index?: number): ValidatorUptime;
clearSlashingEventsList(): void;
getSlashingEventsList(): Array<SlashingEvent>;
setSlashingEventsList(value: Array<SlashingEvent>): void;
addSlashingEvents(value?: SlashingEvent, index?: number): SlashingEvent;
getUptimePercentage(): number;
setUptimePercentage(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetValidatorResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetValidatorResponse): GetValidatorResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetValidatorResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetValidatorResponse;
static deserializeBinaryFromReader(message: GetValidatorResponse, reader: jspb.BinaryReader): GetValidatorResponse;
}
export namespace GetValidatorResponse {
export type AsObject = {
id: string,
moniker: string,
operatorAddress: string,
consensusAddress: string,
jailed: boolean,
status: number,
tokens: string,
delegatorShares: string,
description?: ValidatorDescription.AsObject,
unbondingHeight: number,
unbondingTime: string,
commissionRate: string,
commissionMaxRate: string,
commissionMaxChangeRate: string,
commissionUpdateTime: string,
proposed: number,
signed: number,
missed: number,
timestamp: string,
uptimesList: Array<ValidatorUptime.AsObject>,
slashingEventsList: Array<SlashingEvent.AsObject>,
uptimePercentage: number,
}
}
export class ValidatorDescription extends jspb.Message {
getMoniker(): string;
setMoniker(value: string): void;
getIdentity(): string;
setIdentity(value: string): void;
getWebsite(): string;
setWebsite(value: string): void;
getSecurityContact(): string;
setSecurityContact(value: string): void;
getDetails(): string;
setDetails(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ValidatorDescription.AsObject;
static toObject(includeInstance: boolean, msg: ValidatorDescription): ValidatorDescription.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: ValidatorDescription, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ValidatorDescription;
static deserializeBinaryFromReader(message: ValidatorDescription, reader: jspb.BinaryReader): ValidatorDescription;
}
export namespace ValidatorDescription {
export type AsObject = {
moniker: string,
identity: string,
website: string,
securityContact: string,
details: string,
}
}
export class ValidatorUptime extends jspb.Message {
getBlockNumber(): number;
setBlockNumber(value: number): void;
getStatus(): string;
setStatus(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ValidatorUptime.AsObject;
static toObject(includeInstance: boolean, msg: ValidatorUptime): ValidatorUptime.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: ValidatorUptime, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ValidatorUptime;
static deserializeBinaryFromReader(message: ValidatorUptime, reader: jspb.BinaryReader): ValidatorUptime;
}
export namespace ValidatorUptime {
export type AsObject = {
blockNumber: number,
status: string,
}
}
export class SlashingEvent extends jspb.Message {
getBlockNumber(): number;
setBlockNumber(value: number): void;
getBlockTimestamp(): string;
setBlockTimestamp(value: string): void;
getAddress(): string;
setAddress(value: string): void;
getPower(): number;
setPower(value: number): void;
getReason(): string;
setReason(value: string): void;
getJailed(): string;
setJailed(value: string): void;
getMissedBlocks(): number;
setMissedBlocks(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SlashingEvent.AsObject;
static toObject(includeInstance: boolean, msg: SlashingEvent): SlashingEvent.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: SlashingEvent, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SlashingEvent;
static deserializeBinaryFromReader(message: SlashingEvent, reader: jspb.BinaryReader): SlashingEvent;
}
export namespace SlashingEvent {
export type AsObject = {
blockNumber: number,
blockTimestamp: string,
address: string,
power: number,
reason: string,
jailed: string,
missedBlocks: number,
}
}
export class GetValidatorUptimeRequest extends jspb.Message {
getAddress(): string;
setAddress(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetValidatorUptimeRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetValidatorUptimeRequest): GetValidatorUptimeRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetValidatorUptimeRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetValidatorUptimeRequest;
static deserializeBinaryFromReader(message: GetValidatorUptimeRequest, reader: jspb.BinaryReader): GetValidatorUptimeRequest;
}
export namespace GetValidatorUptimeRequest {
export type AsObject = {
address: string,
}
}
export class GetValidatorUptimeResponse extends jspb.Message {
clearFieldList(): void;
getFieldList(): Array<ValidatorUptime>;
setFieldList(value: Array<ValidatorUptime>): void;
addField(value?: ValidatorUptime, index?: number): ValidatorUptime;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetValidatorUptimeResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetValidatorUptimeResponse): GetValidatorUptimeResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetValidatorUptimeResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetValidatorUptimeResponse;
static deserializeBinaryFromReader(message: GetValidatorUptimeResponse, reader: jspb.BinaryReader): GetValidatorUptimeResponse;
}
export namespace GetValidatorUptimeResponse {
export type AsObject = {
fieldList: Array<ValidatorUptime.AsObject>,
}
}
export class GetTxsRequest extends jspb.Message {
getBefore(): number;
setBefore(value: number): void;
getAfter(): number;
setAfter(value: number): void;
getLimit(): number;
setLimit(value: number): void;
getSkip(): number;
setSkip(value: number): void;
getType(): string;
setType(value: string): void;
getModule(): string;
setModule(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetTxsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetTxsRequest): GetTxsRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetTxsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetTxsRequest;
static deserializeBinaryFromReader(message: GetTxsRequest, reader: jspb.BinaryReader): GetTxsRequest;
}
export namespace GetTxsRequest {
export type AsObject = {
before: number,
after: number,
limit: number,
skip: number,
type: string,
module: string,
}
}
export class GetTxsResponse extends jspb.Message {
hasPaging(): boolean;
clearPaging(): void;
getPaging(): Paging | undefined;
setPaging(value?: Paging): void;
clearDataList(): void;
getDataList(): Array<TxData>;
setDataList(value: Array<TxData>): void;
addData(value?: TxData, index?: number): TxData;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetTxsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetTxsResponse): GetTxsResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetTxsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetTxsResponse;
static deserializeBinaryFromReader(message: GetTxsResponse, reader: jspb.BinaryReader): GetTxsResponse;
}
export namespace GetTxsResponse {
export type AsObject = {
paging?: Paging.AsObject,
dataList: Array<TxData.AsObject>,
}
}
export class GetTxByTxHashRequest extends jspb.Message {
getHash(): string;
setHash(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetTxByTxHashRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetTxByTxHashRequest): GetTxByTxHashRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetTxByTxHashRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetTxByTxHashRequest;
static deserializeBinaryFromReader(message: GetTxByTxHashRequest, reader: jspb.BinaryReader): GetTxByTxHashRequest;
}
export namespace GetTxByTxHashRequest {
export type AsObject = {
hash: string,
}
}
export class GetTxByTxHashResponse extends jspb.Message {
getId(): string;
setId(value: string): void;
getBlockNumber(): number;
setBlockNumber(value: number): void;
getBlockTimestamp(): string;
setBlockTimestamp(value: string): void;
getHash(): string;
setHash(value: string): void;
getCode(): number;
setCode(value: number): void;
getData(): Uint8Array | string;
getData_asU8(): Uint8Array;
getData_asB64(): string;
setData(value: Uint8Array | string): void;
getInfo(): string;
setInfo(value: string): void;
getGasWanted(): number;
setGasWanted(value: number): void;
getGasUsed(): number;
setGasUsed(value: number): void;
hasGasFee(): boolean;
clearGasFee(): void;
getGasFee(): GasFee | undefined;
setGasFee(value?: GasFee): void;
getCodespace(): string;
setCodespace(value: string): void;
clearEventsList(): void;
getEventsList(): Array<Event>;
setEventsList(value: Array<Event>): void;
addEvents(value?: Event, index?: number): Event;
getTxType(): string;
setTxType(value: string): void;
getMessages(): string;
setMessages(value: string): void;
clearSignaturesList(): void;
getSignaturesList(): Array<Signature>;
setSignaturesList(value: Array<Signature>): void;
addSignatures(value?: Signature, index?: number): Signature;
getMemo(): string;
setMemo(value: string): void;
getTxNumber(): number;
setTxNumber(value: number): void;
getBlockUnixTimestamp(): number;
setBlockUnixTimestamp(value: number): void;
getErrorLog(): string;
setErrorLog(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetTxByTxHashResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetTxByTxHashResponse): GetTxByTxHashResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetTxByTxHashResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetTxByTxHashResponse;
static deserializeBinaryFromReader(message: GetTxByTxHashResponse, reader: jspb.BinaryReader): GetTxByTxHashResponse;
}
export namespace GetTxByTxHashResponse {
export type AsObject = {
id: string,
blockNumber: number,
blockTimestamp: string,
hash: string,
code: number,
data: Uint8Array | string,
info: string,
gasWanted: number,
gasUsed: number,
gasFee?: GasFee.AsObject,
codespace: string,
eventsList: Array<Event.AsObject>,
txType: string,
messages: string,
signaturesList: Array<Signature.AsObject>,
memo: string,
txNumber: number,
blockUnixTimestamp: number,
errorLog: string,
}
}
export class StreamTxsRequest extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): StreamTxsRequest.AsObject;
static toObject(includeInstance: boolean, msg: StreamTxsRequest): StreamTxsRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: StreamTxsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): StreamTxsRequest;
static deserializeBinaryFromReader(message: StreamTxsRequest, reader: jspb.BinaryReader): StreamTxsRequest;
}
export namespace StreamTxsRequest {
export type AsObject = {
}
}
export class StreamTxsResponse extends jspb.Message {
getId(): string;
setId(value: string): void;
getBlockNumber(): number;
setBlockNumber(value: number): void;
getBlockTimestamp(): string;
setBlockTimestamp(value: string): void;
getHash(): string;
setHash(value: string): void;
getCode(): number;
setCode(value: number): void;
getData(): Uint8Array | string;
getData_asU8(): Uint8Array;
getData_asB64(): string;
setData(value: Uint8Array | string): void;
getInfo(): string;
setInfo(value: string): void;
getGasWanted(): number;
setGasWanted(value: number): void;
getGasUsed(): number;
setGasUsed(value: number): void;
hasGasFee(): boolean;
clearGasFee(): void;
getGasFee(): GasFee | undefined;
setGasFee(value?: GasFee): void;
getCodespace(): string;
setCodespace(value: string): void;
clearEventsList(): void;
getEventsList(): Array<Event>;
setEventsList(value: Array<Event>): void;
addEvents(value?: Event, index?: number): Event;
getTxType(): string;
setTxType(value: string): void;
getMessages(): string;
setMessages(value: string): void;
clearSignaturesList(): void;
getSignaturesList(): Array<Signature>;
setSignaturesList(value: Array<Signature>): void;
addSignatures(value?: Signature, index?: number): Signature;
getMemo(): string;
setMemo(value: string): void;
getTxNumber(): number;
setTxNumber(value: number): void;
getBlockUnixTimestamp(): number;
setBlockUnixTimestamp(value: number): void;
getErrorLog(): string;
setErrorLog(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): StreamTxsResponse.AsObject;
static toObject(includeInstance: boolean, msg: StreamTxsResponse): StreamTxsResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: StreamTxsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): StreamTxsResponse;
static deserializeBinaryFromReader(message: StreamTxsResponse, reader: jspb.BinaryReader): StreamTxsResponse;
}
export namespace StreamTxsResponse {
export type AsObject = {
id: string,
blockNumber: number,
blockTimestamp: string,
hash: string,
code: number,
data: Uint8Array | string,
info: string,
gasWanted: number,
gasUsed: number,
gasFee?: GasFee.AsObject,
codespace: string,
eventsList: Array<Event.AsObject>,
txType: string,
messages: string,
signaturesList: Array<Signature.AsObject>,
memo: string,
txNumber: number,
blockUnixTimestamp: number,
errorLog: string,
}
}
export class StreamBlocksRequest extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): StreamBlocksRequest.AsObject;
static toObject(includeInstance: boolean, msg: StreamBlocksRequest): StreamBlocksRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: StreamBlocksRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): StreamBlocksRequest;
static deserializeBinaryFromReader(message: StreamBlocksRequest, reader: jspb.BinaryReader): StreamBlocksRequest;
}
export namespace StreamBlocksRequest {
export type AsObject = {
}
}
export class StreamBlocksResponse extends jspb.Message {
getHeight(): number;
setHeight(value: number): void;
getProposer(): string;
setProposer(value: string): void;
getMoniker(): string;
setMoniker(value: string): void;
getBlockHash(): string;
setBlockHash(value: string): void;
getParentHash(): string;
setParentHash(value: string): void;
getNumPreCommits(): number;
setNumPreCommits(value: number): void;
getNumTxs(): number;
setNumTxs(value: number): void;
clearTxsList(): void;
getTxsList(): Array<TxData>;
setTxsList(value: Array<TxData>): void;
addTxs(value?: TxData, index?: number): TxData;
getTimestamp(): string;
setTimestamp(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): StreamBlocksResponse.AsObject;
static toObject(includeInstance: boolean, msg: StreamBlocksResponse): StreamBlocksResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: StreamBlocksResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): StreamBlocksResponse;
static deserializeBinaryFromReader(message: StreamBlocksResponse, reader: jspb.BinaryReader): StreamBlocksResponse;
}
export namespace StreamBlocksResponse {
export type AsObject = {
height: number,
proposer: string,
moniker: string,
blockHash: string,
parentHash: string,
numPreCommits: number,
numTxs: number,
txsList: Array<TxData.AsObject>,
timestamp: string,
}
}
export class GetPeggyDepositTxsRequest extends jspb.Message {
getSender(): string;
setSender(value: string): void;
getReceiver(): string;
setReceiver(value: string): void;
getLimit(): number;
setLimit(value: number): void;
getSkip(): number;
setSkip(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetPeggyDepositTxsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetPeggyDepositTxsRequest): GetPeggyDepositTxsRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetPeggyDepositTxsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetPeggyDepositTxsRequest;
static deserializeBinaryFromReader(message: GetPeggyDepositTxsRequest, reader: jspb.BinaryReader): GetPeggyDepositTxsRequest;
}
export namespace GetPeggyDepositTxsRequest {
export type AsObject = {
sender: string,
receiver: string,
limit: number,
skip: number,
}
}
export class GetPeggyDepositTxsResponse extends jspb.Message {
clearFieldList(): void;
getFieldList(): Array<PeggyDepositTx>;
setFieldList(value: Array<PeggyDepositTx>): void;
addField(value?: PeggyDepositTx, index?: number): PeggyDepositTx;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetPeggyDepositTxsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetPeggyDepositTxsResponse): GetPeggyDepositTxsResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetPeggyDepositTxsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetPeggyDepositTxsResponse;
static deserializeBinaryFromReader(message: GetPeggyDepositTxsResponse, reader: jspb.BinaryReader): GetPeggyDepositTxsResponse;
}
export namespace GetPeggyDepositTxsResponse {
export type AsObject = {
fieldList: Array<PeggyDepositTx.AsObject>,
}
}
export class PeggyDepositTx extends jspb.Message {
getSender(): string;
setSender(value: string): void;
getReceiver(): string;
setReceiver(value: string): void;
getEventNonce(): number;
setEventNonce(value: number): void;
getEventHeight(): number;
setEventHeight(value: number): void;
getAmount(): string;
setAmount(value: string): void;
getDenom(): string;
setDenom(value: string): void;
getOrchestratorAddress(): string;
setOrchestratorAddress(value: string): void;
getState(): string;
setState(value: string): void;
getClaimType(): number;
setClaimType(value: number): void;
clearTxHashesList(): void;
getTxHashesList(): Array<string>;
setTxHashesList(value: Array<string>): void;
addTxHashes(value: string, index?: number): string;
getCreatedAt(): string;
setCreatedAt(value: string): void;
getUpdatedAt(): string;
setUpdatedAt(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PeggyDepositTx.AsObject;
static toObject(includeInstance: boolean, msg: PeggyDepositTx): PeggyDepositTx.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: PeggyDepositTx, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PeggyDepositTx;
static deserializeBinaryFromReader(message: PeggyDepositTx, reader: jspb.BinaryReader): PeggyDepositTx;
}
export namespace PeggyDepositTx {
export type AsObject = {
sender: string,
receiver: string,
eventNonce: number,
eventHeight: number,
amount: string,
denom: string,
orchestratorAddress: string,
state: string,
claimType: number,
txHashesList: Array<string>,
createdAt: string,
updatedAt: string,
}
}
export class GetPeggyWithdrawalTxsRequest extends jspb.Message {
getSender(): string;
setSender(value: string): void;
getReceiver(): string;
setReceiver(value: string): void;
getLimit(): number;
setLimit(value: number): void;
getSkip(): number;
setSkip(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetPeggyWithdrawalTxsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetPeggyWithdrawalTxsRequest): GetPeggyWithdrawalTxsRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetPeggyWithdrawalTxsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetPeggyWithdrawalTxsRequest;
static deserializeBinaryFromReader(message: GetPeggyWithdrawalTxsRequest, reader: jspb.BinaryReader): GetPeggyWithdrawalTxsRequest;
}
export namespace GetPeggyWithdrawalTxsRequest {
export type AsObject = {
sender: string,
receiver: string,
limit: number,
skip: number,
}
}
export class GetPeggyWithdrawalTxsResponse extends jspb.Message {
clearFieldList(): void;
getFieldList(): Array<PeggyWithdrawalTx>;
setFieldList(value: Array<PeggyWithdrawalTx>): void;
addField(value?: PeggyWithdrawalTx, index?: number): PeggyWithdrawalTx;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetPeggyWithdrawalTxsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetPeggyWithdrawalTxsResponse): GetPeggyWithdrawalTxsResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetPeggyWithdrawalTxsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetPeggyWithdrawalTxsResponse;
static deserializeBinaryFromReader(message: GetPeggyWithdrawalTxsResponse, reader: jspb.BinaryReader): GetPeggyWithdrawalTxsResponse;
}
export namespace GetPeggyWithdrawalTxsResponse {
export type AsObject = {
fieldList: Array<PeggyWithdrawalTx.AsObject>,
}
}
export class PeggyWithdrawalTx extends jspb.Message {
getSender(): string;
setSender(value: string): void;
getReceiver(): string;
setReceiver(value: string): void;
getAmount(): string;
setAmount(value: string): void;
getDenom(): string;
setDenom(value: string): void;
getBridgeFee(): string;
setBridgeFee(value: string): void;
getOutgoingTxId(): number;
setOutgoingTxId(value: number): void;
getBatchTimeout(): number;
setBatchTimeout(value: number): void;
getBatchNonce(): number;
setBatchNonce(value: number): void;
getOrchestratorAddress(): string;
setOrchestratorAddress(value: string): void;
getEventNonce(): number;
setEventNonce(value: number): void;
getEventHeight(): number;
setEventHeight(value: number): void;
getState(): string;
setState(value: string): void;
getClaimType(): number;
setClaimType(value: number): void;
clearTxHashesList(): void;
getTxHashesList(): Array<string>;
setTxHashesList(value: Array<string>): void;
addTxHashes(value: string, index?: number): string;
getCreatedAt(): string;
setCreatedAt(value: string): void;
getUpdatedAt(): string;
setUpdatedAt(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PeggyWithdrawalTx.AsObject;
static toObject(includeInstance: boolean, msg: PeggyWithdrawalTx): PeggyWithdrawalTx.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: PeggyWithdrawalTx, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PeggyWithdrawalTx;
static deserializeBinaryFromReader(message: PeggyWithdrawalTx, reader: jspb.BinaryReader): PeggyWithdrawalTx;
}
export namespace PeggyWithdrawalTx {
export type AsObject = {
sender: string,
receiver: string,
amount: string,
denom: string,
bridgeFee: string,
outgoingTxId: number,
batchTimeout: number,
batchNonce: number,
orchestratorAddress: string,
eventNonce: number,
eventHeight: number,
state: string,
claimType: number,
txHashesList: Array<string>,
createdAt: string,
updatedAt: string,
}
}
export class GetIBCTransferTxsRequest extends jspb.Message {
getSender(): string;
setSender(value: string): void;
getReceiver(): string;
setReceiver(value: string): void;
getSrcChannel(): string;
setSrcChannel(value: string): void;
getSrcPort(): string;
setSrcPort(value: string): void;
getDestChannel(): string;
setDestChannel(value: string): void;
getDestPort(): string;
setDestPort(value: string): void;
getLimit(): number;
setLimit(value: number): void;
getSkip(): number;
setSkip(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetIBCTransferTxsRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetIBCTransferTxsRequest): GetIBCTransferTxsRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetIBCTransferTxsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetIBCTransferTxsRequest;
static deserializeBinaryFromReader(message: GetIBCTransferTxsRequest, reader: jspb.BinaryReader): GetIBCTransferTxsRequest;
}
export namespace GetIBCTransferTxsRequest {
export type AsObject = {
sender: string,
receiver: string,
srcChannel: string,
srcPort: string,
destChannel: string,
destPort: string,
limit: number,
skip: number,
}
}
export class GetIBCTransferTxsResponse extends jspb.Message {
clearFieldList(): void;
getFieldList(): Array<IBCTransferTx>;
setFieldList(value: Array<IBCTransferTx>): void;
addField(value?: IBCTransferTx, index?: number): IBCTransferTx;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetIBCTransferTxsResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetIBCTransferTxsResponse): GetIBCTransferTxsResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetIBCTransferTxsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetIBCTransferTxsResponse;
static deserializeBinaryFromReader(message: GetIBCTransferTxsResponse, reader: jspb.BinaryReader): GetIBCTransferTxsResponse;
}
export namespace GetIBCTransferTxsResponse {
export type AsObject = {
fieldList: Array<IBCTransferTx.AsObject>,
}
}
export class IBCTransferTx extends jspb.Message {
getSender(): string;
setSender(value: string): void;
getReceiver(): string;
setReceiver(value: string): void;
getSourcePort(): string;
setSourcePort(value: string): void;
getSourceChannel(): string;
setSourceChannel(value: string): void;
getDestinationPort(): string;
setDestinationPort(value: string): void;
getDestinationChannel(): string;
setDestinationChannel(value: string): void;
getAmount(): string;
setAmount(value: string): void;
getDenom(): string;
setDenom(value: string): void;
getTimeoutHeight(): string;
setTimeoutHeight(value: string): void;
getTimeoutTimestamp(): number;
setTimeoutTimestamp(value: number): void;
getPacketSequence(): number;
setPacketSequence(value: number): void;
getDataHex(): Uint8Array | string;
getDataHex_asU8(): Uint8Array;
getDataHex_asB64(): string;
setDataHex(value: Uint8Array | string): void;
getState(): string;
setState(value: string): void;
clearTxHashesList(): void;
getTxHashesList(): Array<string>;
setTxHashesList(value: Array<string>): void;
addTxHashes(value: string, index?: number): string;
getCreatedAt(): string;
setCreatedAt(value: string): void;
getUpdatedAt(): string;
setUpdatedAt(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): IBCTransferTx.AsObject;
static toObject(includeInstance: boolean, msg: IBCTransferTx): IBCTransferTx.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: IBCTransferTx, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): IBCTransferTx;
static deserializeBinaryFromReader(message: IBCTransferTx, reader: jspb.BinaryReader): IBCTransferTx;
}
export namespace IBCTransferTx {
export type AsObject = {
sender: string,
receiver: string,
sourcePort: string,
sourceChannel: string,
destinationPort: string,
destinationChannel: string,
amount: string,
denom: string,
timeoutHeight: string,
timeoutTimestamp: number,
packetSequence: number,
dataHex: Uint8Array | string,
state: string,
txHashesList: Array<string>,
createdAt: string,
updatedAt: string,
}
}