import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { AggregateAccountVolumeRecord, BinaryOptionsMarket, CampaignRewardPool, DenomDecimals, Deposit, DerivativeMarket, ExpiryFuturesMarketInfo, FeeDiscountSchedule, FeeDiscountTierInfo, FeeDiscountTierTTL, Level, MarketVolume, MidPriceAndTOB, Params, PerpetualMarketFunding, PerpetualMarketInfo, Position, SpotMarket, SubaccountOrderbookMetadata, SubaccountOrderData, TradeRecord, TradeRecords, TradingRewardCampaignInfo, VolumeRecord } from "./exchange_pb.js"; import { Balance, DerivativePosition, GenesisState } from "./genesis_pb.js"; import { MetadataStatistics } from "../../oracle/v1beta1/oracle_pb.js"; /** * @generated from enum injective.exchange.v1beta1.OrderSide */ export declare enum OrderSide { /** * will return both * * @generated from enum value: Side_Unspecified = 0; */ Side_Unspecified = 0, /** * @generated from enum value: Buy = 1; */ Buy = 1, /** * @generated from enum value: Sell = 2; */ Sell = 2 } /** * CancellationStrategy is the list of cancellation strategies. * * @generated from enum injective.exchange.v1beta1.CancellationStrategy */ export declare enum CancellationStrategy { /** * just cancelling in random order in most efficient way * * @generated from enum value: UnspecifiedOrder = 0; */ UnspecifiedOrder = 0, /** * e.g. for buy orders from lowest to highest price * * @generated from enum value: FromWorstToBest = 1; */ FromWorstToBest = 1, /** * e.g. for buy orders from higest to lowest price * * @generated from enum value: FromBestToWorst = 2; */ FromBestToWorst = 2 } /** * @generated from message injective.exchange.v1beta1.Subaccount */ export declare class Subaccount extends Message { /** * @generated from field: string trader = 1; */ trader: string; /** * @generated from field: uint32 subaccount_nonce = 2; */ subaccountNonce: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.Subaccount"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Subaccount; static fromJson(jsonValue: JsonValue, options?: Partial): Subaccount; static fromJsonString(jsonString: string, options?: Partial): Subaccount; static equals(a: Subaccount | PlainMessage | undefined, b: Subaccount | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.QuerySubaccountOrdersRequest */ export declare class QuerySubaccountOrdersRequest extends Message { /** * @generated from field: string subaccount_id = 1; */ subaccountId: string; /** * @generated from field: string market_id = 2; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountOrdersRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountOrdersRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountOrdersRequest; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountOrdersRequest; static equals(a: QuerySubaccountOrdersRequest | PlainMessage | undefined, b: QuerySubaccountOrdersRequest | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.QuerySubaccountOrdersResponse */ export declare class QuerySubaccountOrdersResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.SubaccountOrderData buy_orders = 1; */ buyOrders: SubaccountOrderData[]; /** * @generated from field: repeated injective.exchange.v1beta1.SubaccountOrderData sell_orders = 2; */ sellOrders: SubaccountOrderData[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountOrdersResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountOrdersResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountOrdersResponse; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountOrdersResponse; static equals(a: QuerySubaccountOrdersResponse | PlainMessage | undefined, b: QuerySubaccountOrdersResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.SubaccountOrderbookMetadataWithMarket */ export declare class SubaccountOrderbookMetadataWithMarket extends Message { /** * @generated from field: injective.exchange.v1beta1.SubaccountOrderbookMetadata metadata = 1; */ metadata?: SubaccountOrderbookMetadata; /** * @generated from field: string market_id = 2; */ marketId: string; /** * @generated from field: bool isBuy = 3; */ isBuy: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.SubaccountOrderbookMetadataWithMarket"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SubaccountOrderbookMetadataWithMarket; static fromJson(jsonValue: JsonValue, options?: Partial): SubaccountOrderbookMetadataWithMarket; static fromJsonString(jsonString: string, options?: Partial): SubaccountOrderbookMetadataWithMarket; static equals(a: SubaccountOrderbookMetadataWithMarket | PlainMessage | undefined, b: SubaccountOrderbookMetadataWithMarket | PlainMessage | undefined): boolean; } /** * QueryExchangeParamsRequest is the request type for the Query/ExchangeParams * RPC method. * * @generated from message injective.exchange.v1beta1.QueryExchangeParamsRequest */ export declare class QueryExchangeParamsRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryExchangeParamsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryExchangeParamsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryExchangeParamsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryExchangeParamsRequest; static equals(a: QueryExchangeParamsRequest | PlainMessage | undefined, b: QueryExchangeParamsRequest | PlainMessage | undefined): boolean; } /** * QueryExchangeParamsRequest is the response type for the Query/ExchangeParams * RPC method. * * @generated from message injective.exchange.v1beta1.QueryExchangeParamsResponse */ export declare class QueryExchangeParamsResponse extends Message { /** * @generated from field: injective.exchange.v1beta1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryExchangeParamsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryExchangeParamsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryExchangeParamsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryExchangeParamsResponse; static equals(a: QueryExchangeParamsResponse | PlainMessage | undefined, b: QueryExchangeParamsResponse | PlainMessage | undefined): boolean; } /** * QuerySubaccountDepositsRequest is the request type for the * Query/SubaccountDeposits RPC method. * * @generated from message injective.exchange.v1beta1.QuerySubaccountDepositsRequest */ export declare class QuerySubaccountDepositsRequest extends Message { /** * @generated from field: string subaccount_id = 1; */ subaccountId: string; /** * @generated from field: injective.exchange.v1beta1.Subaccount subaccount = 2; */ subaccount?: Subaccount; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountDepositsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountDepositsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountDepositsRequest; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountDepositsRequest; static equals(a: QuerySubaccountDepositsRequest | PlainMessage | undefined, b: QuerySubaccountDepositsRequest | PlainMessage | undefined): boolean; } /** * QuerySubaccountDepositsResponse is the response type for the * Query/SubaccountDeposits RPC method. * * @generated from message injective.exchange.v1beta1.QuerySubaccountDepositsResponse */ export declare class QuerySubaccountDepositsResponse extends Message { /** * @generated from field: map deposits = 1; */ deposits: { [key: string]: Deposit; }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountDepositsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountDepositsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountDepositsResponse; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountDepositsResponse; static equals(a: QuerySubaccountDepositsResponse | PlainMessage | undefined, b: QuerySubaccountDepositsResponse | PlainMessage | undefined): boolean; } /** * QueryExchangeBalancesRequest is the request type for the * Query/ExchangeBalances RPC method. * * @generated from message injective.exchange.v1beta1.QueryExchangeBalancesRequest */ export declare class QueryExchangeBalancesRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryExchangeBalancesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryExchangeBalancesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryExchangeBalancesRequest; static fromJsonString(jsonString: string, options?: Partial): QueryExchangeBalancesRequest; static equals(a: QueryExchangeBalancesRequest | PlainMessage | undefined, b: QueryExchangeBalancesRequest | PlainMessage | undefined): boolean; } /** * QuerySubaccountDepositsResponse is the response type for the * Query/SubaccountDeposits RPC method. * * @generated from message injective.exchange.v1beta1.QueryExchangeBalancesResponse */ export declare class QueryExchangeBalancesResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.Balance balances = 1; */ balances: Balance[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryExchangeBalancesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryExchangeBalancesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryExchangeBalancesResponse; static fromJsonString(jsonString: string, options?: Partial): QueryExchangeBalancesResponse; static equals(a: QueryExchangeBalancesResponse | PlainMessage | undefined, b: QueryExchangeBalancesResponse | PlainMessage | undefined): boolean; } /** * QueryAggregateVolumeRequest is the request type for the Query/AggregateVolume * RPC method. * * @generated from message injective.exchange.v1beta1.QueryAggregateVolumeRequest */ export declare class QueryAggregateVolumeRequest extends Message { /** * can either be an address or a subaccount * * @generated from field: string account = 1; */ account: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryAggregateVolumeRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAggregateVolumeRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAggregateVolumeRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAggregateVolumeRequest; static equals(a: QueryAggregateVolumeRequest | PlainMessage | undefined, b: QueryAggregateVolumeRequest | PlainMessage | undefined): boolean; } /** * QueryAggregateVolumeResponse is the response type for the * Query/AggregateVolume RPC method. * * @generated from message injective.exchange.v1beta1.QueryAggregateVolumeResponse */ export declare class QueryAggregateVolumeResponse extends Message { /** * if an address is specified, then the aggregate_volumes will aggregate the * volumes across all subaccounts for the address * * @generated from field: repeated injective.exchange.v1beta1.MarketVolume aggregate_volumes = 1; */ aggregateVolumes: MarketVolume[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryAggregateVolumeResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAggregateVolumeResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAggregateVolumeResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAggregateVolumeResponse; static equals(a: QueryAggregateVolumeResponse | PlainMessage | undefined, b: QueryAggregateVolumeResponse | PlainMessage | undefined): boolean; } /** * QueryAggregateVolumesRequest is the request type for the * Query/AggregateVolumes RPC method. * * @generated from message injective.exchange.v1beta1.QueryAggregateVolumesRequest */ export declare class QueryAggregateVolumesRequest extends Message { /** * @generated from field: repeated string accounts = 1; */ accounts: string[]; /** * @generated from field: repeated string market_ids = 2; */ marketIds: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryAggregateVolumesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAggregateVolumesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAggregateVolumesRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAggregateVolumesRequest; static equals(a: QueryAggregateVolumesRequest | PlainMessage | undefined, b: QueryAggregateVolumesRequest | PlainMessage | undefined): boolean; } /** * QueryAggregateVolumesResponse is the response type for the * Query/AggregateVolumes RPC method. * * @generated from message injective.exchange.v1beta1.QueryAggregateVolumesResponse */ export declare class QueryAggregateVolumesResponse extends Message { /** * the aggregate volume records for the accounts specified * * @generated from field: repeated injective.exchange.v1beta1.AggregateAccountVolumeRecord aggregate_account_volumes = 1; */ aggregateAccountVolumes: AggregateAccountVolumeRecord[]; /** * the aggregate volumes for the markets specified * * @generated from field: repeated injective.exchange.v1beta1.MarketVolume aggregate_market_volumes = 2; */ aggregateMarketVolumes: MarketVolume[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryAggregateVolumesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAggregateVolumesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAggregateVolumesResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAggregateVolumesResponse; static equals(a: QueryAggregateVolumesResponse | PlainMessage | undefined, b: QueryAggregateVolumesResponse | PlainMessage | undefined): boolean; } /** * QueryAggregateMarketVolumeRequest is the request type for the * Query/AggregateMarketVolume RPC method. * * @generated from message injective.exchange.v1beta1.QueryAggregateMarketVolumeRequest */ export declare class QueryAggregateMarketVolumeRequest extends Message { /** * @generated from field: string market_id = 1; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryAggregateMarketVolumeRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAggregateMarketVolumeRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAggregateMarketVolumeRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAggregateMarketVolumeRequest; static equals(a: QueryAggregateMarketVolumeRequest | PlainMessage | undefined, b: QueryAggregateMarketVolumeRequest | PlainMessage | undefined): boolean; } /** * QueryAggregateMarketVolumeResponse is the response type for the * Query/AggregateMarketVolume RPC method. * * @generated from message injective.exchange.v1beta1.QueryAggregateMarketVolumeResponse */ export declare class QueryAggregateMarketVolumeResponse extends Message { /** * @generated from field: injective.exchange.v1beta1.VolumeRecord volume = 1; */ volume?: VolumeRecord; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryAggregateMarketVolumeResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAggregateMarketVolumeResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAggregateMarketVolumeResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAggregateMarketVolumeResponse; static equals(a: QueryAggregateMarketVolumeResponse | PlainMessage | undefined, b: QueryAggregateMarketVolumeResponse | PlainMessage | undefined): boolean; } /** * QueryDenomDecimalRequest is the request type for the Query/DenomDecimal RPC * method. * * @generated from message injective.exchange.v1beta1.QueryDenomDecimalRequest */ export declare class QueryDenomDecimalRequest extends Message { /** * @generated from field: string denom = 1; */ denom: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDenomDecimalRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDenomDecimalRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDenomDecimalRequest; static fromJsonString(jsonString: string, options?: Partial): QueryDenomDecimalRequest; static equals(a: QueryDenomDecimalRequest | PlainMessage | undefined, b: QueryDenomDecimalRequest | PlainMessage | undefined): boolean; } /** * QueryDenomDecimalResponse is the response type for the Query/DenomDecimal RPC * method. * * @generated from message injective.exchange.v1beta1.QueryDenomDecimalResponse */ export declare class QueryDenomDecimalResponse extends Message { /** * @generated from field: uint64 decimal = 1; */ decimal: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDenomDecimalResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDenomDecimalResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDenomDecimalResponse; static fromJsonString(jsonString: string, options?: Partial): QueryDenomDecimalResponse; static equals(a: QueryDenomDecimalResponse | PlainMessage | undefined, b: QueryDenomDecimalResponse | PlainMessage | undefined): boolean; } /** * QueryDenomDecimalsRequest is the request type for the Query/DenomDecimals RPC * method. * * @generated from message injective.exchange.v1beta1.QueryDenomDecimalsRequest */ export declare class QueryDenomDecimalsRequest extends Message { /** * denoms can be empty to query all denom decimals * * @generated from field: repeated string denoms = 1; */ denoms: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDenomDecimalsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDenomDecimalsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDenomDecimalsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryDenomDecimalsRequest; static equals(a: QueryDenomDecimalsRequest | PlainMessage | undefined, b: QueryDenomDecimalsRequest | PlainMessage | undefined): boolean; } /** * QueryDenomDecimalsRequest is the response type for the Query/DenomDecimals * RPC method. * * @generated from message injective.exchange.v1beta1.QueryDenomDecimalsResponse */ export declare class QueryDenomDecimalsResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.DenomDecimals denom_decimals = 1; */ denomDecimals: DenomDecimals[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDenomDecimalsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDenomDecimalsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDenomDecimalsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryDenomDecimalsResponse; static equals(a: QueryDenomDecimalsResponse | PlainMessage | undefined, b: QueryDenomDecimalsResponse | PlainMessage | undefined): boolean; } /** * QueryAggregateMarketVolumesRequest is the request type for the * Query/AggregateMarketVolumes RPC method. * * @generated from message injective.exchange.v1beta1.QueryAggregateMarketVolumesRequest */ export declare class QueryAggregateMarketVolumesRequest extends Message { /** * @generated from field: repeated string market_ids = 1; */ marketIds: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryAggregateMarketVolumesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAggregateMarketVolumesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAggregateMarketVolumesRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAggregateMarketVolumesRequest; static equals(a: QueryAggregateMarketVolumesRequest | PlainMessage | undefined, b: QueryAggregateMarketVolumesRequest | PlainMessage | undefined): boolean; } /** * QueryAggregateMarketVolumesResponse is the response type for the * Query/AggregateMarketVolumes RPC method. * * @generated from message injective.exchange.v1beta1.QueryAggregateMarketVolumesResponse */ export declare class QueryAggregateMarketVolumesResponse extends Message { /** * the aggregate volumes for the entire market * * @generated from field: repeated injective.exchange.v1beta1.MarketVolume volumes = 1; */ volumes: MarketVolume[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryAggregateMarketVolumesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAggregateMarketVolumesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAggregateMarketVolumesResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAggregateMarketVolumesResponse; static equals(a: QueryAggregateMarketVolumesResponse | PlainMessage | undefined, b: QueryAggregateMarketVolumesResponse | PlainMessage | undefined): boolean; } /** * QuerySubaccountDepositsRequest is the request type for the * Query/SubaccountDeposits RPC method. * * @generated from message injective.exchange.v1beta1.QuerySubaccountDepositRequest */ export declare class QuerySubaccountDepositRequest extends Message { /** * @generated from field: string subaccount_id = 1; */ subaccountId: string; /** * @generated from field: string denom = 2; */ denom: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountDepositRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountDepositRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountDepositRequest; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountDepositRequest; static equals(a: QuerySubaccountDepositRequest | PlainMessage | undefined, b: QuerySubaccountDepositRequest | PlainMessage | undefined): boolean; } /** * QuerySubaccountDepositsResponse is the response type for the * Query/SubaccountDeposits RPC method. * * @generated from message injective.exchange.v1beta1.QuerySubaccountDepositResponse */ export declare class QuerySubaccountDepositResponse extends Message { /** * @generated from field: injective.exchange.v1beta1.Deposit deposits = 1; */ deposits?: Deposit; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountDepositResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountDepositResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountDepositResponse; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountDepositResponse; static equals(a: QuerySubaccountDepositResponse | PlainMessage | undefined, b: QuerySubaccountDepositResponse | PlainMessage | undefined): boolean; } /** * QuerySpotMarketsRequest is the request type for the Query/SpotMarkets RPC * method. * * @generated from message injective.exchange.v1beta1.QuerySpotMarketsRequest */ export declare class QuerySpotMarketsRequest extends Message { /** * Status of the market, for convenience it is set to string - not enum * * @generated from field: string status = 1; */ status: string; /** * Filter by market IDs * * @generated from field: repeated string market_ids = 2; */ marketIds: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySpotMarketsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySpotMarketsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySpotMarketsRequest; static fromJsonString(jsonString: string, options?: Partial): QuerySpotMarketsRequest; static equals(a: QuerySpotMarketsRequest | PlainMessage | undefined, b: QuerySpotMarketsRequest | PlainMessage | undefined): boolean; } /** * QuerySpotMarketsResponse is the response type for the Query/SpotMarkets RPC * method. * * @generated from message injective.exchange.v1beta1.QuerySpotMarketsResponse */ export declare class QuerySpotMarketsResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.SpotMarket markets = 1; */ markets: SpotMarket[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySpotMarketsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySpotMarketsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySpotMarketsResponse; static fromJsonString(jsonString: string, options?: Partial): QuerySpotMarketsResponse; static equals(a: QuerySpotMarketsResponse | PlainMessage | undefined, b: QuerySpotMarketsResponse | PlainMessage | undefined): boolean; } /** * QuerySpotMarketRequest is the request type for the Query/SpotMarket RPC * method. * * @generated from message injective.exchange.v1beta1.QuerySpotMarketRequest */ export declare class QuerySpotMarketRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySpotMarketRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySpotMarketRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySpotMarketRequest; static fromJsonString(jsonString: string, options?: Partial): QuerySpotMarketRequest; static equals(a: QuerySpotMarketRequest | PlainMessage | undefined, b: QuerySpotMarketRequest | PlainMessage | undefined): boolean; } /** * QuerySpotMarketResponse is the response type for the Query/SpotMarket RPC * method. * * @generated from message injective.exchange.v1beta1.QuerySpotMarketResponse */ export declare class QuerySpotMarketResponse extends Message { /** * @generated from field: injective.exchange.v1beta1.SpotMarket market = 1; */ market?: SpotMarket; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySpotMarketResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySpotMarketResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySpotMarketResponse; static fromJsonString(jsonString: string, options?: Partial): QuerySpotMarketResponse; static equals(a: QuerySpotMarketResponse | PlainMessage | undefined, b: QuerySpotMarketResponse | PlainMessage | undefined): boolean; } /** * QuerySpotOrderbookRequest is the request type for the Query/SpotOrderbook RPC * method. * * @generated from message injective.exchange.v1beta1.QuerySpotOrderbookRequest */ export declare class QuerySpotOrderbookRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; /** * @generated from field: uint64 limit = 2; */ limit: bigint; /** * @generated from field: injective.exchange.v1beta1.OrderSide order_side = 3; */ orderSide: OrderSide; /** * @generated from field: string limit_cumulative_notional = 4; */ limitCumulativeNotional: string; /** * @generated from field: string limit_cumulative_quantity = 5; */ limitCumulativeQuantity: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySpotOrderbookRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySpotOrderbookRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySpotOrderbookRequest; static fromJsonString(jsonString: string, options?: Partial): QuerySpotOrderbookRequest; static equals(a: QuerySpotOrderbookRequest | PlainMessage | undefined, b: QuerySpotOrderbookRequest | PlainMessage | undefined): boolean; } /** * QuerySpotOrderbookResponse is the response type for the Query/SpotOrderbook * RPC method. * * @generated from message injective.exchange.v1beta1.QuerySpotOrderbookResponse */ export declare class QuerySpotOrderbookResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.Level buys_price_level = 1; */ buysPriceLevel: Level[]; /** * @generated from field: repeated injective.exchange.v1beta1.Level sells_price_level = 2; */ sellsPriceLevel: Level[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySpotOrderbookResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySpotOrderbookResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySpotOrderbookResponse; static fromJsonString(jsonString: string, options?: Partial): QuerySpotOrderbookResponse; static equals(a: QuerySpotOrderbookResponse | PlainMessage | undefined, b: QuerySpotOrderbookResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.FullSpotMarket */ export declare class FullSpotMarket extends Message { /** * @generated from field: injective.exchange.v1beta1.SpotMarket market = 1; */ market?: SpotMarket; /** * mid_price_and_tob defines the mid price for this market and the best ask * and bid orders * * @generated from field: injective.exchange.v1beta1.MidPriceAndTOB mid_price_and_tob = 2; */ midPriceAndTob?: MidPriceAndTOB; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.FullSpotMarket"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FullSpotMarket; static fromJson(jsonValue: JsonValue, options?: Partial): FullSpotMarket; static fromJsonString(jsonString: string, options?: Partial): FullSpotMarket; static equals(a: FullSpotMarket | PlainMessage | undefined, b: FullSpotMarket | PlainMessage | undefined): boolean; } /** * QueryFullSpotMarketsRequest is the request type for the Query/FullSpotMarkets * RPC method. * * @generated from message injective.exchange.v1beta1.QueryFullSpotMarketsRequest */ export declare class QueryFullSpotMarketsRequest extends Message { /** * Status of the market, for convenience it is set to string - not enum * * @generated from field: string status = 1; */ status: string; /** * Filter by market IDs * * @generated from field: repeated string market_ids = 2; */ marketIds: string[]; /** * Flag to return the markets mid price and top of the book buy and sell * orders. * * @generated from field: bool with_mid_price_and_tob = 3; */ withMidPriceAndTob: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryFullSpotMarketsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryFullSpotMarketsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryFullSpotMarketsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryFullSpotMarketsRequest; static equals(a: QueryFullSpotMarketsRequest | PlainMessage | undefined, b: QueryFullSpotMarketsRequest | PlainMessage | undefined): boolean; } /** * QueryFullSpotMarketsResponse is the response type for the * Query/FullSpotMarkets RPC method. * * @generated from message injective.exchange.v1beta1.QueryFullSpotMarketsResponse */ export declare class QueryFullSpotMarketsResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.FullSpotMarket markets = 1; */ markets: FullSpotMarket[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryFullSpotMarketsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryFullSpotMarketsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryFullSpotMarketsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryFullSpotMarketsResponse; static equals(a: QueryFullSpotMarketsResponse | PlainMessage | undefined, b: QueryFullSpotMarketsResponse | PlainMessage | undefined): boolean; } /** * QuerySpotMarketRequest is the request type for the Query/SpotMarket RPC * method. * * @generated from message injective.exchange.v1beta1.QueryFullSpotMarketRequest */ export declare class QueryFullSpotMarketRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; /** * Flag to return the markets mid price and top of the book buy and sell * orders. * * @generated from field: bool with_mid_price_and_tob = 2; */ withMidPriceAndTob: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryFullSpotMarketRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryFullSpotMarketRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryFullSpotMarketRequest; static fromJsonString(jsonString: string, options?: Partial): QueryFullSpotMarketRequest; static equals(a: QueryFullSpotMarketRequest | PlainMessage | undefined, b: QueryFullSpotMarketRequest | PlainMessage | undefined): boolean; } /** * QuerySpotMarketResponse is the response type for the Query/SpotMarket RPC * method. * * @generated from message injective.exchange.v1beta1.QueryFullSpotMarketResponse */ export declare class QueryFullSpotMarketResponse extends Message { /** * @generated from field: injective.exchange.v1beta1.FullSpotMarket market = 1; */ market?: FullSpotMarket; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryFullSpotMarketResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryFullSpotMarketResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryFullSpotMarketResponse; static fromJsonString(jsonString: string, options?: Partial): QueryFullSpotMarketResponse; static equals(a: QueryFullSpotMarketResponse | PlainMessage | undefined, b: QueryFullSpotMarketResponse | PlainMessage | undefined): boolean; } /** * QuerySpotOrdersByHashesRequest is the request type for the * Query/SpotOrdersByHashes RPC method. * * @generated from message injective.exchange.v1beta1.QuerySpotOrdersByHashesRequest */ export declare class QuerySpotOrdersByHashesRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; /** * SubaccountID of the trader * * @generated from field: string subaccount_id = 2; */ subaccountId: string; /** * the order hashes * * @generated from field: repeated string order_hashes = 3; */ orderHashes: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySpotOrdersByHashesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySpotOrdersByHashesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySpotOrdersByHashesRequest; static fromJsonString(jsonString: string, options?: Partial): QuerySpotOrdersByHashesRequest; static equals(a: QuerySpotOrdersByHashesRequest | PlainMessage | undefined, b: QuerySpotOrdersByHashesRequest | PlainMessage | undefined): boolean; } /** * QuerySpotOrdersByHashesResponse is the response type for the * Query/SpotOrdersByHashes RPC method. * * @generated from message injective.exchange.v1beta1.QuerySpotOrdersByHashesResponse */ export declare class QuerySpotOrdersByHashesResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.TrimmedSpotLimitOrder orders = 1; */ orders: TrimmedSpotLimitOrder[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySpotOrdersByHashesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySpotOrdersByHashesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySpotOrdersByHashesResponse; static fromJsonString(jsonString: string, options?: Partial): QuerySpotOrdersByHashesResponse; static equals(a: QuerySpotOrdersByHashesResponse | PlainMessage | undefined, b: QuerySpotOrdersByHashesResponse | PlainMessage | undefined): boolean; } /** * QueryTraderSpotOrdersRequest is the request type for the * Query/TraderSpotOrders RPC method. * * @generated from message injective.exchange.v1beta1.QueryTraderSpotOrdersRequest */ export declare class QueryTraderSpotOrdersRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; /** * SubaccountID of the trader * * @generated from field: string subaccount_id = 2; */ subaccountId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryTraderSpotOrdersRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraderSpotOrdersRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraderSpotOrdersRequest; static fromJsonString(jsonString: string, options?: Partial): QueryTraderSpotOrdersRequest; static equals(a: QueryTraderSpotOrdersRequest | PlainMessage | undefined, b: QueryTraderSpotOrdersRequest | PlainMessage | undefined): boolean; } /** * QueryAccountAddressSpotOrdersRequest is the request type for the * Query/AccountAddressSpotOrders RPC method. * * @generated from message injective.exchange.v1beta1.QueryAccountAddressSpotOrdersRequest */ export declare class QueryAccountAddressSpotOrdersRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; /** * Account address of the trader * * @generated from field: string account_address = 2; */ accountAddress: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryAccountAddressSpotOrdersRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountAddressSpotOrdersRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountAddressSpotOrdersRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAccountAddressSpotOrdersRequest; static equals(a: QueryAccountAddressSpotOrdersRequest | PlainMessage | undefined, b: QueryAccountAddressSpotOrdersRequest | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.TrimmedSpotLimitOrder */ export declare class TrimmedSpotLimitOrder extends Message { /** * price of the order * * @generated from field: string price = 1; */ price: string; /** * quantity of the order * * @generated from field: string quantity = 2; */ quantity: string; /** * the amount of the quantity remaining fillable * * @generated from field: string fillable = 3; */ fillable: string; /** * true if the order is a buy * * @generated from field: bool isBuy = 4; */ isBuy: boolean; /** * @generated from field: string order_hash = 5; */ orderHash: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.TrimmedSpotLimitOrder"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrimmedSpotLimitOrder; static fromJson(jsonValue: JsonValue, options?: Partial): TrimmedSpotLimitOrder; static fromJsonString(jsonString: string, options?: Partial): TrimmedSpotLimitOrder; static equals(a: TrimmedSpotLimitOrder | PlainMessage | undefined, b: TrimmedSpotLimitOrder | PlainMessage | undefined): boolean; } /** * QueryTraderSpotOrdersResponse is the response type for the * Query/TraderSpotOrders RPC method. * * @generated from message injective.exchange.v1beta1.QueryTraderSpotOrdersResponse */ export declare class QueryTraderSpotOrdersResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.TrimmedSpotLimitOrder orders = 1; */ orders: TrimmedSpotLimitOrder[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryTraderSpotOrdersResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraderSpotOrdersResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraderSpotOrdersResponse; static fromJsonString(jsonString: string, options?: Partial): QueryTraderSpotOrdersResponse; static equals(a: QueryTraderSpotOrdersResponse | PlainMessage | undefined, b: QueryTraderSpotOrdersResponse | PlainMessage | undefined): boolean; } /** * QueryAccountAddressSpotOrdersResponse is the response type for the * Query/AccountAddressSpotOrders RPC method. * * @generated from message injective.exchange.v1beta1.QueryAccountAddressSpotOrdersResponse */ export declare class QueryAccountAddressSpotOrdersResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.TrimmedSpotLimitOrder orders = 1; */ orders: TrimmedSpotLimitOrder[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryAccountAddressSpotOrdersResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountAddressSpotOrdersResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountAddressSpotOrdersResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAccountAddressSpotOrdersResponse; static equals(a: QueryAccountAddressSpotOrdersResponse | PlainMessage | undefined, b: QueryAccountAddressSpotOrdersResponse | PlainMessage | undefined): boolean; } /** * QuerySpotMidPriceAndTOBRequest is the request type for the * Query/SpotMidPriceAndTOB RPC method. * * @generated from message injective.exchange.v1beta1.QuerySpotMidPriceAndTOBRequest */ export declare class QuerySpotMidPriceAndTOBRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySpotMidPriceAndTOBRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySpotMidPriceAndTOBRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySpotMidPriceAndTOBRequest; static fromJsonString(jsonString: string, options?: Partial): QuerySpotMidPriceAndTOBRequest; static equals(a: QuerySpotMidPriceAndTOBRequest | PlainMessage | undefined, b: QuerySpotMidPriceAndTOBRequest | PlainMessage | undefined): boolean; } /** * QuerySpotMidPriceAndTOBResponse is the response type for the * Query/SpotMidPriceAndTOB RPC method. * * @generated from message injective.exchange.v1beta1.QuerySpotMidPriceAndTOBResponse */ export declare class QuerySpotMidPriceAndTOBResponse extends Message { /** * mid price of the market * * @generated from field: string mid_price = 1; */ midPrice: string; /** * best buy price of the market * * @generated from field: string best_buy_price = 2; */ bestBuyPrice: string; /** * best sell price of the market * * @generated from field: string best_sell_price = 3; */ bestSellPrice: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySpotMidPriceAndTOBResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySpotMidPriceAndTOBResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySpotMidPriceAndTOBResponse; static fromJsonString(jsonString: string, options?: Partial): QuerySpotMidPriceAndTOBResponse; static equals(a: QuerySpotMidPriceAndTOBResponse | PlainMessage | undefined, b: QuerySpotMidPriceAndTOBResponse | PlainMessage | undefined): boolean; } /** * QueryDerivativeMidPriceAndTOBRequest is the request type for the * Query/GetDerivativeMidPriceAndTOB RPC method. * * @generated from message injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBRequest */ export declare class QueryDerivativeMidPriceAndTOBRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDerivativeMidPriceAndTOBRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDerivativeMidPriceAndTOBRequest; static fromJsonString(jsonString: string, options?: Partial): QueryDerivativeMidPriceAndTOBRequest; static equals(a: QueryDerivativeMidPriceAndTOBRequest | PlainMessage | undefined, b: QueryDerivativeMidPriceAndTOBRequest | PlainMessage | undefined): boolean; } /** * QueryDerivativeMidPriceAndTOBResponse is the response type for the * Query/GetDerivativeMidPriceAndTOB RPC method. * * @generated from message injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBResponse */ export declare class QueryDerivativeMidPriceAndTOBResponse extends Message { /** * mid price of the market * * @generated from field: string mid_price = 1; */ midPrice: string; /** * best buy price of the market * * @generated from field: string best_buy_price = 2; */ bestBuyPrice: string; /** * best sell price of the market * * @generated from field: string best_sell_price = 3; */ bestSellPrice: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDerivativeMidPriceAndTOBResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDerivativeMidPriceAndTOBResponse; static fromJsonString(jsonString: string, options?: Partial): QueryDerivativeMidPriceAndTOBResponse; static equals(a: QueryDerivativeMidPriceAndTOBResponse | PlainMessage | undefined, b: QueryDerivativeMidPriceAndTOBResponse | PlainMessage | undefined): boolean; } /** * QueryDerivativeOrderbookRequest is the request type for the * Query/DerivativeOrderbook RPC method. * * @generated from message injective.exchange.v1beta1.QueryDerivativeOrderbookRequest */ export declare class QueryDerivativeOrderbookRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; /** * @generated from field: uint64 limit = 2; */ limit: bigint; /** * @generated from field: string limit_cumulative_notional = 3; */ limitCumulativeNotional: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDerivativeOrderbookRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDerivativeOrderbookRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDerivativeOrderbookRequest; static fromJsonString(jsonString: string, options?: Partial): QueryDerivativeOrderbookRequest; static equals(a: QueryDerivativeOrderbookRequest | PlainMessage | undefined, b: QueryDerivativeOrderbookRequest | PlainMessage | undefined): boolean; } /** * QueryDerivativeOrderbookResponse is the response type for the * Query/DerivativeOrderbook RPC method. * * @generated from message injective.exchange.v1beta1.QueryDerivativeOrderbookResponse */ export declare class QueryDerivativeOrderbookResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.Level buys_price_level = 1; */ buysPriceLevel: Level[]; /** * @generated from field: repeated injective.exchange.v1beta1.Level sells_price_level = 2; */ sellsPriceLevel: Level[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDerivativeOrderbookResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDerivativeOrderbookResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDerivativeOrderbookResponse; static fromJsonString(jsonString: string, options?: Partial): QueryDerivativeOrderbookResponse; static equals(a: QueryDerivativeOrderbookResponse | PlainMessage | undefined, b: QueryDerivativeOrderbookResponse | PlainMessage | undefined): boolean; } /** * QueryTraderSpotOrdersToCancelUpToAmountRequest is the request type for the * Query/TraderSpotOrdersToCancelUpToAmountRequest RPC method. * * @generated from message injective.exchange.v1beta1.QueryTraderSpotOrdersToCancelUpToAmountRequest */ export declare class QueryTraderSpotOrdersToCancelUpToAmountRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; /** * SubaccountID of the trader * * @generated from field: string subaccount_id = 2; */ subaccountId: string; /** * the base amount to cancel (free up) * * @generated from field: string base_amount = 3; */ baseAmount: string; /** * the quote amount to cancel (free up) * * @generated from field: string quote_amount = 4; */ quoteAmount: string; /** * The cancellation strategy * * @generated from field: injective.exchange.v1beta1.CancellationStrategy strategy = 5; */ strategy: CancellationStrategy; /** * The reference price for the cancellation strategy, e.g. mid price or mark * price * * @generated from field: string reference_price = 6; */ referencePrice: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryTraderSpotOrdersToCancelUpToAmountRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraderSpotOrdersToCancelUpToAmountRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraderSpotOrdersToCancelUpToAmountRequest; static fromJsonString(jsonString: string, options?: Partial): QueryTraderSpotOrdersToCancelUpToAmountRequest; static equals(a: QueryTraderSpotOrdersToCancelUpToAmountRequest | PlainMessage | undefined, b: QueryTraderSpotOrdersToCancelUpToAmountRequest | PlainMessage | undefined): boolean; } /** * QueryTraderDerivativeOrdersToCancelUpToAmountRequest is the request type for * the Query/TraderDerivativeOrdersToCancelUpToAmountRequest RPC method. * * @generated from message injective.exchange.v1beta1.QueryTraderDerivativeOrdersToCancelUpToAmountRequest */ export declare class QueryTraderDerivativeOrdersToCancelUpToAmountRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; /** * SubaccountID of the trader * * @generated from field: string subaccount_id = 2; */ subaccountId: string; /** * the quote amount to cancel (free up) * * @generated from field: string quote_amount = 3; */ quoteAmount: string; /** * The cancellation strategy * * @generated from field: injective.exchange.v1beta1.CancellationStrategy strategy = 4; */ strategy: CancellationStrategy; /** * The reference price for the cancellation strategy, e.g. mid price or mark * price * * @generated from field: string reference_price = 5; */ referencePrice: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryTraderDerivativeOrdersToCancelUpToAmountRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraderDerivativeOrdersToCancelUpToAmountRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraderDerivativeOrdersToCancelUpToAmountRequest; static fromJsonString(jsonString: string, options?: Partial): QueryTraderDerivativeOrdersToCancelUpToAmountRequest; static equals(a: QueryTraderDerivativeOrdersToCancelUpToAmountRequest | PlainMessage | undefined, b: QueryTraderDerivativeOrdersToCancelUpToAmountRequest | PlainMessage | undefined): boolean; } /** * QueryTraderDerivativeOrdersRequest is the request type for the * Query/TraderDerivativeOrders RPC method. * * @generated from message injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest */ export declare class QueryTraderDerivativeOrdersRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; /** * SubaccountID of the trader * * @generated from field: string subaccount_id = 2; */ subaccountId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraderDerivativeOrdersRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraderDerivativeOrdersRequest; static fromJsonString(jsonString: string, options?: Partial): QueryTraderDerivativeOrdersRequest; static equals(a: QueryTraderDerivativeOrdersRequest | PlainMessage | undefined, b: QueryTraderDerivativeOrdersRequest | PlainMessage | undefined): boolean; } /** * QueryAccountAddressSpotOrdersRequest is the request type for the * Query/AccountAddressDerivativeOrders RPC method. * * @generated from message injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersRequest */ export declare class QueryAccountAddressDerivativeOrdersRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; /** * Account address of the trader * * @generated from field: string account_address = 2; */ accountAddress: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountAddressDerivativeOrdersRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountAddressDerivativeOrdersRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAccountAddressDerivativeOrdersRequest; static equals(a: QueryAccountAddressDerivativeOrdersRequest | PlainMessage | undefined, b: QueryAccountAddressDerivativeOrdersRequest | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.TrimmedDerivativeLimitOrder */ export declare class TrimmedDerivativeLimitOrder extends Message { /** * price of the order * * @generated from field: string price = 1; */ price: string; /** * quantity of the order * * @generated from field: string quantity = 2; */ quantity: string; /** * margin of the order * * @generated from field: string margin = 3; */ margin: string; /** * the amount of the quantity remaining fillable * * @generated from field: string fillable = 4; */ fillable: string; /** * true if the order is a buy * * ensure omitempty is not in jsontag * * @generated from field: bool isBuy = 5; */ isBuy: boolean; /** * @generated from field: string order_hash = 6; */ orderHash: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.TrimmedDerivativeLimitOrder"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrimmedDerivativeLimitOrder; static fromJson(jsonValue: JsonValue, options?: Partial): TrimmedDerivativeLimitOrder; static fromJsonString(jsonString: string, options?: Partial): TrimmedDerivativeLimitOrder; static equals(a: TrimmedDerivativeLimitOrder | PlainMessage | undefined, b: TrimmedDerivativeLimitOrder | PlainMessage | undefined): boolean; } /** * QueryTraderDerivativeOrdersResponse is the response type for the * Query/TraderDerivativeOrders RPC method. * * @generated from message injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse */ export declare class QueryTraderDerivativeOrdersResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.TrimmedDerivativeLimitOrder orders = 1; */ orders: TrimmedDerivativeLimitOrder[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraderDerivativeOrdersResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraderDerivativeOrdersResponse; static fromJsonString(jsonString: string, options?: Partial): QueryTraderDerivativeOrdersResponse; static equals(a: QueryTraderDerivativeOrdersResponse | PlainMessage | undefined, b: QueryTraderDerivativeOrdersResponse | PlainMessage | undefined): boolean; } /** * QueryAccountAddressDerivativeOrdersResponse is the response type for the * Query/AccountAddressDerivativeOrders RPC method. * * @generated from message injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersResponse */ export declare class QueryAccountAddressDerivativeOrdersResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.TrimmedDerivativeLimitOrder orders = 1; */ orders: TrimmedDerivativeLimitOrder[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountAddressDerivativeOrdersResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountAddressDerivativeOrdersResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAccountAddressDerivativeOrdersResponse; static equals(a: QueryAccountAddressDerivativeOrdersResponse | PlainMessage | undefined, b: QueryAccountAddressDerivativeOrdersResponse | PlainMessage | undefined): boolean; } /** * QueryTraderDerivativeOrdersRequest is the request type for the * Query/TraderDerivativeOrders RPC method. * * @generated from message injective.exchange.v1beta1.QueryDerivativeOrdersByHashesRequest */ export declare class QueryDerivativeOrdersByHashesRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; /** * SubaccountID of the trader * * @generated from field: string subaccount_id = 2; */ subaccountId: string; /** * the order hashes * * @generated from field: repeated string order_hashes = 3; */ orderHashes: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDerivativeOrdersByHashesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDerivativeOrdersByHashesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDerivativeOrdersByHashesRequest; static fromJsonString(jsonString: string, options?: Partial): QueryDerivativeOrdersByHashesRequest; static equals(a: QueryDerivativeOrdersByHashesRequest | PlainMessage | undefined, b: QueryDerivativeOrdersByHashesRequest | PlainMessage | undefined): boolean; } /** * QueryDerivativeOrdersByHashesResponse is the response type for the * Query/DerivativeOrdersByHashes RPC method. * * @generated from message injective.exchange.v1beta1.QueryDerivativeOrdersByHashesResponse */ export declare class QueryDerivativeOrdersByHashesResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.TrimmedDerivativeLimitOrder orders = 1; */ orders: TrimmedDerivativeLimitOrder[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDerivativeOrdersByHashesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDerivativeOrdersByHashesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDerivativeOrdersByHashesResponse; static fromJsonString(jsonString: string, options?: Partial): QueryDerivativeOrdersByHashesResponse; static equals(a: QueryDerivativeOrdersByHashesResponse | PlainMessage | undefined, b: QueryDerivativeOrdersByHashesResponse | PlainMessage | undefined): boolean; } /** * QueryDerivativeMarketsRequest is the request type for the * Query/DerivativeMarkets RPC method. * * @generated from message injective.exchange.v1beta1.QueryDerivativeMarketsRequest */ export declare class QueryDerivativeMarketsRequest extends Message { /** * Status of the market, for convenience it is set to string - not enum * * @generated from field: string status = 1; */ status: string; /** * Filter by market IDs * * @generated from field: repeated string market_ids = 2; */ marketIds: string[]; /** * Flag to return the markets mid price and top of the book buy and sell * orders. * * @generated from field: bool with_mid_price_and_tob = 3; */ withMidPriceAndTob: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDerivativeMarketsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDerivativeMarketsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDerivativeMarketsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryDerivativeMarketsRequest; static equals(a: QueryDerivativeMarketsRequest | PlainMessage | undefined, b: QueryDerivativeMarketsRequest | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.PriceLevel */ export declare class PriceLevel extends Message { /** * @generated from field: string price = 1; */ price: string; /** * quantity * * @generated from field: string quantity = 2; */ quantity: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.PriceLevel"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PriceLevel; static fromJson(jsonValue: JsonValue, options?: Partial): PriceLevel; static fromJsonString(jsonString: string, options?: Partial): PriceLevel; static equals(a: PriceLevel | PlainMessage | undefined, b: PriceLevel | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.PerpetualMarketState */ export declare class PerpetualMarketState extends Message { /** * @generated from field: injective.exchange.v1beta1.PerpetualMarketInfo market_info = 1; */ marketInfo?: PerpetualMarketInfo; /** * @generated from field: injective.exchange.v1beta1.PerpetualMarketFunding funding_info = 2; */ fundingInfo?: PerpetualMarketFunding; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.PerpetualMarketState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PerpetualMarketState; static fromJson(jsonValue: JsonValue, options?: Partial): PerpetualMarketState; static fromJsonString(jsonString: string, options?: Partial): PerpetualMarketState; static equals(a: PerpetualMarketState | PlainMessage | undefined, b: PerpetualMarketState | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.FullDerivativeMarket */ export declare class FullDerivativeMarket extends Message { /** * @generated from field: injective.exchange.v1beta1.DerivativeMarket market = 1; */ market?: DerivativeMarket; /** * @generated from oneof injective.exchange.v1beta1.FullDerivativeMarket.info */ info: { /** * @generated from field: injective.exchange.v1beta1.PerpetualMarketState perpetual_info = 2; */ value: PerpetualMarketState; case: "perpetualInfo"; } | { /** * @generated from field: injective.exchange.v1beta1.ExpiryFuturesMarketInfo futures_info = 3; */ value: ExpiryFuturesMarketInfo; case: "futuresInfo"; } | { case: undefined; value?: undefined; }; /** * @generated from field: string mark_price = 4; */ markPrice: string; /** * mid_price_and_tob defines the mid price for this market and the best ask * and bid orders * * @generated from field: injective.exchange.v1beta1.MidPriceAndTOB mid_price_and_tob = 5; */ midPriceAndTob?: MidPriceAndTOB; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.FullDerivativeMarket"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FullDerivativeMarket; static fromJson(jsonValue: JsonValue, options?: Partial): FullDerivativeMarket; static fromJsonString(jsonString: string, options?: Partial): FullDerivativeMarket; static equals(a: FullDerivativeMarket | PlainMessage | undefined, b: FullDerivativeMarket | PlainMessage | undefined): boolean; } /** * QueryDerivativeMarketsResponse is the response type for the * Query/DerivativeMarkets RPC method. * * @generated from message injective.exchange.v1beta1.QueryDerivativeMarketsResponse */ export declare class QueryDerivativeMarketsResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.FullDerivativeMarket markets = 1; */ markets: FullDerivativeMarket[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDerivativeMarketsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDerivativeMarketsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDerivativeMarketsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryDerivativeMarketsResponse; static equals(a: QueryDerivativeMarketsResponse | PlainMessage | undefined, b: QueryDerivativeMarketsResponse | PlainMessage | undefined): boolean; } /** * QueryDerivativeMarketRequest is the request type for the * Query/DerivativeMarket RPC method. * * @generated from message injective.exchange.v1beta1.QueryDerivativeMarketRequest */ export declare class QueryDerivativeMarketRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDerivativeMarketRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDerivativeMarketRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDerivativeMarketRequest; static fromJsonString(jsonString: string, options?: Partial): QueryDerivativeMarketRequest; static equals(a: QueryDerivativeMarketRequest | PlainMessage | undefined, b: QueryDerivativeMarketRequest | PlainMessage | undefined): boolean; } /** * QueryDerivativeMarketResponse is the response type for the * Query/DerivativeMarket RPC method. * * @generated from message injective.exchange.v1beta1.QueryDerivativeMarketResponse */ export declare class QueryDerivativeMarketResponse extends Message { /** * @generated from field: injective.exchange.v1beta1.FullDerivativeMarket market = 1; */ market?: FullDerivativeMarket; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDerivativeMarketResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDerivativeMarketResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDerivativeMarketResponse; static fromJsonString(jsonString: string, options?: Partial): QueryDerivativeMarketResponse; static equals(a: QueryDerivativeMarketResponse | PlainMessage | undefined, b: QueryDerivativeMarketResponse | PlainMessage | undefined): boolean; } /** * QueryDerivativeMarketAddressRequest is the request type for the * Query/DerivativeMarketAddress RPC method. * * @generated from message injective.exchange.v1beta1.QueryDerivativeMarketAddressRequest */ export declare class QueryDerivativeMarketAddressRequest extends Message { /** * Market ID for the market * * @generated from field: string market_id = 1; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDerivativeMarketAddressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDerivativeMarketAddressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDerivativeMarketAddressRequest; static fromJsonString(jsonString: string, options?: Partial): QueryDerivativeMarketAddressRequest; static equals(a: QueryDerivativeMarketAddressRequest | PlainMessage | undefined, b: QueryDerivativeMarketAddressRequest | PlainMessage | undefined): boolean; } /** * QueryDerivativeMarketAddressResponse is the response type for the * Query/DerivativeMarketAddress RPC method. * * @generated from message injective.exchange.v1beta1.QueryDerivativeMarketAddressResponse */ export declare class QueryDerivativeMarketAddressResponse extends Message { /** * address for the market * * @generated from field: string address = 1; */ address: string; /** * subaccountID for the market * * @generated from field: string subaccount_id = 2; */ subaccountId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryDerivativeMarketAddressResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDerivativeMarketAddressResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDerivativeMarketAddressResponse; static fromJsonString(jsonString: string, options?: Partial): QueryDerivativeMarketAddressResponse; static equals(a: QueryDerivativeMarketAddressResponse | PlainMessage | undefined, b: QueryDerivativeMarketAddressResponse | PlainMessage | undefined): boolean; } /** * QuerySubaccountTradeNonceRequest is the request type for the * Query/SubaccountTradeNonce RPC method. * * @generated from message injective.exchange.v1beta1.QuerySubaccountTradeNonceRequest */ export declare class QuerySubaccountTradeNonceRequest extends Message { /** * @generated from field: string subaccount_id = 1; */ subaccountId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountTradeNonceRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountTradeNonceRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountTradeNonceRequest; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountTradeNonceRequest; static equals(a: QuerySubaccountTradeNonceRequest | PlainMessage | undefined, b: QuerySubaccountTradeNonceRequest | PlainMessage | undefined): boolean; } /** * QuerySubaccountPositionsRequest is the request type for the * Query/SubaccountPositions RPC method. * * @generated from message injective.exchange.v1beta1.QuerySubaccountPositionsRequest */ export declare class QuerySubaccountPositionsRequest extends Message { /** * @generated from field: string subaccount_id = 1; */ subaccountId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountPositionsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountPositionsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountPositionsRequest; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountPositionsRequest; static equals(a: QuerySubaccountPositionsRequest | PlainMessage | undefined, b: QuerySubaccountPositionsRequest | PlainMessage | undefined): boolean; } /** * QuerySubaccountPositionInMarketRequest is the request type for the * Query/SubaccountPositionInMarket RPC method. * * @generated from message injective.exchange.v1beta1.QuerySubaccountPositionInMarketRequest */ export declare class QuerySubaccountPositionInMarketRequest extends Message { /** * @generated from field: string subaccount_id = 1; */ subaccountId: string; /** * @generated from field: string market_id = 2; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountPositionInMarketRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountPositionInMarketRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountPositionInMarketRequest; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountPositionInMarketRequest; static equals(a: QuerySubaccountPositionInMarketRequest | PlainMessage | undefined, b: QuerySubaccountPositionInMarketRequest | PlainMessage | undefined): boolean; } /** * QuerySubaccountEffectivePositionInMarketRequest is the request type for the * Query/SubaccountEffectivePositionInMarket RPC method. * * @generated from message injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketRequest */ export declare class QuerySubaccountEffectivePositionInMarketRequest extends Message { /** * @generated from field: string subaccount_id = 1; */ subaccountId: string; /** * @generated from field: string market_id = 2; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountEffectivePositionInMarketRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountEffectivePositionInMarketRequest; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountEffectivePositionInMarketRequest; static equals(a: QuerySubaccountEffectivePositionInMarketRequest | PlainMessage | undefined, b: QuerySubaccountEffectivePositionInMarketRequest | PlainMessage | undefined): boolean; } /** * QuerySubaccountOrderMetadataRequest is the request type for the * Query/SubaccountOrderMetadata RPC method. * * @generated from message injective.exchange.v1beta1.QuerySubaccountOrderMetadataRequest */ export declare class QuerySubaccountOrderMetadataRequest extends Message { /** * @generated from field: string subaccount_id = 1; */ subaccountId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountOrderMetadataRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountOrderMetadataRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountOrderMetadataRequest; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountOrderMetadataRequest; static equals(a: QuerySubaccountOrderMetadataRequest | PlainMessage | undefined, b: QuerySubaccountOrderMetadataRequest | PlainMessage | undefined): boolean; } /** * QuerySubaccountPositionsResponse is the response type for the * Query/SubaccountPositions RPC method. * * @generated from message injective.exchange.v1beta1.QuerySubaccountPositionsResponse */ export declare class QuerySubaccountPositionsResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.DerivativePosition state = 1; */ state: DerivativePosition[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountPositionsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountPositionsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountPositionsResponse; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountPositionsResponse; static equals(a: QuerySubaccountPositionsResponse | PlainMessage | undefined, b: QuerySubaccountPositionsResponse | PlainMessage | undefined): boolean; } /** * QuerySubaccountPositionInMarketResponse is the response type for the * Query/SubaccountPositionInMarket RPC method. * * @generated from message injective.exchange.v1beta1.QuerySubaccountPositionInMarketResponse */ export declare class QuerySubaccountPositionInMarketResponse extends Message { /** * @generated from field: injective.exchange.v1beta1.Position state = 1; */ state?: Position; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountPositionInMarketResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountPositionInMarketResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountPositionInMarketResponse; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountPositionInMarketResponse; static equals(a: QuerySubaccountPositionInMarketResponse | PlainMessage | undefined, b: QuerySubaccountPositionInMarketResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.EffectivePosition */ export declare class EffectivePosition extends Message { /** * @generated from field: bool is_long = 1; */ isLong: boolean; /** * @generated from field: string quantity = 2; */ quantity: string; /** * @generated from field: string entry_price = 3; */ entryPrice: string; /** * @generated from field: string effective_margin = 4; */ effectiveMargin: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.EffectivePosition"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EffectivePosition; static fromJson(jsonValue: JsonValue, options?: Partial): EffectivePosition; static fromJsonString(jsonString: string, options?: Partial): EffectivePosition; static equals(a: EffectivePosition | PlainMessage | undefined, b: EffectivePosition | PlainMessage | undefined): boolean; } /** * QuerySubaccountEffectivePositionInMarketResponse is the response type for the * Query/SubaccountEffectivePositionInMarket RPC method. * * @generated from message injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketResponse */ export declare class QuerySubaccountEffectivePositionInMarketResponse extends Message { /** * @generated from field: injective.exchange.v1beta1.EffectivePosition state = 1; */ state?: EffectivePosition; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountEffectivePositionInMarketResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountEffectivePositionInMarketResponse; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountEffectivePositionInMarketResponse; static equals(a: QuerySubaccountEffectivePositionInMarketResponse | PlainMessage | undefined, b: QuerySubaccountEffectivePositionInMarketResponse | PlainMessage | undefined): boolean; } /** * QueryPerpetualMarketInfoRequest is the request type for the * Query/PerpetualMarketInfo RPC method. * * @generated from message injective.exchange.v1beta1.QueryPerpetualMarketInfoRequest */ export declare class QueryPerpetualMarketInfoRequest extends Message { /** * @generated from field: string market_id = 1; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryPerpetualMarketInfoRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryPerpetualMarketInfoRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryPerpetualMarketInfoRequest; static fromJsonString(jsonString: string, options?: Partial): QueryPerpetualMarketInfoRequest; static equals(a: QueryPerpetualMarketInfoRequest | PlainMessage | undefined, b: QueryPerpetualMarketInfoRequest | PlainMessage | undefined): boolean; } /** * QueryPerpetualMarketInfoResponse is the response type for the * Query/PerpetualMarketInfo RPC method. * * @generated from message injective.exchange.v1beta1.QueryPerpetualMarketInfoResponse */ export declare class QueryPerpetualMarketInfoResponse extends Message { /** * @generated from field: injective.exchange.v1beta1.PerpetualMarketInfo info = 1; */ info?: PerpetualMarketInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryPerpetualMarketInfoResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryPerpetualMarketInfoResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryPerpetualMarketInfoResponse; static fromJsonString(jsonString: string, options?: Partial): QueryPerpetualMarketInfoResponse; static equals(a: QueryPerpetualMarketInfoResponse | PlainMessage | undefined, b: QueryPerpetualMarketInfoResponse | PlainMessage | undefined): boolean; } /** * QueryExpiryFuturesMarketInfoRequest is the request type for the Query/ * ExpiryFuturesMarketInfo RPC method. * * @generated from message injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoRequest */ export declare class QueryExpiryFuturesMarketInfoRequest extends Message { /** * @generated from field: string market_id = 1; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryExpiryFuturesMarketInfoRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryExpiryFuturesMarketInfoRequest; static fromJsonString(jsonString: string, options?: Partial): QueryExpiryFuturesMarketInfoRequest; static equals(a: QueryExpiryFuturesMarketInfoRequest | PlainMessage | undefined, b: QueryExpiryFuturesMarketInfoRequest | PlainMessage | undefined): boolean; } /** * QueryExpiryFuturesMarketInfoResponse is the response type for the Query/ * ExpiryFuturesMarketInfo RPC method. * * @generated from message injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoResponse */ export declare class QueryExpiryFuturesMarketInfoResponse extends Message { /** * @generated from field: injective.exchange.v1beta1.ExpiryFuturesMarketInfo info = 1; */ info?: ExpiryFuturesMarketInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryExpiryFuturesMarketInfoResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryExpiryFuturesMarketInfoResponse; static fromJsonString(jsonString: string, options?: Partial): QueryExpiryFuturesMarketInfoResponse; static equals(a: QueryExpiryFuturesMarketInfoResponse | PlainMessage | undefined, b: QueryExpiryFuturesMarketInfoResponse | PlainMessage | undefined): boolean; } /** * QueryPerpetualMarketFundingRequest is the request type for the * Query/PerpetualMarketFunding RPC method. * * @generated from message injective.exchange.v1beta1.QueryPerpetualMarketFundingRequest */ export declare class QueryPerpetualMarketFundingRequest extends Message { /** * @generated from field: string market_id = 1; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryPerpetualMarketFundingRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryPerpetualMarketFundingRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryPerpetualMarketFundingRequest; static fromJsonString(jsonString: string, options?: Partial): QueryPerpetualMarketFundingRequest; static equals(a: QueryPerpetualMarketFundingRequest | PlainMessage | undefined, b: QueryPerpetualMarketFundingRequest | PlainMessage | undefined): boolean; } /** * QueryPerpetualMarketFundingResponse is the response type for the * Query/PerpetualMarketFunding RPC method. * * @generated from message injective.exchange.v1beta1.QueryPerpetualMarketFundingResponse */ export declare class QueryPerpetualMarketFundingResponse extends Message { /** * @generated from field: injective.exchange.v1beta1.PerpetualMarketFunding state = 1; */ state?: PerpetualMarketFunding; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryPerpetualMarketFundingResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryPerpetualMarketFundingResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryPerpetualMarketFundingResponse; static fromJsonString(jsonString: string, options?: Partial): QueryPerpetualMarketFundingResponse; static equals(a: QueryPerpetualMarketFundingResponse | PlainMessage | undefined, b: QueryPerpetualMarketFundingResponse | PlainMessage | undefined): boolean; } /** * QuerySubaccountOrderMetadataResponse is the response type for the * Query/SubaccountOrderMetadata RPC method. * * @generated from message injective.exchange.v1beta1.QuerySubaccountOrderMetadataResponse */ export declare class QuerySubaccountOrderMetadataResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.SubaccountOrderbookMetadataWithMarket metadata = 1; */ metadata: SubaccountOrderbookMetadataWithMarket[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountOrderMetadataResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountOrderMetadataResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountOrderMetadataResponse; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountOrderMetadataResponse; static equals(a: QuerySubaccountOrderMetadataResponse | PlainMessage | undefined, b: QuerySubaccountOrderMetadataResponse | PlainMessage | undefined): boolean; } /** * QuerySubaccountTradeNonceResponse is the response type for the * Query/SubaccountTradeNonce RPC method. * * @generated from message injective.exchange.v1beta1.QuerySubaccountTradeNonceResponse */ export declare class QuerySubaccountTradeNonceResponse extends Message { /** * @generated from field: uint32 nonce = 1; */ nonce: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QuerySubaccountTradeNonceResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySubaccountTradeNonceResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySubaccountTradeNonceResponse; static fromJsonString(jsonString: string, options?: Partial): QuerySubaccountTradeNonceResponse; static equals(a: QuerySubaccountTradeNonceResponse | PlainMessage | undefined, b: QuerySubaccountTradeNonceResponse | PlainMessage | undefined): boolean; } /** * QueryModuleStateRequest is the request type for the Query/ExchangeModuleState * RPC method. * * @generated from message injective.exchange.v1beta1.QueryModuleStateRequest */ export declare class QueryModuleStateRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryModuleStateRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryModuleStateRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryModuleStateRequest; static fromJsonString(jsonString: string, options?: Partial): QueryModuleStateRequest; static equals(a: QueryModuleStateRequest | PlainMessage | undefined, b: QueryModuleStateRequest | PlainMessage | undefined): boolean; } /** * QueryModuleStateResponse is the response type for the * Query/ExchangeModuleState RPC method. * * @generated from message injective.exchange.v1beta1.QueryModuleStateResponse */ export declare class QueryModuleStateResponse extends Message { /** * @generated from field: injective.exchange.v1beta1.GenesisState state = 1; */ state?: GenesisState; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryModuleStateResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryModuleStateResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryModuleStateResponse; static fromJsonString(jsonString: string, options?: Partial): QueryModuleStateResponse; static equals(a: QueryModuleStateResponse | PlainMessage | undefined, b: QueryModuleStateResponse | PlainMessage | undefined): boolean; } /** * QueryPositionsRequest is the request type for the Query/Positions RPC method. * * @generated from message injective.exchange.v1beta1.QueryPositionsRequest */ export declare class QueryPositionsRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryPositionsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryPositionsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryPositionsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryPositionsRequest; static equals(a: QueryPositionsRequest | PlainMessage | undefined, b: QueryPositionsRequest | PlainMessage | undefined): boolean; } /** * QueryPositionsResponse is the response type for the Query/Positions RPC * method. * * @generated from message injective.exchange.v1beta1.QueryPositionsResponse */ export declare class QueryPositionsResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.DerivativePosition state = 1; */ state: DerivativePosition[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryPositionsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryPositionsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryPositionsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryPositionsResponse; static equals(a: QueryPositionsResponse | PlainMessage | undefined, b: QueryPositionsResponse | PlainMessage | undefined): boolean; } /** * QueryTradeRewardPointsRequest is the request type for the * Query/TradeRewardPoints RPC method. * * @generated from message injective.exchange.v1beta1.QueryTradeRewardPointsRequest */ export declare class QueryTradeRewardPointsRequest extends Message { /** * @generated from field: repeated string accounts = 1; */ accounts: string[]; /** * @generated from field: int64 pending_pool_timestamp = 2; */ pendingPoolTimestamp: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryTradeRewardPointsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTradeRewardPointsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTradeRewardPointsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryTradeRewardPointsRequest; static equals(a: QueryTradeRewardPointsRequest | PlainMessage | undefined, b: QueryTradeRewardPointsRequest | PlainMessage | undefined): boolean; } /** * QueryTradeRewardPointsResponse is the response type for the * Query/TradeRewardPoints RPC method. * * @generated from message injective.exchange.v1beta1.QueryTradeRewardPointsResponse */ export declare class QueryTradeRewardPointsResponse extends Message { /** * @generated from field: repeated string account_trade_reward_points = 1; */ accountTradeRewardPoints: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryTradeRewardPointsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTradeRewardPointsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTradeRewardPointsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryTradeRewardPointsResponse; static equals(a: QueryTradeRewardPointsResponse | PlainMessage | undefined, b: QueryTradeRewardPointsResponse | PlainMessage | undefined): boolean; } /** * QueryTradeRewardCampaignRequest is the request type for the * Query/TradeRewardCampaign RPC method. * * @generated from message injective.exchange.v1beta1.QueryTradeRewardCampaignRequest */ export declare class QueryTradeRewardCampaignRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryTradeRewardCampaignRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTradeRewardCampaignRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTradeRewardCampaignRequest; static fromJsonString(jsonString: string, options?: Partial): QueryTradeRewardCampaignRequest; static equals(a: QueryTradeRewardCampaignRequest | PlainMessage | undefined, b: QueryTradeRewardCampaignRequest | PlainMessage | undefined): boolean; } /** * QueryTradeRewardCampaignResponse is the response type for the * Query/TradeRewardCampaign RPC method. * * @generated from message injective.exchange.v1beta1.QueryTradeRewardCampaignResponse */ export declare class QueryTradeRewardCampaignResponse extends Message { /** * @generated from field: injective.exchange.v1beta1.TradingRewardCampaignInfo trading_reward_campaign_info = 1; */ tradingRewardCampaignInfo?: TradingRewardCampaignInfo; /** * @generated from field: repeated injective.exchange.v1beta1.CampaignRewardPool trading_reward_pool_campaign_schedule = 2; */ tradingRewardPoolCampaignSchedule: CampaignRewardPool[]; /** * @generated from field: string total_trade_reward_points = 3; */ totalTradeRewardPoints: string; /** * @generated from field: repeated injective.exchange.v1beta1.CampaignRewardPool pending_trading_reward_pool_campaign_schedule = 4; */ pendingTradingRewardPoolCampaignSchedule: CampaignRewardPool[]; /** * @generated from field: repeated string pending_total_trade_reward_points = 5; */ pendingTotalTradeRewardPoints: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryTradeRewardCampaignResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTradeRewardCampaignResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTradeRewardCampaignResponse; static fromJsonString(jsonString: string, options?: Partial): QueryTradeRewardCampaignResponse; static equals(a: QueryTradeRewardCampaignResponse | PlainMessage | undefined, b: QueryTradeRewardCampaignResponse | PlainMessage | undefined): boolean; } /** * QueryIsRegisteredDMMRequest is the request type for the Query/IsRegisteredDMM * RPC method. * * @generated from message injective.exchange.v1beta1.QueryIsOptedOutOfRewardsRequest */ export declare class QueryIsOptedOutOfRewardsRequest extends Message { /** * @generated from field: string account = 1; */ account: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryIsOptedOutOfRewardsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryIsOptedOutOfRewardsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryIsOptedOutOfRewardsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryIsOptedOutOfRewardsRequest; static equals(a: QueryIsOptedOutOfRewardsRequest | PlainMessage | undefined, b: QueryIsOptedOutOfRewardsRequest | PlainMessage | undefined): boolean; } /** * QueryIsRegisteredDMMResponse is the response type for the * Query/IsRegisteredDMM RPC method. * * @generated from message injective.exchange.v1beta1.QueryIsOptedOutOfRewardsResponse */ export declare class QueryIsOptedOutOfRewardsResponse extends Message { /** * @generated from field: bool is_opted_out = 1; */ isOptedOut: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryIsOptedOutOfRewardsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryIsOptedOutOfRewardsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryIsOptedOutOfRewardsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryIsOptedOutOfRewardsResponse; static equals(a: QueryIsOptedOutOfRewardsResponse | PlainMessage | undefined, b: QueryIsOptedOutOfRewardsResponse | PlainMessage | undefined): boolean; } /** * QueryRegisteredDMMsRequest is the request type for the Query/RegisteredDMMs * RPC method. * * @generated from message injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsRequest */ export declare class QueryOptedOutOfRewardsAccountsRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryOptedOutOfRewardsAccountsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryOptedOutOfRewardsAccountsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryOptedOutOfRewardsAccountsRequest; static equals(a: QueryOptedOutOfRewardsAccountsRequest | PlainMessage | undefined, b: QueryOptedOutOfRewardsAccountsRequest | PlainMessage | undefined): boolean; } /** * QueryRegisteredDMMsResponse is the response type for the Query/RegisteredDMMs * RPC method. * * @generated from message injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsResponse */ export declare class QueryOptedOutOfRewardsAccountsResponse extends Message { /** * @generated from field: repeated string accounts = 1; */ accounts: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryOptedOutOfRewardsAccountsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryOptedOutOfRewardsAccountsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryOptedOutOfRewardsAccountsResponse; static equals(a: QueryOptedOutOfRewardsAccountsResponse | PlainMessage | undefined, b: QueryOptedOutOfRewardsAccountsResponse | PlainMessage | undefined): boolean; } /** * QueryFeeDiscountAccountInfoRequest is the request type for the * Query/FeeDiscountAccountInfo RPC method. * * @generated from message injective.exchange.v1beta1.QueryFeeDiscountAccountInfoRequest */ export declare class QueryFeeDiscountAccountInfoRequest extends Message { /** * @generated from field: string account = 1; */ account: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryFeeDiscountAccountInfoRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryFeeDiscountAccountInfoRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryFeeDiscountAccountInfoRequest; static fromJsonString(jsonString: string, options?: Partial): QueryFeeDiscountAccountInfoRequest; static equals(a: QueryFeeDiscountAccountInfoRequest | PlainMessage | undefined, b: QueryFeeDiscountAccountInfoRequest | PlainMessage | undefined): boolean; } /** * QueryFeeDiscountAccountInfoResponse is the response type for the * Query/FeeDiscountAccountInfo RPC method. * * @generated from message injective.exchange.v1beta1.QueryFeeDiscountAccountInfoResponse */ export declare class QueryFeeDiscountAccountInfoResponse extends Message { /** * @generated from field: uint64 tier_level = 1; */ tierLevel: bigint; /** * @generated from field: injective.exchange.v1beta1.FeeDiscountTierInfo account_info = 2; */ accountInfo?: FeeDiscountTierInfo; /** * @generated from field: injective.exchange.v1beta1.FeeDiscountTierTTL account_ttl = 3; */ accountTtl?: FeeDiscountTierTTL; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryFeeDiscountAccountInfoResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryFeeDiscountAccountInfoResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryFeeDiscountAccountInfoResponse; static fromJsonString(jsonString: string, options?: Partial): QueryFeeDiscountAccountInfoResponse; static equals(a: QueryFeeDiscountAccountInfoResponse | PlainMessage | undefined, b: QueryFeeDiscountAccountInfoResponse | PlainMessage | undefined): boolean; } /** * QueryFeeDiscountScheduleRequest is the request type for the * Query/FeeDiscountSchedule RPC method. * * @generated from message injective.exchange.v1beta1.QueryFeeDiscountScheduleRequest */ export declare class QueryFeeDiscountScheduleRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryFeeDiscountScheduleRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryFeeDiscountScheduleRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryFeeDiscountScheduleRequest; static fromJsonString(jsonString: string, options?: Partial): QueryFeeDiscountScheduleRequest; static equals(a: QueryFeeDiscountScheduleRequest | PlainMessage | undefined, b: QueryFeeDiscountScheduleRequest | PlainMessage | undefined): boolean; } /** * QueryFeeDiscountScheduleResponse is the response type for the * Query/FeeDiscountSchedule RPC method. * * @generated from message injective.exchange.v1beta1.QueryFeeDiscountScheduleResponse */ export declare class QueryFeeDiscountScheduleResponse extends Message { /** * @generated from field: injective.exchange.v1beta1.FeeDiscountSchedule fee_discount_schedule = 1; */ feeDiscountSchedule?: FeeDiscountSchedule; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryFeeDiscountScheduleResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryFeeDiscountScheduleResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryFeeDiscountScheduleResponse; static fromJsonString(jsonString: string, options?: Partial): QueryFeeDiscountScheduleResponse; static equals(a: QueryFeeDiscountScheduleResponse | PlainMessage | undefined, b: QueryFeeDiscountScheduleResponse | PlainMessage | undefined): boolean; } /** * QueryBalanceMismatchesRequest is the request type for the * Query/QueryBalanceMismatches RPC method. * * @generated from message injective.exchange.v1beta1.QueryBalanceMismatchesRequest */ export declare class QueryBalanceMismatchesRequest extends Message { /** * @generated from field: int64 dust_factor = 1; */ dustFactor: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryBalanceMismatchesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryBalanceMismatchesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryBalanceMismatchesRequest; static fromJsonString(jsonString: string, options?: Partial): QueryBalanceMismatchesRequest; static equals(a: QueryBalanceMismatchesRequest | PlainMessage | undefined, b: QueryBalanceMismatchesRequest | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.BalanceMismatch */ export declare class BalanceMismatch extends Message { /** * @generated from field: string subaccountId = 1; */ subaccountId: string; /** * @generated from field: string denom = 2; */ denom: string; /** * @generated from field: string available = 3; */ available: string; /** * @generated from field: string total = 4; */ total: string; /** * @generated from field: string balance_hold = 5; */ balanceHold: string; /** * @generated from field: string expected_total = 6; */ expectedTotal: string; /** * @generated from field: string difference = 7; */ difference: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.BalanceMismatch"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): BalanceMismatch; static fromJson(jsonValue: JsonValue, options?: Partial): BalanceMismatch; static fromJsonString(jsonString: string, options?: Partial): BalanceMismatch; static equals(a: BalanceMismatch | PlainMessage | undefined, b: BalanceMismatch | PlainMessage | undefined): boolean; } /** * QueryBalanceMismatchesResponse is the response type for the * Query/QueryBalanceMismatches RPC method. * * @generated from message injective.exchange.v1beta1.QueryBalanceMismatchesResponse */ export declare class QueryBalanceMismatchesResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.BalanceMismatch balance_mismatches = 1; */ balanceMismatches: BalanceMismatch[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryBalanceMismatchesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryBalanceMismatchesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryBalanceMismatchesResponse; static fromJsonString(jsonString: string, options?: Partial): QueryBalanceMismatchesResponse; static equals(a: QueryBalanceMismatchesResponse | PlainMessage | undefined, b: QueryBalanceMismatchesResponse | PlainMessage | undefined): boolean; } /** * QueryBalanceWithBalanceHoldsRequest is the request type for the * Query/QueryBalanceWithBalanceHolds RPC method. * * @generated from message injective.exchange.v1beta1.QueryBalanceWithBalanceHoldsRequest */ export declare class QueryBalanceWithBalanceHoldsRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryBalanceWithBalanceHoldsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryBalanceWithBalanceHoldsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryBalanceWithBalanceHoldsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryBalanceWithBalanceHoldsRequest; static equals(a: QueryBalanceWithBalanceHoldsRequest | PlainMessage | undefined, b: QueryBalanceWithBalanceHoldsRequest | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.BalanceWithMarginHold */ export declare class BalanceWithMarginHold extends Message { /** * @generated from field: string subaccountId = 1; */ subaccountId: string; /** * @generated from field: string denom = 2; */ denom: string; /** * @generated from field: string available = 3; */ available: string; /** * @generated from field: string total = 4; */ total: string; /** * @generated from field: string balance_hold = 5; */ balanceHold: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.BalanceWithMarginHold"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): BalanceWithMarginHold; static fromJson(jsonValue: JsonValue, options?: Partial): BalanceWithMarginHold; static fromJsonString(jsonString: string, options?: Partial): BalanceWithMarginHold; static equals(a: BalanceWithMarginHold | PlainMessage | undefined, b: BalanceWithMarginHold | PlainMessage | undefined): boolean; } /** * QueryBalanceWithBalanceHoldsResponse is the response type for the * Query/QueryBalanceWithBalanceHolds RPC method. * * @generated from message injective.exchange.v1beta1.QueryBalanceWithBalanceHoldsResponse */ export declare class QueryBalanceWithBalanceHoldsResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.BalanceWithMarginHold balance_with_balance_holds = 1; */ balanceWithBalanceHolds: BalanceWithMarginHold[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryBalanceWithBalanceHoldsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryBalanceWithBalanceHoldsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryBalanceWithBalanceHoldsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryBalanceWithBalanceHoldsResponse; static equals(a: QueryBalanceWithBalanceHoldsResponse | PlainMessage | undefined, b: QueryBalanceWithBalanceHoldsResponse | PlainMessage | undefined): boolean; } /** * QueryFeeDiscountTierStatisticsRequest is the request type for the * Query/QueryFeeDiscountTierStatistics RPC method. * * @generated from message injective.exchange.v1beta1.QueryFeeDiscountTierStatisticsRequest */ export declare class QueryFeeDiscountTierStatisticsRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryFeeDiscountTierStatisticsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryFeeDiscountTierStatisticsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryFeeDiscountTierStatisticsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryFeeDiscountTierStatisticsRequest; static equals(a: QueryFeeDiscountTierStatisticsRequest | PlainMessage | undefined, b: QueryFeeDiscountTierStatisticsRequest | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.TierStatistic */ export declare class TierStatistic extends Message { /** * @generated from field: uint64 tier = 1; */ tier: bigint; /** * @generated from field: uint64 count = 2; */ count: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.TierStatistic"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TierStatistic; static fromJson(jsonValue: JsonValue, options?: Partial): TierStatistic; static fromJsonString(jsonString: string, options?: Partial): TierStatistic; static equals(a: TierStatistic | PlainMessage | undefined, b: TierStatistic | PlainMessage | undefined): boolean; } /** * QueryFeeDiscountTierStatisticsResponse is the response type for the * Query/QueryFeeDiscountTierStatistics RPC method. * * @generated from message injective.exchange.v1beta1.QueryFeeDiscountTierStatisticsResponse */ export declare class QueryFeeDiscountTierStatisticsResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.TierStatistic statistics = 1; */ statistics: TierStatistic[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryFeeDiscountTierStatisticsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryFeeDiscountTierStatisticsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryFeeDiscountTierStatisticsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryFeeDiscountTierStatisticsResponse; static equals(a: QueryFeeDiscountTierStatisticsResponse | PlainMessage | undefined, b: QueryFeeDiscountTierStatisticsResponse | PlainMessage | undefined): boolean; } /** * MitoVaultInfosRequest is the request type for the Query/MitoVaultInfos RPC * method. * * @generated from message injective.exchange.v1beta1.MitoVaultInfosRequest */ export declare class MitoVaultInfosRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.MitoVaultInfosRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MitoVaultInfosRequest; static fromJson(jsonValue: JsonValue, options?: Partial): MitoVaultInfosRequest; static fromJsonString(jsonString: string, options?: Partial): MitoVaultInfosRequest; static equals(a: MitoVaultInfosRequest | PlainMessage | undefined, b: MitoVaultInfosRequest | PlainMessage | undefined): boolean; } /** * MitoVaultInfosResponse is the response type for the Query/MitoVaultInfos RPC * method. * * @generated from message injective.exchange.v1beta1.MitoVaultInfosResponse */ export declare class MitoVaultInfosResponse extends Message { /** * @generated from field: repeated string master_addresses = 1; */ masterAddresses: string[]; /** * @generated from field: repeated string derivative_addresses = 2; */ derivativeAddresses: string[]; /** * @generated from field: repeated string spot_addresses = 3; */ spotAddresses: string[]; /** * @generated from field: repeated string cw20_addresses = 4; */ cw20Addresses: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.MitoVaultInfosResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MitoVaultInfosResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MitoVaultInfosResponse; static fromJsonString(jsonString: string, options?: Partial): MitoVaultInfosResponse; static equals(a: MitoVaultInfosResponse | PlainMessage | undefined, b: MitoVaultInfosResponse | PlainMessage | undefined): boolean; } /** * QueryMarketIDFromVaultRequest is the request type for the * Query/QueryMarketIDFromVault RPC method. * * @generated from message injective.exchange.v1beta1.QueryMarketIDFromVaultRequest */ export declare class QueryMarketIDFromVaultRequest extends Message { /** * @generated from field: string vault_address = 1; */ vaultAddress: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryMarketIDFromVaultRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryMarketIDFromVaultRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryMarketIDFromVaultRequest; static fromJsonString(jsonString: string, options?: Partial): QueryMarketIDFromVaultRequest; static equals(a: QueryMarketIDFromVaultRequest | PlainMessage | undefined, b: QueryMarketIDFromVaultRequest | PlainMessage | undefined): boolean; } /** * QueryMarketIDFromVaultResponse is the response type for the * Query/QueryMarketIDFromVault RPC method. * * @generated from message injective.exchange.v1beta1.QueryMarketIDFromVaultResponse */ export declare class QueryMarketIDFromVaultResponse extends Message { /** * @generated from field: string market_id = 1; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryMarketIDFromVaultResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryMarketIDFromVaultResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryMarketIDFromVaultResponse; static fromJsonString(jsonString: string, options?: Partial): QueryMarketIDFromVaultResponse; static equals(a: QueryMarketIDFromVaultResponse | PlainMessage | undefined, b: QueryMarketIDFromVaultResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.QueryHistoricalTradeRecordsRequest */ export declare class QueryHistoricalTradeRecordsRequest extends Message { /** * @generated from field: string market_id = 1; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryHistoricalTradeRecordsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryHistoricalTradeRecordsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryHistoricalTradeRecordsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryHistoricalTradeRecordsRequest; static equals(a: QueryHistoricalTradeRecordsRequest | PlainMessage | undefined, b: QueryHistoricalTradeRecordsRequest | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.QueryHistoricalTradeRecordsResponse */ export declare class QueryHistoricalTradeRecordsResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.TradeRecords trade_records = 1; */ tradeRecords: TradeRecords[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryHistoricalTradeRecordsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryHistoricalTradeRecordsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryHistoricalTradeRecordsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryHistoricalTradeRecordsResponse; static equals(a: QueryHistoricalTradeRecordsResponse | PlainMessage | undefined, b: QueryHistoricalTradeRecordsResponse | PlainMessage | undefined): boolean; } /** * TradeHistoryOptions are the optional params for Query/MarketVolatility RPC * method. * * @generated from message injective.exchange.v1beta1.TradeHistoryOptions */ export declare class TradeHistoryOptions extends Message { /** * TradeGroupingSec of 0 means use the chain's default grouping * * @generated from field: uint64 trade_grouping_sec = 1; */ tradeGroupingSec: bigint; /** * MaxAge restricts the trade records oldest age in seconds from the current * block time to consider. A value of 0 means use all the records present on * the chain. * * @generated from field: uint64 max_age = 2; */ maxAge: bigint; /** * If IncludeRawHistory is true, the raw underlying data used for the * computation is included in the response * * @generated from field: bool include_raw_history = 4; */ includeRawHistory: boolean; /** * If IncludeMetadata is true, metadata on the computation is included in the * response * * @generated from field: bool include_metadata = 5; */ includeMetadata: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.TradeHistoryOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TradeHistoryOptions; static fromJson(jsonValue: JsonValue, options?: Partial): TradeHistoryOptions; static fromJsonString(jsonString: string, options?: Partial): TradeHistoryOptions; static equals(a: TradeHistoryOptions | PlainMessage | undefined, b: TradeHistoryOptions | PlainMessage | undefined): boolean; } /** * QueryMarketVolatilityRequest are the request params for the * Query/MarketVolatility RPC method. * * @generated from message injective.exchange.v1beta1.QueryMarketVolatilityRequest */ export declare class QueryMarketVolatilityRequest extends Message { /** * @generated from field: string market_id = 1; */ marketId: string; /** * @generated from field: injective.exchange.v1beta1.TradeHistoryOptions trade_history_options = 2; */ tradeHistoryOptions?: TradeHistoryOptions; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryMarketVolatilityRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryMarketVolatilityRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryMarketVolatilityRequest; static fromJsonString(jsonString: string, options?: Partial): QueryMarketVolatilityRequest; static equals(a: QueryMarketVolatilityRequest | PlainMessage | undefined, b: QueryMarketVolatilityRequest | PlainMessage | undefined): boolean; } /** * QueryMarketVolatilityResponse is the response type for the * Query/MarketVolatility RPC method. * * @generated from message injective.exchange.v1beta1.QueryMarketVolatilityResponse */ export declare class QueryMarketVolatilityResponse extends Message { /** * @generated from field: string volatility = 1; */ volatility: string; /** * @generated from field: injective.oracle.v1beta1.MetadataStatistics history_metadata = 2; */ historyMetadata?: MetadataStatistics; /** * @generated from field: repeated injective.exchange.v1beta1.TradeRecord raw_history = 3; */ rawHistory: TradeRecord[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryMarketVolatilityResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryMarketVolatilityResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryMarketVolatilityResponse; static fromJsonString(jsonString: string, options?: Partial): QueryMarketVolatilityResponse; static equals(a: QueryMarketVolatilityResponse | PlainMessage | undefined, b: QueryMarketVolatilityResponse | PlainMessage | undefined): boolean; } /** * QuerBinaryMarketsRequest is the request type for the Query/BinaryMarkets RPC * method. * * @generated from message injective.exchange.v1beta1.QueryBinaryMarketsRequest */ export declare class QueryBinaryMarketsRequest extends Message { /** * Status of the market, for convenience it is set to string - not enum * * @generated from field: string status = 1; */ status: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryBinaryMarketsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryBinaryMarketsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryBinaryMarketsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryBinaryMarketsRequest; static equals(a: QueryBinaryMarketsRequest | PlainMessage | undefined, b: QueryBinaryMarketsRequest | PlainMessage | undefined): boolean; } /** * QueryBinaryMarketsResponse is the response type for the Query/BinaryMarkets * RPC method. * * @generated from message injective.exchange.v1beta1.QueryBinaryMarketsResponse */ export declare class QueryBinaryMarketsResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.BinaryOptionsMarket markets = 1; */ markets: BinaryOptionsMarket[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryBinaryMarketsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryBinaryMarketsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryBinaryMarketsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryBinaryMarketsResponse; static equals(a: QueryBinaryMarketsResponse | PlainMessage | undefined, b: QueryBinaryMarketsResponse | PlainMessage | undefined): boolean; } /** * QueryConditionalOrdersRequest is the request type for the * Query/ConditionalOrders RPC method. * * @generated from message injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersRequest */ export declare class QueryTraderDerivativeConditionalOrdersRequest extends Message { /** * @generated from field: string subaccount_id = 1; */ subaccountId: string; /** * @generated from field: string market_id = 2; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraderDerivativeConditionalOrdersRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraderDerivativeConditionalOrdersRequest; static fromJsonString(jsonString: string, options?: Partial): QueryTraderDerivativeConditionalOrdersRequest; static equals(a: QueryTraderDerivativeConditionalOrdersRequest | PlainMessage | undefined, b: QueryTraderDerivativeConditionalOrdersRequest | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.TrimmedDerivativeConditionalOrder */ export declare class TrimmedDerivativeConditionalOrder extends Message { /** * price of the order * * @generated from field: string price = 1; */ price: string; /** * quantity of the order * * @generated from field: string quantity = 2; */ quantity: string; /** * margin of the order * * @generated from field: string margin = 3; */ margin: string; /** * price to trigger the order * * @generated from field: string triggerPrice = 4; */ triggerPrice: string; /** * true if the order is a buy * * ensure omitempty is not in jsontag * * @generated from field: bool isBuy = 5; */ isBuy: boolean; /** * @generated from field: bool isLimit = 6; */ isLimit: boolean; /** * @generated from field: string order_hash = 7; */ orderHash: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.TrimmedDerivativeConditionalOrder"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrimmedDerivativeConditionalOrder; static fromJson(jsonValue: JsonValue, options?: Partial): TrimmedDerivativeConditionalOrder; static fromJsonString(jsonString: string, options?: Partial): TrimmedDerivativeConditionalOrder; static equals(a: TrimmedDerivativeConditionalOrder | PlainMessage | undefined, b: TrimmedDerivativeConditionalOrder | PlainMessage | undefined): boolean; } /** * QueryTraderDerivativeOrdersResponse is the response type for the * Query/TraderDerivativeOrders RPC method. * * @generated from message injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersResponse */ export declare class QueryTraderDerivativeConditionalOrdersResponse extends Message { /** * @generated from field: repeated injective.exchange.v1beta1.TrimmedDerivativeConditionalOrder orders = 1; */ orders: TrimmedDerivativeConditionalOrder[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraderDerivativeConditionalOrdersResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraderDerivativeConditionalOrdersResponse; static fromJsonString(jsonString: string, options?: Partial): QueryTraderDerivativeConditionalOrdersResponse; static equals(a: QueryTraderDerivativeConditionalOrdersResponse | PlainMessage | undefined, b: QueryTraderDerivativeConditionalOrdersResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierRequest */ export declare class QueryMarketAtomicExecutionFeeMultiplierRequest extends Message { /** * @generated from field: string market_id = 1; */ marketId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryMarketAtomicExecutionFeeMultiplierRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryMarketAtomicExecutionFeeMultiplierRequest; static fromJsonString(jsonString: string, options?: Partial): QueryMarketAtomicExecutionFeeMultiplierRequest; static equals(a: QueryMarketAtomicExecutionFeeMultiplierRequest | PlainMessage | undefined, b: QueryMarketAtomicExecutionFeeMultiplierRequest | PlainMessage | undefined): boolean; } /** * @generated from message injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierResponse */ export declare class QueryMarketAtomicExecutionFeeMultiplierResponse extends Message { /** * @generated from field: string multiplier = 1; */ multiplier: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryMarketAtomicExecutionFeeMultiplierResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryMarketAtomicExecutionFeeMultiplierResponse; static fromJsonString(jsonString: string, options?: Partial): QueryMarketAtomicExecutionFeeMultiplierResponse; static equals(a: QueryMarketAtomicExecutionFeeMultiplierResponse | PlainMessage | undefined, b: QueryMarketAtomicExecutionFeeMultiplierResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=query_pb.d.ts.map