Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@injectivelabs/chain-api

Package Overview
Dependencies
Maintainers
8
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@injectivelabs/chain-api - npm Package Compare versions

Comparing version 1.4.11 to 1.4.12

8

injective/exchange/v1beta1/genesis_pb.d.ts

@@ -69,2 +69,8 @@ // package: injective.exchange.v1beta1

getIsSpotExchangeEnabled(): boolean;
setIsSpotExchangeEnabled(value: boolean): void;
getIsDerivativesExchangeEnabled(): boolean;
setIsDerivativesExchangeEnabled(value: boolean): void;
serializeBinary(): Uint8Array;

@@ -94,2 +100,4 @@ toObject(includeInstance?: boolean): GenesisState.AsObject;

derivativeMarketSettlementScheduledList: Array<injective_exchange_v1beta1_exchange_pb.DerivativeMarketSettlementInfo.AsObject>,
isSpotExchangeEnabled: boolean,
isDerivativesExchangeEnabled: boolean,
}

@@ -96,0 +104,0 @@ }

@@ -61,2 +61,38 @@ // package: injective.exchange.v1beta1

type QuerySpotOrderbook = {
readonly methodName: string;
readonly service: typeof Query;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof injective_exchange_v1beta1_query_pb.QuerySpotOrderbookRequest;
readonly responseType: typeof injective_exchange_v1beta1_query_pb.QuerySpotOrderbookResponse;
};
type QueryTraderSpotOrders = {
readonly methodName: string;
readonly service: typeof Query;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof injective_exchange_v1beta1_query_pb.QueryTraderSpotOrdersRequest;
readonly responseType: typeof injective_exchange_v1beta1_query_pb.QueryTraderSpotOrdersResponse;
};
type QueryDerivativeOrderbook = {
readonly methodName: string;
readonly service: typeof Query;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof injective_exchange_v1beta1_query_pb.QueryDerivativeOrderbookRequest;
readonly responseType: typeof injective_exchange_v1beta1_query_pb.QueryDerivativeOrderbookResponse;
};
type QueryTraderDerivativeOrders = {
readonly methodName: string;
readonly service: typeof Query;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof injective_exchange_v1beta1_query_pb.QueryTraderDerivativeOrdersRequest;
readonly responseType: typeof injective_exchange_v1beta1_query_pb.QueryTraderDerivativeOrdersResponse;
};
type QueryDerivativeMarkets = {

@@ -115,2 +151,6 @@ readonly methodName: string;

static readonly SpotMarket: QuerySpotMarket;
static readonly SpotOrderbook: QuerySpotOrderbook;
static readonly TraderSpotOrders: QueryTraderSpotOrders;
static readonly DerivativeOrderbook: QueryDerivativeOrderbook;
static readonly TraderDerivativeOrders: QueryTraderDerivativeOrders;
static readonly DerivativeMarkets: QueryDerivativeMarkets;

@@ -209,2 +249,38 @@ static readonly DerivativeMarket: QueryDerivativeMarket;

): UnaryResponse;
spotOrderbook(
requestMessage: injective_exchange_v1beta1_query_pb.QuerySpotOrderbookRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: injective_exchange_v1beta1_query_pb.QuerySpotOrderbookResponse|null) => void
): UnaryResponse;
spotOrderbook(
requestMessage: injective_exchange_v1beta1_query_pb.QuerySpotOrderbookRequest,
callback: (error: ServiceError|null, responseMessage: injective_exchange_v1beta1_query_pb.QuerySpotOrderbookResponse|null) => void
): UnaryResponse;
traderSpotOrders(
requestMessage: injective_exchange_v1beta1_query_pb.QueryTraderSpotOrdersRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: injective_exchange_v1beta1_query_pb.QueryTraderSpotOrdersResponse|null) => void
): UnaryResponse;
traderSpotOrders(
requestMessage: injective_exchange_v1beta1_query_pb.QueryTraderSpotOrdersRequest,
callback: (error: ServiceError|null, responseMessage: injective_exchange_v1beta1_query_pb.QueryTraderSpotOrdersResponse|null) => void
): UnaryResponse;
derivativeOrderbook(
requestMessage: injective_exchange_v1beta1_query_pb.QueryDerivativeOrderbookRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: injective_exchange_v1beta1_query_pb.QueryDerivativeOrderbookResponse|null) => void
): UnaryResponse;
derivativeOrderbook(
requestMessage: injective_exchange_v1beta1_query_pb.QueryDerivativeOrderbookRequest,
callback: (error: ServiceError|null, responseMessage: injective_exchange_v1beta1_query_pb.QueryDerivativeOrderbookResponse|null) => void
): UnaryResponse;
traderDerivativeOrders(
requestMessage: injective_exchange_v1beta1_query_pb.QueryTraderDerivativeOrdersRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: injective_exchange_v1beta1_query_pb.QueryTraderDerivativeOrdersResponse|null) => void
): UnaryResponse;
traderDerivativeOrders(
requestMessage: injective_exchange_v1beta1_query_pb.QueryTraderDerivativeOrdersRequest,
callback: (error: ServiceError|null, responseMessage: injective_exchange_v1beta1_query_pb.QueryTraderDerivativeOrdersResponse|null) => void
): UnaryResponse;
derivativeMarkets(

@@ -211,0 +287,0 @@ requestMessage: injective_exchange_v1beta1_query_pb.QueryDerivativeMarketsRequest,

@@ -67,2 +67,38 @@ // package: injective.exchange.v1beta1

Query.SpotOrderbook = {
methodName: "SpotOrderbook",
service: Query,
requestStream: false,
responseStream: false,
requestType: injective_exchange_v1beta1_query_pb.QuerySpotOrderbookRequest,
responseType: injective_exchange_v1beta1_query_pb.QuerySpotOrderbookResponse
};
Query.TraderSpotOrders = {
methodName: "TraderSpotOrders",
service: Query,
requestStream: false,
responseStream: false,
requestType: injective_exchange_v1beta1_query_pb.QueryTraderSpotOrdersRequest,
responseType: injective_exchange_v1beta1_query_pb.QueryTraderSpotOrdersResponse
};
Query.DerivativeOrderbook = {
methodName: "DerivativeOrderbook",
service: Query,
requestStream: false,
responseStream: false,
requestType: injective_exchange_v1beta1_query_pb.QueryDerivativeOrderbookRequest,
responseType: injective_exchange_v1beta1_query_pb.QueryDerivativeOrderbookResponse
};
Query.TraderDerivativeOrders = {
methodName: "TraderDerivativeOrders",
service: Query,
requestStream: false,
responseStream: false,
requestType: injective_exchange_v1beta1_query_pb.QueryTraderDerivativeOrdersRequest,
responseType: injective_exchange_v1beta1_query_pb.QueryTraderDerivativeOrdersResponse
};
Query.DerivativeMarkets = {

@@ -306,2 +342,126 @@ methodName: "DerivativeMarkets",

QueryClient.prototype.spotOrderbook = function spotOrderbook(requestMessage, metadata, callback) {
if (arguments.length === 2) {
callback = arguments[1];
}
var client = grpc.unary(Query.SpotOrderbook, {
request: requestMessage,
host: this.serviceHost,
metadata: metadata,
transport: this.options.transport,
debug: this.options.debug,
onEnd: function (response) {
if (callback) {
if (response.status !== grpc.Code.OK) {
var err = new Error(response.statusMessage);
err.code = response.status;
err.metadata = response.trailers;
callback(err, null);
} else {
callback(null, response.message);
}
}
}
});
return {
cancel: function () {
callback = null;
client.close();
}
};
};
QueryClient.prototype.traderSpotOrders = function traderSpotOrders(requestMessage, metadata, callback) {
if (arguments.length === 2) {
callback = arguments[1];
}
var client = grpc.unary(Query.TraderSpotOrders, {
request: requestMessage,
host: this.serviceHost,
metadata: metadata,
transport: this.options.transport,
debug: this.options.debug,
onEnd: function (response) {
if (callback) {
if (response.status !== grpc.Code.OK) {
var err = new Error(response.statusMessage);
err.code = response.status;
err.metadata = response.trailers;
callback(err, null);
} else {
callback(null, response.message);
}
}
}
});
return {
cancel: function () {
callback = null;
client.close();
}
};
};
QueryClient.prototype.derivativeOrderbook = function derivativeOrderbook(requestMessage, metadata, callback) {
if (arguments.length === 2) {
callback = arguments[1];
}
var client = grpc.unary(Query.DerivativeOrderbook, {
request: requestMessage,
host: this.serviceHost,
metadata: metadata,
transport: this.options.transport,
debug: this.options.debug,
onEnd: function (response) {
if (callback) {
if (response.status !== grpc.Code.OK) {
var err = new Error(response.statusMessage);
err.code = response.status;
err.metadata = response.trailers;
callback(err, null);
} else {
callback(null, response.message);
}
}
}
});
return {
cancel: function () {
callback = null;
client.close();
}
};
};
QueryClient.prototype.traderDerivativeOrders = function traderDerivativeOrders(requestMessage, metadata, callback) {
if (arguments.length === 2) {
callback = arguments[1];
}
var client = grpc.unary(Query.TraderDerivativeOrders, {
request: requestMessage,
host: this.serviceHost,
metadata: metadata,
transport: this.options.transport,
debug: this.options.debug,
onEnd: function (response) {
if (callback) {
if (response.status !== grpc.Code.OK) {
var err = new Error(response.statusMessage);
err.code = response.status;
err.metadata = response.trailers;
callback(err, null);
} else {
callback(null, response.message);
}
}
}
});
return {
cancel: function () {
callback = null;
client.close();
}
};
};
QueryClient.prototype.derivativeMarkets = function derivativeMarkets(requestMessage, metadata, callback) {

@@ -308,0 +468,0 @@ if (arguments.length === 2) {

@@ -285,2 +285,274 @@ // package: injective.exchange.v1beta1

export class QuerySpotOrderbookRequest extends jspb.Message {
getMarketId(): string;
setMarketId(value: string): void;
getLimit(): number;
setLimit(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): QuerySpotOrderbookRequest.AsObject;
static toObject(includeInstance: boolean, msg: QuerySpotOrderbookRequest): QuerySpotOrderbookRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: QuerySpotOrderbookRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): QuerySpotOrderbookRequest;
static deserializeBinaryFromReader(message: QuerySpotOrderbookRequest, reader: jspb.BinaryReader): QuerySpotOrderbookRequest;
}
export namespace QuerySpotOrderbookRequest {
export type AsObject = {
marketId: string,
limit: number,
}
}
export class QuerySpotOrderbookResponse extends jspb.Message {
clearBuysPriceLevelList(): void;
getBuysPriceLevelList(): Array<PriceLevel>;
setBuysPriceLevelList(value: Array<PriceLevel>): void;
addBuysPriceLevel(value?: PriceLevel, index?: number): PriceLevel;
clearSellsPriceLevelList(): void;
getSellsPriceLevelList(): Array<PriceLevel>;
setSellsPriceLevelList(value: Array<PriceLevel>): void;
addSellsPriceLevel(value?: PriceLevel, index?: number): PriceLevel;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): QuerySpotOrderbookResponse.AsObject;
static toObject(includeInstance: boolean, msg: QuerySpotOrderbookResponse): QuerySpotOrderbookResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: QuerySpotOrderbookResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): QuerySpotOrderbookResponse;
static deserializeBinaryFromReader(message: QuerySpotOrderbookResponse, reader: jspb.BinaryReader): QuerySpotOrderbookResponse;
}
export namespace QuerySpotOrderbookResponse {
export type AsObject = {
buysPriceLevelList: Array<PriceLevel.AsObject>,
sellsPriceLevelList: Array<PriceLevel.AsObject>,
}
}
export class QueryTraderSpotOrdersRequest extends jspb.Message {
getMarketId(): string;
setMarketId(value: string): void;
getSubaccountId(): string;
setSubaccountId(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): QueryTraderSpotOrdersRequest.AsObject;
static toObject(includeInstance: boolean, msg: QueryTraderSpotOrdersRequest): QueryTraderSpotOrdersRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: QueryTraderSpotOrdersRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): QueryTraderSpotOrdersRequest;
static deserializeBinaryFromReader(message: QueryTraderSpotOrdersRequest, reader: jspb.BinaryReader): QueryTraderSpotOrdersRequest;
}
export namespace QueryTraderSpotOrdersRequest {
export type AsObject = {
marketId: string,
subaccountId: string,
}
}
export class TrimmedSpotLimitOrder extends jspb.Message {
getPrice(): string;
setPrice(value: string): void;
getQuantity(): string;
setQuantity(value: string): void;
getFillable(): string;
setFillable(value: string): void;
getIsbuy(): boolean;
setIsbuy(value: boolean): void;
getOrderHash(): string;
setOrderHash(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TrimmedSpotLimitOrder.AsObject;
static toObject(includeInstance: boolean, msg: TrimmedSpotLimitOrder): TrimmedSpotLimitOrder.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: TrimmedSpotLimitOrder, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TrimmedSpotLimitOrder;
static deserializeBinaryFromReader(message: TrimmedSpotLimitOrder, reader: jspb.BinaryReader): TrimmedSpotLimitOrder;
}
export namespace TrimmedSpotLimitOrder {
export type AsObject = {
price: string,
quantity: string,
fillable: string,
isbuy: boolean,
orderHash: string,
}
}
export class QueryTraderSpotOrdersResponse extends jspb.Message {
clearOrdersList(): void;
getOrdersList(): Array<TrimmedSpotLimitOrder>;
setOrdersList(value: Array<TrimmedSpotLimitOrder>): void;
addOrders(value?: TrimmedSpotLimitOrder, index?: number): TrimmedSpotLimitOrder;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): QueryTraderSpotOrdersResponse.AsObject;
static toObject(includeInstance: boolean, msg: QueryTraderSpotOrdersResponse): QueryTraderSpotOrdersResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: QueryTraderSpotOrdersResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): QueryTraderSpotOrdersResponse;
static deserializeBinaryFromReader(message: QueryTraderSpotOrdersResponse, reader: jspb.BinaryReader): QueryTraderSpotOrdersResponse;
}
export namespace QueryTraderSpotOrdersResponse {
export type AsObject = {
ordersList: Array<TrimmedSpotLimitOrder.AsObject>,
}
}
export class QueryDerivativeOrderbookRequest extends jspb.Message {
getMarketId(): string;
setMarketId(value: string): void;
getLimit(): number;
setLimit(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): QueryDerivativeOrderbookRequest.AsObject;
static toObject(includeInstance: boolean, msg: QueryDerivativeOrderbookRequest): QueryDerivativeOrderbookRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: QueryDerivativeOrderbookRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): QueryDerivativeOrderbookRequest;
static deserializeBinaryFromReader(message: QueryDerivativeOrderbookRequest, reader: jspb.BinaryReader): QueryDerivativeOrderbookRequest;
}
export namespace QueryDerivativeOrderbookRequest {
export type AsObject = {
marketId: string,
limit: number,
}
}
export class QueryDerivativeOrderbookResponse extends jspb.Message {
clearBuysPriceLevelList(): void;
getBuysPriceLevelList(): Array<PriceLevel>;
setBuysPriceLevelList(value: Array<PriceLevel>): void;
addBuysPriceLevel(value?: PriceLevel, index?: number): PriceLevel;
clearSellsPriceLevelList(): void;
getSellsPriceLevelList(): Array<PriceLevel>;
setSellsPriceLevelList(value: Array<PriceLevel>): void;
addSellsPriceLevel(value?: PriceLevel, index?: number): PriceLevel;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): QueryDerivativeOrderbookResponse.AsObject;
static toObject(includeInstance: boolean, msg: QueryDerivativeOrderbookResponse): QueryDerivativeOrderbookResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: QueryDerivativeOrderbookResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): QueryDerivativeOrderbookResponse;
static deserializeBinaryFromReader(message: QueryDerivativeOrderbookResponse, reader: jspb.BinaryReader): QueryDerivativeOrderbookResponse;
}
export namespace QueryDerivativeOrderbookResponse {
export type AsObject = {
buysPriceLevelList: Array<PriceLevel.AsObject>,
sellsPriceLevelList: Array<PriceLevel.AsObject>,
}
}
export class QueryTraderDerivativeOrdersRequest extends jspb.Message {
getMarketId(): string;
setMarketId(value: string): void;
getSubaccountId(): string;
setSubaccountId(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): QueryTraderDerivativeOrdersRequest.AsObject;
static toObject(includeInstance: boolean, msg: QueryTraderDerivativeOrdersRequest): QueryTraderDerivativeOrdersRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: QueryTraderDerivativeOrdersRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): QueryTraderDerivativeOrdersRequest;
static deserializeBinaryFromReader(message: QueryTraderDerivativeOrdersRequest, reader: jspb.BinaryReader): QueryTraderDerivativeOrdersRequest;
}
export namespace QueryTraderDerivativeOrdersRequest {
export type AsObject = {
marketId: string,
subaccountId: string,
}
}
export class TrimmedDerivativeLimitOrder extends jspb.Message {
getPrice(): string;
setPrice(value: string): void;
getQuantity(): string;
setQuantity(value: string): void;
getMargin(): string;
setMargin(value: string): void;
getFillable(): string;
setFillable(value: string): void;
getIsbuy(): boolean;
setIsbuy(value: boolean): void;
getOrderHash(): string;
setOrderHash(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TrimmedDerivativeLimitOrder.AsObject;
static toObject(includeInstance: boolean, msg: TrimmedDerivativeLimitOrder): TrimmedDerivativeLimitOrder.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: TrimmedDerivativeLimitOrder, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TrimmedDerivativeLimitOrder;
static deserializeBinaryFromReader(message: TrimmedDerivativeLimitOrder, reader: jspb.BinaryReader): TrimmedDerivativeLimitOrder;
}
export namespace TrimmedDerivativeLimitOrder {
export type AsObject = {
price: string,
quantity: string,
margin: string,
fillable: string,
isbuy: boolean,
orderHash: string,
}
}
export class QueryTraderDerivativeOrdersResponse extends jspb.Message {
clearOrdersList(): void;
getOrdersList(): Array<TrimmedDerivativeLimitOrder>;
setOrdersList(value: Array<TrimmedDerivativeLimitOrder>): void;
addOrders(value?: TrimmedDerivativeLimitOrder, index?: number): TrimmedDerivativeLimitOrder;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): QueryTraderDerivativeOrdersResponse.AsObject;
static toObject(includeInstance: boolean, msg: QueryTraderDerivativeOrdersResponse): QueryTraderDerivativeOrdersResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: QueryTraderDerivativeOrdersResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): QueryTraderDerivativeOrdersResponse;
static deserializeBinaryFromReader(message: QueryTraderDerivativeOrdersResponse, reader: jspb.BinaryReader): QueryTraderDerivativeOrdersResponse;
}
export namespace QueryTraderDerivativeOrdersResponse {
export type AsObject = {
ordersList: Array<TrimmedDerivativeLimitOrder.AsObject>,
}
}
export class QueryDerivativeMarketsRequest extends jspb.Message {

@@ -306,2 +578,26 @@ getStatus(): injective_exchange_v1beta1_exchange_pb.MarketStatusMap[keyof injective_exchange_v1beta1_exchange_pb.MarketStatusMap];

export class PriceLevel extends jspb.Message {
getPrice(): string;
setPrice(value: string): void;
getQuantity(): string;
setQuantity(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PriceLevel.AsObject;
static toObject(includeInstance: boolean, msg: PriceLevel): PriceLevel.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: PriceLevel, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PriceLevel;
static deserializeBinaryFromReader(message: PriceLevel, reader: jspb.BinaryReader): PriceLevel;
}
export namespace PriceLevel {
export type AsObject = {
price: string,
quantity: string,
}
}
export class PerpetualMarketState extends jspb.Message {

@@ -308,0 +604,0 @@ hasMarketInfo(): boolean;

@@ -1044,2 +1044,30 @@ // package: injective.exchange.v1beta1

export class ExchangeEnableProposal extends jspb.Message {
getTitle(): string;
setTitle(value: string): void;
getDescription(): string;
setDescription(value: string): void;
getExchangetype(): ExchangeTypeMap[keyof ExchangeTypeMap];
setExchangetype(value: ExchangeTypeMap[keyof ExchangeTypeMap]): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ExchangeEnableProposal.AsObject;
static toObject(includeInstance: boolean, msg: ExchangeEnableProposal): ExchangeEnableProposal.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: ExchangeEnableProposal, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ExchangeEnableProposal;
static deserializeBinaryFromReader(message: ExchangeEnableProposal, reader: jspb.BinaryReader): ExchangeEnableProposal;
}
export namespace ExchangeEnableProposal {
export type AsObject = {
title: string,
description: string,
exchangetype: ExchangeTypeMap[keyof ExchangeTypeMap],
}
}
export class SpotMarketLaunchProposal extends jspb.Message {

@@ -1297,1 +1325,9 @@ getTitle(): string;

export interface ExchangeTypeMap {
EXCHANGE_UNSPECIFIED: 0;
SPOT: 1;
DERIVATIVES: 2;
}
export const ExchangeType: ExchangeTypeMap;

2

package.json
{
"name": "@injectivelabs/chain-api",
"version": "1.4.11",
"version": "1.4.12",
"description": "Injective Chain API Query client with generated gRPC bindings.",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc