injective_spot_exchange_rpcpb

package
v1.54.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 15 Imported by: 13

Documentation

Overview

Package injective_spot_exchange_rpcpb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_goadesign_goagen_injective_spot_exchange_rpc_proto protoreflect.FileDescriptor
View Source
var InjectiveSpotExchangeRPC_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "injective_spot_exchange_rpc.InjectiveSpotExchangeRPC",
	HandlerType: (*InjectiveSpotExchangeRPCServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Markets",
			Handler:    _InjectiveSpotExchangeRPC_Markets_Handler,
		},
		{
			MethodName: "Market",
			Handler:    _InjectiveSpotExchangeRPC_Market_Handler,
		},
		{
			MethodName: "OrderbookV2",
			Handler:    _InjectiveSpotExchangeRPC_OrderbookV2_Handler,
		},
		{
			MethodName: "OrderbooksV2",
			Handler:    _InjectiveSpotExchangeRPC_OrderbooksV2_Handler,
		},
		{
			MethodName: "Orders",
			Handler:    _InjectiveSpotExchangeRPC_Orders_Handler,
		},
		{
			MethodName: "Trades",
			Handler:    _InjectiveSpotExchangeRPC_Trades_Handler,
		},
		{
			MethodName: "TradesV2",
			Handler:    _InjectiveSpotExchangeRPC_TradesV2_Handler,
		},
		{
			MethodName: "SubaccountOrdersList",
			Handler:    _InjectiveSpotExchangeRPC_SubaccountOrdersList_Handler,
		},
		{
			MethodName: "SubaccountTradesList",
			Handler:    _InjectiveSpotExchangeRPC_SubaccountTradesList_Handler,
		},
		{
			MethodName: "OrdersHistory",
			Handler:    _InjectiveSpotExchangeRPC_OrdersHistory_Handler,
		},
		{
			MethodName: "AtomicSwapHistory",
			Handler:    _InjectiveSpotExchangeRPC_AtomicSwapHistory_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamMarkets",
			Handler:       _InjectiveSpotExchangeRPC_StreamMarkets_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamOrderbookV2",
			Handler:       _InjectiveSpotExchangeRPC_StreamOrderbookV2_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamOrderbookUpdate",
			Handler:       _InjectiveSpotExchangeRPC_StreamOrderbookUpdate_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamOrders",
			Handler:       _InjectiveSpotExchangeRPC_StreamOrders_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamTrades",
			Handler:       _InjectiveSpotExchangeRPC_StreamTrades_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamTradesV2",
			Handler:       _InjectiveSpotExchangeRPC_StreamTradesV2_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamOrdersHistory",
			Handler:       _InjectiveSpotExchangeRPC_StreamOrdersHistory_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "goadesign_goagen_injective_spot_exchange_rpc.proto",
}

InjectiveSpotExchangeRPC_ServiceDesc is the grpc.ServiceDesc for InjectiveSpotExchangeRPC service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterInjectiveSpotExchangeRPCHandler added in v1.32.1

func RegisterInjectiveSpotExchangeRPCHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterInjectiveSpotExchangeRPCHandler registers the http handlers for service InjectiveSpotExchangeRPC to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterInjectiveSpotExchangeRPCHandlerClient added in v1.32.1

func RegisterInjectiveSpotExchangeRPCHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InjectiveSpotExchangeRPCClient) error

RegisterInjectiveSpotExchangeRPCHandlerClient registers the http handlers for service InjectiveSpotExchangeRPC to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "InjectiveSpotExchangeRPCClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "InjectiveSpotExchangeRPCClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "InjectiveSpotExchangeRPCClient" to call the correct interceptors.

func RegisterInjectiveSpotExchangeRPCHandlerFromEndpoint added in v1.32.1

func RegisterInjectiveSpotExchangeRPCHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterInjectiveSpotExchangeRPCHandlerFromEndpoint is same as RegisterInjectiveSpotExchangeRPCHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterInjectiveSpotExchangeRPCHandlerServer added in v1.32.1

func RegisterInjectiveSpotExchangeRPCHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InjectiveSpotExchangeRPCServer) error

RegisterInjectiveSpotExchangeRPCHandlerServer registers the http handlers for service InjectiveSpotExchangeRPC to "mux". UnaryRPC :call InjectiveSpotExchangeRPCServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterInjectiveSpotExchangeRPCHandlerFromEndpoint instead.

func RegisterInjectiveSpotExchangeRPCServer

func RegisterInjectiveSpotExchangeRPCServer(s grpc.ServiceRegistrar, srv InjectiveSpotExchangeRPCServer)

Types

type AtomicSwap added in v1.47.16

type AtomicSwap struct {

	// executor of the swap
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// swap route
	Route string `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`
	// source coin
	SourceCoin *Coin `protobuf:"bytes,3,opt,name=source_coin,json=sourceCoin,proto3" json:"source_coin,omitempty"`
	// destination received coin
	DestCoin *Coin `protobuf:"bytes,4,opt,name=dest_coin,json=destCoin,proto3" json:"dest_coin,omitempty"`
	// fees of each steps in route
	Fees []*Coin `protobuf:"bytes,5,rep,name=fees,proto3" json:"fees,omitempty"`
	// contract address that executes to make this swap
	ContractAddress string `protobuf:"bytes,6,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// Numerical index by sender to use in pagination from_number and to_number
	IndexBySender int32 `protobuf:"zigzag32,7,opt,name=index_by_sender,json=indexBySender,proto3" json:"index_by_sender,omitempty"`
	// Numerical index by sender + acontract to use in pagination from_number and
	// to_number, that support contract filter
	IndexBySenderContract int32 `` /* 131-byte string literal not displayed */
	// transaction hash of the swap
	TxHash string `protobuf:"bytes,9,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	// transaction timestamp of the swap
	ExecutedAt int64 `protobuf:"zigzag64,10,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"`
	// Refunded amount of the swap
	RefundAmount string `protobuf:"bytes,11,opt,name=refund_amount,json=refundAmount,proto3" json:"refund_amount,omitempty"`
	// contains filtered or unexported fields
}

func (*AtomicSwap) Descriptor deprecated added in v1.47.16

func (*AtomicSwap) Descriptor() ([]byte, []int)

Deprecated: Use AtomicSwap.ProtoReflect.Descriptor instead.

func (*AtomicSwap) GetContractAddress added in v1.47.16

func (x *AtomicSwap) GetContractAddress() string

func (*AtomicSwap) GetDestCoin added in v1.47.16

func (x *AtomicSwap) GetDestCoin() *Coin

func (*AtomicSwap) GetExecutedAt added in v1.47.16

func (x *AtomicSwap) GetExecutedAt() int64

func (*AtomicSwap) GetFees added in v1.47.16

func (x *AtomicSwap) GetFees() []*Coin

func (*AtomicSwap) GetIndexBySender added in v1.47.16

func (x *AtomicSwap) GetIndexBySender() int32

func (*AtomicSwap) GetIndexBySenderContract added in v1.47.16

func (x *AtomicSwap) GetIndexBySenderContract() int32

func (*AtomicSwap) GetRefundAmount added in v1.47.16

func (x *AtomicSwap) GetRefundAmount() string

func (*AtomicSwap) GetRoute added in v1.47.16

func (x *AtomicSwap) GetRoute() string

func (*AtomicSwap) GetSender added in v1.47.16

func (x *AtomicSwap) GetSender() string

func (*AtomicSwap) GetSourceCoin added in v1.47.16

func (x *AtomicSwap) GetSourceCoin() *Coin

func (*AtomicSwap) GetTxHash added in v1.47.16

func (x *AtomicSwap) GetTxHash() string

func (*AtomicSwap) ProtoMessage added in v1.47.16

func (*AtomicSwap) ProtoMessage()

func (*AtomicSwap) ProtoReflect added in v1.47.16

func (x *AtomicSwap) ProtoReflect() protoreflect.Message

func (*AtomicSwap) Reset added in v1.47.16

func (x *AtomicSwap) Reset()

func (*AtomicSwap) String added in v1.47.16

func (x *AtomicSwap) String() string

type AtomicSwapHistoryRequest added in v1.47.16

type AtomicSwapHistoryRequest struct {

	// sender of the atomic swap
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// atomic swap contract address to filter
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// skip some swaps
	Skip int32 `protobuf:"zigzag32,3,opt,name=skip,proto3" json:"skip,omitempty"`
	// limit number of swaps returned by this API
	Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
	// lowerbound of atomic swap index
	FromNumber int32 `protobuf:"zigzag32,5,opt,name=from_number,json=fromNumber,proto3" json:"from_number,omitempty"`
	// upperbound of atomic swap index
	ToNumber int32 `protobuf:"zigzag32,6,opt,name=to_number,json=toNumber,proto3" json:"to_number,omitempty"`
	// contains filtered or unexported fields
}

func (*AtomicSwapHistoryRequest) Descriptor deprecated added in v1.47.16

func (*AtomicSwapHistoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use AtomicSwapHistoryRequest.ProtoReflect.Descriptor instead.

func (*AtomicSwapHistoryRequest) GetAddress added in v1.47.16

func (x *AtomicSwapHistoryRequest) GetAddress() string

func (*AtomicSwapHistoryRequest) GetContractAddress added in v1.47.16

func (x *AtomicSwapHistoryRequest) GetContractAddress() string

func (*AtomicSwapHistoryRequest) GetFromNumber added in v1.47.16

func (x *AtomicSwapHistoryRequest) GetFromNumber() int32

func (*AtomicSwapHistoryRequest) GetLimit added in v1.47.16

func (x *AtomicSwapHistoryRequest) GetLimit() int32

func (*AtomicSwapHistoryRequest) GetSkip added in v1.47.16

func (x *AtomicSwapHistoryRequest) GetSkip() int32

func (*AtomicSwapHistoryRequest) GetToNumber added in v1.47.16

func (x *AtomicSwapHistoryRequest) GetToNumber() int32

func (*AtomicSwapHistoryRequest) ProtoMessage added in v1.47.16

func (*AtomicSwapHistoryRequest) ProtoMessage()

func (*AtomicSwapHistoryRequest) ProtoReflect added in v1.47.16

func (x *AtomicSwapHistoryRequest) ProtoReflect() protoreflect.Message

func (*AtomicSwapHistoryRequest) Reset added in v1.47.16

func (x *AtomicSwapHistoryRequest) Reset()

func (*AtomicSwapHistoryRequest) String added in v1.47.16

func (x *AtomicSwapHistoryRequest) String() string

type AtomicSwapHistoryResponse added in v1.47.16

type AtomicSwapHistoryResponse struct {

	// Paging indicates total number of records with this filter
	Paging *Paging `protobuf:"bytes,1,opt,name=paging,proto3" json:"paging,omitempty"`
	// swap data
	Data []*AtomicSwap `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*AtomicSwapHistoryResponse) Descriptor deprecated added in v1.47.16

func (*AtomicSwapHistoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use AtomicSwapHistoryResponse.ProtoReflect.Descriptor instead.

func (*AtomicSwapHistoryResponse) GetData added in v1.47.16

func (x *AtomicSwapHistoryResponse) GetData() []*AtomicSwap

func (*AtomicSwapHistoryResponse) GetPaging added in v1.47.16

func (x *AtomicSwapHistoryResponse) GetPaging() *Paging

func (*AtomicSwapHistoryResponse) ProtoMessage added in v1.47.16

func (*AtomicSwapHistoryResponse) ProtoMessage()

func (*AtomicSwapHistoryResponse) ProtoReflect added in v1.47.16

func (*AtomicSwapHistoryResponse) Reset added in v1.47.16

func (x *AtomicSwapHistoryResponse) Reset()

func (*AtomicSwapHistoryResponse) String added in v1.47.16

func (x *AtomicSwapHistoryResponse) String() string

type Coin added in v1.47.16

type Coin struct {

	// Denom of the coin
	Denom  string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*Coin) Descriptor deprecated added in v1.47.16

func (*Coin) Descriptor() ([]byte, []int)

Deprecated: Use Coin.ProtoReflect.Descriptor instead.

func (*Coin) GetAmount added in v1.47.16

func (x *Coin) GetAmount() string

func (*Coin) GetDenom added in v1.47.16

func (x *Coin) GetDenom() string

func (*Coin) ProtoMessage added in v1.47.16

func (*Coin) ProtoMessage()

func (*Coin) ProtoReflect added in v1.47.16

func (x *Coin) ProtoReflect() protoreflect.Message

func (*Coin) Reset added in v1.47.16

func (x *Coin) Reset()

func (*Coin) String added in v1.47.16

func (x *Coin) String() string

type InjectiveSpotExchangeRPCClient

type InjectiveSpotExchangeRPCClient interface {
	// Get a list of Spot Markets
	Markets(ctx context.Context, in *MarketsRequest, opts ...grpc.CallOption) (*MarketsResponse, error)
	// Get details of a single spot market
	Market(ctx context.Context, in *MarketRequest, opts ...grpc.CallOption) (*MarketResponse, error)
	// Stream live updates of selected spot markets
	StreamMarkets(ctx context.Context, in *StreamMarketsRequest, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamMarketsClient, error)
	// Orderbook of a Spot Market
	OrderbookV2(ctx context.Context, in *OrderbookV2Request, opts ...grpc.CallOption) (*OrderbookV2Response, error)
	// Orderbook of Spot Markets
	OrderbooksV2(ctx context.Context, in *OrderbooksV2Request, opts ...grpc.CallOption) (*OrderbooksV2Response, error)
	// Stream live snapshot updates of selected spot market orderbook
	StreamOrderbookV2(ctx context.Context, in *StreamOrderbookV2Request, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamOrderbookV2Client, error)
	// Stream live level updates of selected spot market orderbook
	StreamOrderbookUpdate(ctx context.Context, in *StreamOrderbookUpdateRequest, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamOrderbookUpdateClient, error)
	// Orders of a Spot Market
	Orders(ctx context.Context, in *OrdersRequest, opts ...grpc.CallOption) (*OrdersResponse, error)
	// Stream updates to individual orders of a Spot Market
	StreamOrders(ctx context.Context, in *StreamOrdersRequest, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamOrdersClient, error)
	// Trades of a Spot Market
	Trades(ctx context.Context, in *TradesRequest, opts ...grpc.CallOption) (*TradesResponse, error)
	// Stream newly executed trades from Spot Market
	StreamTrades(ctx context.Context, in *StreamTradesRequest, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamTradesClient, error)
	// Trades of a Spot Market
	TradesV2(ctx context.Context, in *TradesV2Request, opts ...grpc.CallOption) (*TradesV2Response, error)
	// Stream newly executed trades from Spot Market
	StreamTradesV2(ctx context.Context, in *StreamTradesV2Request, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamTradesV2Client, error)
	// List orders posted from this subaccount
	SubaccountOrdersList(ctx context.Context, in *SubaccountOrdersListRequest, opts ...grpc.CallOption) (*SubaccountOrdersListResponse, error)
	// List trades executed by this subaccount
	SubaccountTradesList(ctx context.Context, in *SubaccountTradesListRequest, opts ...grpc.CallOption) (*SubaccountTradesListResponse, error)
	// Lists history orders posted from this subaccount
	OrdersHistory(ctx context.Context, in *OrdersHistoryRequest, opts ...grpc.CallOption) (*OrdersHistoryResponse, error)
	// Stream updates to historical orders of a spot Market
	StreamOrdersHistory(ctx context.Context, in *StreamOrdersHistoryRequest, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamOrdersHistoryClient, error)
	// Get historical atomic swaps
	AtomicSwapHistory(ctx context.Context, in *AtomicSwapHistoryRequest, opts ...grpc.CallOption) (*AtomicSwapHistoryResponse, error)
}

InjectiveSpotExchangeRPCClient is the client API for InjectiveSpotExchangeRPC service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type InjectiveSpotExchangeRPCServer

type InjectiveSpotExchangeRPCServer interface {
	// Get a list of Spot Markets
	Markets(context.Context, *MarketsRequest) (*MarketsResponse, error)
	// Get details of a single spot market
	Market(context.Context, *MarketRequest) (*MarketResponse, error)
	// Stream live updates of selected spot markets
	StreamMarkets(*StreamMarketsRequest, InjectiveSpotExchangeRPC_StreamMarketsServer) error
	// Orderbook of a Spot Market
	OrderbookV2(context.Context, *OrderbookV2Request) (*OrderbookV2Response, error)
	// Orderbook of Spot Markets
	OrderbooksV2(context.Context, *OrderbooksV2Request) (*OrderbooksV2Response, error)
	// Stream live snapshot updates of selected spot market orderbook
	StreamOrderbookV2(*StreamOrderbookV2Request, InjectiveSpotExchangeRPC_StreamOrderbookV2Server) error
	// Stream live level updates of selected spot market orderbook
	StreamOrderbookUpdate(*StreamOrderbookUpdateRequest, InjectiveSpotExchangeRPC_StreamOrderbookUpdateServer) error
	// Orders of a Spot Market
	Orders(context.Context, *OrdersRequest) (*OrdersResponse, error)
	// Stream updates to individual orders of a Spot Market
	StreamOrders(*StreamOrdersRequest, InjectiveSpotExchangeRPC_StreamOrdersServer) error
	// Trades of a Spot Market
	Trades(context.Context, *TradesRequest) (*TradesResponse, error)
	// Stream newly executed trades from Spot Market
	StreamTrades(*StreamTradesRequest, InjectiveSpotExchangeRPC_StreamTradesServer) error
	// Trades of a Spot Market
	TradesV2(context.Context, *TradesV2Request) (*TradesV2Response, error)
	// Stream newly executed trades from Spot Market
	StreamTradesV2(*StreamTradesV2Request, InjectiveSpotExchangeRPC_StreamTradesV2Server) error
	// List orders posted from this subaccount
	SubaccountOrdersList(context.Context, *SubaccountOrdersListRequest) (*SubaccountOrdersListResponse, error)
	// List trades executed by this subaccount
	SubaccountTradesList(context.Context, *SubaccountTradesListRequest) (*SubaccountTradesListResponse, error)
	// Lists history orders posted from this subaccount
	OrdersHistory(context.Context, *OrdersHistoryRequest) (*OrdersHistoryResponse, error)
	// Stream updates to historical orders of a spot Market
	StreamOrdersHistory(*StreamOrdersHistoryRequest, InjectiveSpotExchangeRPC_StreamOrdersHistoryServer) error
	// Get historical atomic swaps
	AtomicSwapHistory(context.Context, *AtomicSwapHistoryRequest) (*AtomicSwapHistoryResponse, error)
	// contains filtered or unexported methods
}

InjectiveSpotExchangeRPCServer is the server API for InjectiveSpotExchangeRPC service. All implementations must embed UnimplementedInjectiveSpotExchangeRPCServer for forward compatibility

type InjectiveSpotExchangeRPC_StreamMarketsClient

type InjectiveSpotExchangeRPC_StreamMarketsClient interface {
	Recv() (*StreamMarketsResponse, error)
	grpc.ClientStream
}

type InjectiveSpotExchangeRPC_StreamMarketsServer

type InjectiveSpotExchangeRPC_StreamMarketsServer interface {
	Send(*StreamMarketsResponse) error
	grpc.ServerStream
}

type InjectiveSpotExchangeRPC_StreamOrderbookUpdateClient added in v1.43.4

type InjectiveSpotExchangeRPC_StreamOrderbookUpdateClient interface {
	Recv() (*StreamOrderbookUpdateResponse, error)
	grpc.ClientStream
}

type InjectiveSpotExchangeRPC_StreamOrderbookUpdateServer added in v1.43.4

type InjectiveSpotExchangeRPC_StreamOrderbookUpdateServer interface {
	Send(*StreamOrderbookUpdateResponse) error
	grpc.ServerStream
}

type InjectiveSpotExchangeRPC_StreamOrderbookV2Client added in v1.44.0

type InjectiveSpotExchangeRPC_StreamOrderbookV2Client interface {
	Recv() (*StreamOrderbookV2Response, error)
	grpc.ClientStream
}

type InjectiveSpotExchangeRPC_StreamOrderbookV2Server added in v1.44.0

type InjectiveSpotExchangeRPC_StreamOrderbookV2Server interface {
	Send(*StreamOrderbookV2Response) error
	grpc.ServerStream
}

type InjectiveSpotExchangeRPC_StreamOrdersClient

type InjectiveSpotExchangeRPC_StreamOrdersClient interface {
	Recv() (*StreamOrdersResponse, error)
	grpc.ClientStream
}

type InjectiveSpotExchangeRPC_StreamOrdersHistoryClient added in v1.43.4

type InjectiveSpotExchangeRPC_StreamOrdersHistoryClient interface {
	Recv() (*StreamOrdersHistoryResponse, error)
	grpc.ClientStream
}

type InjectiveSpotExchangeRPC_StreamOrdersHistoryServer added in v1.43.4

type InjectiveSpotExchangeRPC_StreamOrdersHistoryServer interface {
	Send(*StreamOrdersHistoryResponse) error
	grpc.ServerStream
}

type InjectiveSpotExchangeRPC_StreamOrdersServer

type InjectiveSpotExchangeRPC_StreamOrdersServer interface {
	Send(*StreamOrdersResponse) error
	grpc.ServerStream
}

type InjectiveSpotExchangeRPC_StreamTradesClient

type InjectiveSpotExchangeRPC_StreamTradesClient interface {
	Recv() (*StreamTradesResponse, error)
	grpc.ClientStream
}

type InjectiveSpotExchangeRPC_StreamTradesServer

type InjectiveSpotExchangeRPC_StreamTradesServer interface {
	Send(*StreamTradesResponse) error
	grpc.ServerStream
}

type InjectiveSpotExchangeRPC_StreamTradesV2Client added in v1.49.0

type InjectiveSpotExchangeRPC_StreamTradesV2Client interface {
	Recv() (*StreamTradesV2Response, error)
	grpc.ClientStream
}

type InjectiveSpotExchangeRPC_StreamTradesV2Server added in v1.49.0

type InjectiveSpotExchangeRPC_StreamTradesV2Server interface {
	Send(*StreamTradesV2Response) error
	grpc.ServerStream
}

type MarketRequest

type MarketRequest struct {

	// MarketId of the market we want to fetch
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MarketRequest) Descriptor deprecated

func (*MarketRequest) Descriptor() ([]byte, []int)

Deprecated: Use MarketRequest.ProtoReflect.Descriptor instead.

func (*MarketRequest) GetMarketId

func (x *MarketRequest) GetMarketId() string

func (*MarketRequest) ProtoMessage

func (*MarketRequest) ProtoMessage()

func (*MarketRequest) ProtoReflect

func (x *MarketRequest) ProtoReflect() protoreflect.Message

func (*MarketRequest) Reset

func (x *MarketRequest) Reset()

func (*MarketRequest) String

func (x *MarketRequest) String() string

type MarketResponse

type MarketResponse struct {

	// Info about particular spot market
	Market *SpotMarketInfo `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// contains filtered or unexported fields
}

func (*MarketResponse) Descriptor deprecated

func (*MarketResponse) Descriptor() ([]byte, []int)

Deprecated: Use MarketResponse.ProtoReflect.Descriptor instead.

func (*MarketResponse) GetMarket

func (x *MarketResponse) GetMarket() *SpotMarketInfo

func (*MarketResponse) ProtoMessage

func (*MarketResponse) ProtoMessage()

func (*MarketResponse) ProtoReflect

func (x *MarketResponse) ProtoReflect() protoreflect.Message

func (*MarketResponse) Reset

func (x *MarketResponse) Reset()

func (*MarketResponse) String

func (x *MarketResponse) String() string

type MarketsRequest

type MarketsRequest struct {

	// Filter by market status
	MarketStatus string `protobuf:"bytes,1,opt,name=market_status,json=marketStatus,proto3" json:"market_status,omitempty"`
	// Filter by the Coin denomination of the base currency
	BaseDenom string `protobuf:"bytes,2,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	// Filter by the Coin denomination of the quote currency
	QuoteDenom     string   `protobuf:"bytes,3,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
	MarketStatuses []string `protobuf:"bytes,4,rep,name=market_statuses,json=marketStatuses,proto3" json:"market_statuses,omitempty"`
	// contains filtered or unexported fields
}

func (*MarketsRequest) Descriptor deprecated

func (*MarketsRequest) Descriptor() ([]byte, []int)

Deprecated: Use MarketsRequest.ProtoReflect.Descriptor instead.

func (*MarketsRequest) GetBaseDenom

func (x *MarketsRequest) GetBaseDenom() string

func (*MarketsRequest) GetMarketStatus

func (x *MarketsRequest) GetMarketStatus() string

func (*MarketsRequest) GetMarketStatuses added in v1.47.16

func (x *MarketsRequest) GetMarketStatuses() []string

func (*MarketsRequest) GetQuoteDenom

func (x *MarketsRequest) GetQuoteDenom() string

func (*MarketsRequest) ProtoMessage

func (*MarketsRequest) ProtoMessage()

func (*MarketsRequest) ProtoReflect

func (x *MarketsRequest) ProtoReflect() protoreflect.Message

func (*MarketsRequest) Reset

func (x *MarketsRequest) Reset()

func (*MarketsRequest) String

func (x *MarketsRequest) String() string

type MarketsResponse

type MarketsResponse struct {

	// Spot Markets list
	Markets []*SpotMarketInfo `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"`
	// contains filtered or unexported fields
}

func (*MarketsResponse) Descriptor deprecated

func (*MarketsResponse) Descriptor() ([]byte, []int)

Deprecated: Use MarketsResponse.ProtoReflect.Descriptor instead.

func (*MarketsResponse) GetMarkets

func (x *MarketsResponse) GetMarkets() []*SpotMarketInfo

func (*MarketsResponse) ProtoMessage

func (*MarketsResponse) ProtoMessage()

func (*MarketsResponse) ProtoReflect

func (x *MarketsResponse) ProtoReflect() protoreflect.Message

func (*MarketsResponse) Reset

func (x *MarketsResponse) Reset()

func (*MarketsResponse) String

func (x *MarketsResponse) String() string

type OrderbookLevelUpdates added in v1.43.4

type OrderbookLevelUpdates struct {

	// market's ID
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// orderbook update sequence
	Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// buy levels
	Buys []*PriceLevelUpdate `protobuf:"bytes,3,rep,name=buys,proto3" json:"buys,omitempty"`
	// sell levels
	Sells []*PriceLevelUpdate `protobuf:"bytes,4,rep,name=sells,proto3" json:"sells,omitempty"`
	// updates timestamp
	UpdatedAt int64 `protobuf:"zigzag64,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderbookLevelUpdates) Descriptor deprecated added in v1.43.4

func (*OrderbookLevelUpdates) Descriptor() ([]byte, []int)

Deprecated: Use OrderbookLevelUpdates.ProtoReflect.Descriptor instead.

func (*OrderbookLevelUpdates) GetBuys added in v1.43.4

func (x *OrderbookLevelUpdates) GetBuys() []*PriceLevelUpdate

func (*OrderbookLevelUpdates) GetMarketId added in v1.43.4

func (x *OrderbookLevelUpdates) GetMarketId() string

func (*OrderbookLevelUpdates) GetSells added in v1.43.4

func (x *OrderbookLevelUpdates) GetSells() []*PriceLevelUpdate

func (*OrderbookLevelUpdates) GetSequence added in v1.43.4

func (x *OrderbookLevelUpdates) GetSequence() uint64

func (*OrderbookLevelUpdates) GetUpdatedAt added in v1.43.4

func (x *OrderbookLevelUpdates) GetUpdatedAt() int64

func (*OrderbookLevelUpdates) ProtoMessage added in v1.43.4

func (*OrderbookLevelUpdates) ProtoMessage()

func (*OrderbookLevelUpdates) ProtoReflect added in v1.43.4

func (x *OrderbookLevelUpdates) ProtoReflect() protoreflect.Message

func (*OrderbookLevelUpdates) Reset added in v1.43.4

func (x *OrderbookLevelUpdates) Reset()

func (*OrderbookLevelUpdates) String added in v1.43.4

func (x *OrderbookLevelUpdates) String() string

type OrderbookV2Request added in v1.44.0

type OrderbookV2Request struct {

	// MarketId of the market's orderbook we want to fetch
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderbookV2Request) Descriptor deprecated added in v1.44.0

func (*OrderbookV2Request) Descriptor() ([]byte, []int)

Deprecated: Use OrderbookV2Request.ProtoReflect.Descriptor instead.

func (*OrderbookV2Request) GetMarketId added in v1.44.0

func (x *OrderbookV2Request) GetMarketId() string

func (*OrderbookV2Request) ProtoMessage added in v1.44.0

func (*OrderbookV2Request) ProtoMessage()

func (*OrderbookV2Request) ProtoReflect added in v1.44.0

func (x *OrderbookV2Request) ProtoReflect() protoreflect.Message

func (*OrderbookV2Request) Reset added in v1.44.0

func (x *OrderbookV2Request) Reset()

func (*OrderbookV2Request) String added in v1.44.0

func (x *OrderbookV2Request) String() string

type OrderbookV2Response added in v1.44.0

type OrderbookV2Response struct {

	// Orderbook of a particular spot market
	Orderbook *SpotLimitOrderbookV2 `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderbookV2Response) Descriptor deprecated added in v1.44.0

func (*OrderbookV2Response) Descriptor() ([]byte, []int)

Deprecated: Use OrderbookV2Response.ProtoReflect.Descriptor instead.

func (*OrderbookV2Response) GetOrderbook added in v1.44.0

func (x *OrderbookV2Response) GetOrderbook() *SpotLimitOrderbookV2

func (*OrderbookV2Response) ProtoMessage added in v1.44.0

func (*OrderbookV2Response) ProtoMessage()

func (*OrderbookV2Response) ProtoReflect added in v1.44.0

func (x *OrderbookV2Response) ProtoReflect() protoreflect.Message

func (*OrderbookV2Response) Reset added in v1.44.0

func (x *OrderbookV2Response) Reset()

func (*OrderbookV2Response) String added in v1.44.0

func (x *OrderbookV2Response) String() string

type OrderbooksV2Request added in v1.44.0

type OrderbooksV2Request struct {

	// MarketIds of the markets
	MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderbooksV2Request) Descriptor deprecated added in v1.44.0

func (*OrderbooksV2Request) Descriptor() ([]byte, []int)

Deprecated: Use OrderbooksV2Request.ProtoReflect.Descriptor instead.

func (*OrderbooksV2Request) GetMarketIds added in v1.44.0

func (x *OrderbooksV2Request) GetMarketIds() []string

func (*OrderbooksV2Request) ProtoMessage added in v1.44.0

func (*OrderbooksV2Request) ProtoMessage()

func (*OrderbooksV2Request) ProtoReflect added in v1.44.0

func (x *OrderbooksV2Request) ProtoReflect() protoreflect.Message

func (*OrderbooksV2Request) Reset added in v1.44.0

func (x *OrderbooksV2Request) Reset()

func (*OrderbooksV2Request) String added in v1.44.0

func (x *OrderbooksV2Request) String() string

type OrderbooksV2Response added in v1.44.0

type OrderbooksV2Response struct {
	Orderbooks []*SingleSpotLimitOrderbookV2 `protobuf:"bytes,1,rep,name=orderbooks,proto3" json:"orderbooks,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderbooksV2Response) Descriptor deprecated added in v1.44.0

func (*OrderbooksV2Response) Descriptor() ([]byte, []int)

Deprecated: Use OrderbooksV2Response.ProtoReflect.Descriptor instead.

func (*OrderbooksV2Response) GetOrderbooks added in v1.44.0

func (x *OrderbooksV2Response) GetOrderbooks() []*SingleSpotLimitOrderbookV2

func (*OrderbooksV2Response) ProtoMessage added in v1.44.0

func (*OrderbooksV2Response) ProtoMessage()

func (*OrderbooksV2Response) ProtoReflect added in v1.44.0

func (x *OrderbooksV2Response) ProtoReflect() protoreflect.Message

func (*OrderbooksV2Response) Reset added in v1.44.0

func (x *OrderbooksV2Response) Reset()

func (*OrderbooksV2Response) String added in v1.44.0

func (x *OrderbooksV2Response) String() string

type OrdersHistoryRequest added in v1.43.4

type OrdersHistoryRequest struct {

	// subaccount ID to filter orders for specific subaccount
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// Market ID to filter orders for specific market
	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Skip will skip the first n item from the result
	Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
	// Limit is used to specify the maximum number of items to be returned
	Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
	// filter by order types
	OrderTypes []string `protobuf:"bytes,5,rep,name=order_types,json=orderTypes,proto3" json:"order_types,omitempty"`
	// order side filter
	Direction string `protobuf:"bytes,6,opt,name=direction,proto3" json:"direction,omitempty"`
	// Search for orders which createdAt >= startTime, time in millisecond
	StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Search for orders which createdAt <= endTime, time in millisecond
	EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Filter by order state
	State          string   `protobuf:"bytes,9,opt,name=state,proto3" json:"state,omitempty"`
	ExecutionTypes []string `protobuf:"bytes,10,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
	MarketIds      []string `protobuf:"bytes,11,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
	// TradeId of the order we want to fetch
	TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
	// Return only orders for active markets
	ActiveMarketsOnly bool `protobuf:"varint,13,opt,name=active_markets_only,json=activeMarketsOnly,proto3" json:"active_markets_only,omitempty"`
	// Client order ID
	Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
	// contains filtered or unexported fields
}

func (*OrdersHistoryRequest) Descriptor deprecated added in v1.43.4

func (*OrdersHistoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use OrdersHistoryRequest.ProtoReflect.Descriptor instead.

func (*OrdersHistoryRequest) GetActiveMarketsOnly added in v1.47.16

func (x *OrdersHistoryRequest) GetActiveMarketsOnly() bool

func (*OrdersHistoryRequest) GetCid added in v1.49.0

func (x *OrdersHistoryRequest) GetCid() string

func (*OrdersHistoryRequest) GetDirection added in v1.43.4

func (x *OrdersHistoryRequest) GetDirection() string

func (*OrdersHistoryRequest) GetEndTime added in v1.43.4

func (x *OrdersHistoryRequest) GetEndTime() int64

func (*OrdersHistoryRequest) GetExecutionTypes added in v1.43.4

func (x *OrdersHistoryRequest) GetExecutionTypes() []string

func (*OrdersHistoryRequest) GetLimit added in v1.43.4

func (x *OrdersHistoryRequest) GetLimit() int32

func (*OrdersHistoryRequest) GetMarketId added in v1.43.4

func (x *OrdersHistoryRequest) GetMarketId() string

func (*OrdersHistoryRequest) GetMarketIds added in v1.44.5

func (x *OrdersHistoryRequest) GetMarketIds() []string

func (*OrdersHistoryRequest) GetOrderTypes added in v1.43.4

func (x *OrdersHistoryRequest) GetOrderTypes() []string

func (*OrdersHistoryRequest) GetSkip added in v1.43.4

func (x *OrdersHistoryRequest) GetSkip() uint64

func (*OrdersHistoryRequest) GetStartTime added in v1.43.4

func (x *OrdersHistoryRequest) GetStartTime() int64

func (*OrdersHistoryRequest) GetState added in v1.43.4

func (x *OrdersHistoryRequest) GetState() string

func (*OrdersHistoryRequest) GetSubaccountId added in v1.43.4

func (x *OrdersHistoryRequest) GetSubaccountId() string

func (*OrdersHistoryRequest) GetTradeId added in v1.47.16

func (x *OrdersHistoryRequest) GetTradeId() string

func (*OrdersHistoryRequest) ProtoMessage added in v1.43.4

func (*OrdersHistoryRequest) ProtoMessage()

func (*OrdersHistoryRequest) ProtoReflect added in v1.43.4

func (x *OrdersHistoryRequest) ProtoReflect() protoreflect.Message

func (*OrdersHistoryRequest) Reset added in v1.43.4

func (x *OrdersHistoryRequest) Reset()

func (*OrdersHistoryRequest) String added in v1.43.4

func (x *OrdersHistoryRequest) String() string

type OrdersHistoryResponse added in v1.43.4

type OrdersHistoryResponse struct {

	// List of history spot orders
	Orders []*SpotOrderHistory `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	Paging *Paging             `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
	// contains filtered or unexported fields
}

func (*OrdersHistoryResponse) Descriptor deprecated added in v1.43.4

func (*OrdersHistoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use OrdersHistoryResponse.ProtoReflect.Descriptor instead.

func (*OrdersHistoryResponse) GetOrders added in v1.43.4

func (x *OrdersHistoryResponse) GetOrders() []*SpotOrderHistory

func (*OrdersHistoryResponse) GetPaging added in v1.43.4

func (x *OrdersHistoryResponse) GetPaging() *Paging

func (*OrdersHistoryResponse) ProtoMessage added in v1.43.4

func (*OrdersHistoryResponse) ProtoMessage()

func (*OrdersHistoryResponse) ProtoReflect added in v1.43.4

func (x *OrdersHistoryResponse) ProtoReflect() protoreflect.Message

func (*OrdersHistoryResponse) Reset added in v1.43.4

func (x *OrdersHistoryResponse) Reset()

func (*OrdersHistoryResponse) String added in v1.43.4

func (x *OrdersHistoryResponse) String() string

type OrdersRequest

type OrdersRequest struct {

	// MarketId of the market's orderbook we want to fetch
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Look for specific order side
	OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
	// Look for specific subaccountId of an order
	SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// Skip will skip the first n item from the result
	Skip uint64 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
	// Limit is used to specify the maximum number of items to be returned.
	Limit int32 `protobuf:"zigzag32,5,opt,name=limit,proto3" json:"limit,omitempty"`
	// The starting timestamp in UNIX milliseconds that the trades must be equal or
	// older than
	StartTime int64 `protobuf:"zigzag64,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The ending timestamp in UNIX milliseconds that the trades must be equal or
	// younger than
	EndTime int64 `protobuf:"zigzag64,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// MarketIds of the markets of which we want to get trades
	MarketIds []string `protobuf:"bytes,8,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
	// Should include inactive orders
	IncludeInactive bool `protobuf:"varint,9,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
	// Choose to return subaccount total orders
	SubaccountTotalOrders bool `` /* 128-byte string literal not displayed */
	// TradeId of the order we want to fetch
	TradeId string `protobuf:"bytes,11,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
	// Client order ID
	Cid string `protobuf:"bytes,12,opt,name=cid,proto3" json:"cid,omitempty"`
	// contains filtered or unexported fields
}

func (*OrdersRequest) Descriptor deprecated

func (*OrdersRequest) Descriptor() ([]byte, []int)

Deprecated: Use OrdersRequest.ProtoReflect.Descriptor instead.

func (*OrdersRequest) GetCid added in v1.49.0

func (x *OrdersRequest) GetCid() string

func (*OrdersRequest) GetEndTime added in v1.43.4

func (x *OrdersRequest) GetEndTime() int64

func (*OrdersRequest) GetIncludeInactive added in v1.43.4

func (x *OrdersRequest) GetIncludeInactive() bool

func (*OrdersRequest) GetLimit added in v1.38.3

func (x *OrdersRequest) GetLimit() int32

func (*OrdersRequest) GetMarketId

func (x *OrdersRequest) GetMarketId() string

func (*OrdersRequest) GetMarketIds added in v1.43.4

func (x *OrdersRequest) GetMarketIds() []string

func (*OrdersRequest) GetOrderSide added in v1.23.6

func (x *OrdersRequest) GetOrderSide() string

func (*OrdersRequest) GetSkip added in v1.38.3

func (x *OrdersRequest) GetSkip() uint64

func (*OrdersRequest) GetStartTime added in v1.43.4

func (x *OrdersRequest) GetStartTime() int64

func (*OrdersRequest) GetSubaccountId

func (x *OrdersRequest) GetSubaccountId() string

func (*OrdersRequest) GetSubaccountTotalOrders added in v1.43.4

func (x *OrdersRequest) GetSubaccountTotalOrders() bool

func (*OrdersRequest) GetTradeId added in v1.47.16

func (x *OrdersRequest) GetTradeId() string

func (*OrdersRequest) ProtoMessage

func (*OrdersRequest) ProtoMessage()

func (*OrdersRequest) ProtoReflect

func (x *OrdersRequest) ProtoReflect() protoreflect.Message

func (*OrdersRequest) Reset

func (x *OrdersRequest) Reset()

func (*OrdersRequest) String

func (x *OrdersRequest) String() string

type OrdersResponse

type OrdersResponse struct {
	Orders []*SpotLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	Paging *Paging           `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
	// contains filtered or unexported fields
}

func (*OrdersResponse) Descriptor deprecated

func (*OrdersResponse) Descriptor() ([]byte, []int)

Deprecated: Use OrdersResponse.ProtoReflect.Descriptor instead.

func (*OrdersResponse) GetOrders

func (x *OrdersResponse) GetOrders() []*SpotLimitOrder

func (*OrdersResponse) GetPaging added in v1.43.4

func (x *OrdersResponse) GetPaging() *Paging

func (*OrdersResponse) ProtoMessage

func (*OrdersResponse) ProtoMessage()

func (*OrdersResponse) ProtoReflect

func (x *OrdersResponse) ProtoReflect() protoreflect.Message

func (*OrdersResponse) Reset

func (x *OrdersResponse) Reset()

func (*OrdersResponse) String

func (x *OrdersResponse) String() string

type Paging added in v1.43.4

type Paging struct {

	// total number of txs saved in database
	Total int64 `protobuf:"zigzag64,1,opt,name=total,proto3" json:"total,omitempty"`
	// can be either block height or index num
	From int32 `protobuf:"zigzag32,2,opt,name=from,proto3" json:"from,omitempty"`
	// can be either block height or index num
	To int32 `protobuf:"zigzag32,3,opt,name=to,proto3" json:"to,omitempty"`
	// count entries by subaccount, serving some places on helix
	CountBySubaccount int64 `protobuf:"zigzag64,4,opt,name=count_by_subaccount,json=countBySubaccount,proto3" json:"count_by_subaccount,omitempty"`
	// array of tokens to navigate to the next pages
	Next []string `protobuf:"bytes,5,rep,name=next,proto3" json:"next,omitempty"`
	// contains filtered or unexported fields
}

Paging defines the structure for required params for handling pagination

func (*Paging) Descriptor deprecated added in v1.43.4

func (*Paging) Descriptor() ([]byte, []int)

Deprecated: Use Paging.ProtoReflect.Descriptor instead.

func (*Paging) GetCountBySubaccount added in v1.43.4

func (x *Paging) GetCountBySubaccount() int64

func (*Paging) GetFrom added in v1.43.4

func (x *Paging) GetFrom() int32

func (*Paging) GetNext added in v1.47.16

func (x *Paging) GetNext() []string

func (*Paging) GetTo added in v1.43.4

func (x *Paging) GetTo() int32

func (*Paging) GetTotal added in v1.43.4

func (x *Paging) GetTotal() int64

func (*Paging) ProtoMessage added in v1.43.4

func (*Paging) ProtoMessage()

func (*Paging) ProtoReflect added in v1.43.4

func (x *Paging) ProtoReflect() protoreflect.Message

func (*Paging) Reset added in v1.43.4

func (x *Paging) Reset()

func (*Paging) String added in v1.43.4

func (x *Paging) String() string

type PriceLevel

type PriceLevel struct {

	// Price number of the price level.
	Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"`
	// Quantity of the price level.
	Quantity string `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// Price level last updated timestamp in UNIX millis.
	Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*PriceLevel) Descriptor deprecated

func (*PriceLevel) Descriptor() ([]byte, []int)

Deprecated: Use PriceLevel.ProtoReflect.Descriptor instead.

func (*PriceLevel) GetPrice

func (x *PriceLevel) GetPrice() string

func (*PriceLevel) GetQuantity

func (x *PriceLevel) GetQuantity() string

func (*PriceLevel) GetTimestamp

func (x *PriceLevel) GetTimestamp() int64

func (*PriceLevel) ProtoMessage

func (*PriceLevel) ProtoMessage()

func (*PriceLevel) ProtoReflect

func (x *PriceLevel) ProtoReflect() protoreflect.Message

func (*PriceLevel) Reset

func (x *PriceLevel) Reset()

func (*PriceLevel) String

func (x *PriceLevel) String() string

type PriceLevelUpdate added in v1.43.4

type PriceLevelUpdate struct {

	// Price number of the price level.
	Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"`
	// Quantity of the price level.
	Quantity string `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// Price level status.
	IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	// Price level last updated timestamp in UNIX millis.
	Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*PriceLevelUpdate) Descriptor deprecated added in v1.43.4

func (*PriceLevelUpdate) Descriptor() ([]byte, []int)

Deprecated: Use PriceLevelUpdate.ProtoReflect.Descriptor instead.

func (*PriceLevelUpdate) GetIsActive added in v1.43.4

func (x *PriceLevelUpdate) GetIsActive() bool

func (*PriceLevelUpdate) GetPrice added in v1.43.4

func (x *PriceLevelUpdate) GetPrice() string

func (*PriceLevelUpdate) GetQuantity added in v1.43.4

func (x *PriceLevelUpdate) GetQuantity() string

func (*PriceLevelUpdate) GetTimestamp added in v1.43.4

func (x *PriceLevelUpdate) GetTimestamp() int64

func (*PriceLevelUpdate) ProtoMessage added in v1.43.4

func (*PriceLevelUpdate) ProtoMessage()

func (*PriceLevelUpdate) ProtoReflect added in v1.43.4

func (x *PriceLevelUpdate) ProtoReflect() protoreflect.Message

func (*PriceLevelUpdate) Reset added in v1.43.4

func (x *PriceLevelUpdate) Reset()

func (*PriceLevelUpdate) String added in v1.43.4

func (x *PriceLevelUpdate) String() string

type SingleSpotLimitOrderbookV2 added in v1.44.5

type SingleSpotLimitOrderbookV2 struct {

	// market's ID
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Orderbook of the market
	Orderbook *SpotLimitOrderbookV2 `protobuf:"bytes,2,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
	// contains filtered or unexported fields
}

func (*SingleSpotLimitOrderbookV2) Descriptor deprecated added in v1.44.5

func (*SingleSpotLimitOrderbookV2) Descriptor() ([]byte, []int)

Deprecated: Use SingleSpotLimitOrderbookV2.ProtoReflect.Descriptor instead.

func (*SingleSpotLimitOrderbookV2) GetMarketId added in v1.44.5

func (x *SingleSpotLimitOrderbookV2) GetMarketId() string

func (*SingleSpotLimitOrderbookV2) GetOrderbook added in v1.44.5

func (*SingleSpotLimitOrderbookV2) ProtoMessage added in v1.44.5

func (*SingleSpotLimitOrderbookV2) ProtoMessage()

func (*SingleSpotLimitOrderbookV2) ProtoReflect added in v1.44.5

func (*SingleSpotLimitOrderbookV2) Reset added in v1.44.5

func (x *SingleSpotLimitOrderbookV2) Reset()

func (*SingleSpotLimitOrderbookV2) String added in v1.44.5

func (x *SingleSpotLimitOrderbookV2) String() string

type SpotLimitOrder

type SpotLimitOrder struct {

	// Hash of the order
	OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
	// The side of the order
	OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
	// Spot Market ID is keccak265(baseDenom + quoteDenom)
	MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// The subaccountId that this order belongs to
	SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// Price of the order
	Price string `protobuf:"bytes,5,opt,name=price,proto3" json:"price,omitempty"`
	// Quantity of the order
	Quantity string `protobuf:"bytes,6,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// The amount of the quantity remaining unfilled
	UnfilledQuantity string `protobuf:"bytes,7,opt,name=unfilled_quantity,json=unfilledQuantity,proto3" json:"unfilled_quantity,omitempty"`
	// Trigger price is the trigger price used by stop/take orders. 0 if the
	// trigger price is not set.
	TriggerPrice string `protobuf:"bytes,8,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"`
	// Fee recipient address
	FeeRecipient string `protobuf:"bytes,9,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"`
	// Order state
	State string `protobuf:"bytes,10,opt,name=state,proto3" json:"state,omitempty"`
	// Order committed timestamp in UNIX millis.
	CreatedAt int64 `protobuf:"zigzag64,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Order updated timestamp in UNIX millis.
	UpdatedAt int64 `protobuf:"zigzag64,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Transaction Hash where order is created. Not all orders have this field
	TxHash string `protobuf:"bytes,13,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	// Custom client order ID
	Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
	// contains filtered or unexported fields
}

func (*SpotLimitOrder) Descriptor deprecated

func (*SpotLimitOrder) Descriptor() ([]byte, []int)

Deprecated: Use SpotLimitOrder.ProtoReflect.Descriptor instead.

func (*SpotLimitOrder) GetCid added in v1.49.0

func (x *SpotLimitOrder) GetCid() string

func (*SpotLimitOrder) GetCreatedAt

func (x *SpotLimitOrder) GetCreatedAt() int64

func (*SpotLimitOrder) GetFeeRecipient

func (x *SpotLimitOrder) GetFeeRecipient() string

func (*SpotLimitOrder) GetMarketId

func (x *SpotLimitOrder) GetMarketId() string

func (*SpotLimitOrder) GetOrderHash

func (x *SpotLimitOrder) GetOrderHash() string

func (*SpotLimitOrder) GetOrderSide added in v1.23.6

func (x *SpotLimitOrder) GetOrderSide() string

func (*SpotLimitOrder) GetPrice

func (x *SpotLimitOrder) GetPrice() string

func (*SpotLimitOrder) GetQuantity

func (x *SpotLimitOrder) GetQuantity() string

func (*SpotLimitOrder) GetState

func (x *SpotLimitOrder) GetState() string

func (*SpotLimitOrder) GetSubaccountId

func (x *SpotLimitOrder) GetSubaccountId() string

func (*SpotLimitOrder) GetTriggerPrice

func (x *SpotLimitOrder) GetTriggerPrice() string

func (*SpotLimitOrder) GetTxHash added in v1.47.16

func (x *SpotLimitOrder) GetTxHash() string

func (*SpotLimitOrder) GetUnfilledQuantity

func (x *SpotLimitOrder) GetUnfilledQuantity() string

func (*SpotLimitOrder) GetUpdatedAt

func (x *SpotLimitOrder) GetUpdatedAt() int64

func (*SpotLimitOrder) ProtoMessage

func (*SpotLimitOrder) ProtoMessage()

func (*SpotLimitOrder) ProtoReflect

func (x *SpotLimitOrder) ProtoReflect() protoreflect.Message

func (*SpotLimitOrder) Reset

func (x *SpotLimitOrder) Reset()

func (*SpotLimitOrder) String

func (x *SpotLimitOrder) String() string

type SpotLimitOrderbookV2 added in v1.44.5

type SpotLimitOrderbookV2 struct {

	// Array of price levels for buys
	Buys []*PriceLevel `protobuf:"bytes,1,rep,name=buys,proto3" json:"buys,omitempty"`
	// Array of price levels for sells
	Sells []*PriceLevel `protobuf:"bytes,2,rep,name=sells,proto3" json:"sells,omitempty"`
	// market orderbook sequence
	Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// Last update timestamp in UNIX millis.
	Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*SpotLimitOrderbookV2) Descriptor deprecated added in v1.44.5

func (*SpotLimitOrderbookV2) Descriptor() ([]byte, []int)

Deprecated: Use SpotLimitOrderbookV2.ProtoReflect.Descriptor instead.

func (*SpotLimitOrderbookV2) GetBuys added in v1.44.5

func (x *SpotLimitOrderbookV2) GetBuys() []*PriceLevel

func (*SpotLimitOrderbookV2) GetSells added in v1.44.5

func (x *SpotLimitOrderbookV2) GetSells() []*PriceLevel

func (*SpotLimitOrderbookV2) GetSequence added in v1.44.5

func (x *SpotLimitOrderbookV2) GetSequence() uint64

func (*SpotLimitOrderbookV2) GetTimestamp added in v1.45.2

func (x *SpotLimitOrderbookV2) GetTimestamp() int64

func (*SpotLimitOrderbookV2) ProtoMessage added in v1.44.5

func (*SpotLimitOrderbookV2) ProtoMessage()

func (*SpotLimitOrderbookV2) ProtoReflect added in v1.44.5

func (x *SpotLimitOrderbookV2) ProtoReflect() protoreflect.Message

func (*SpotLimitOrderbookV2) Reset added in v1.44.5

func (x *SpotLimitOrderbookV2) Reset()

func (*SpotLimitOrderbookV2) String added in v1.44.5

func (x *SpotLimitOrderbookV2) String() string

type SpotMarketInfo

type SpotMarketInfo struct {

	// SpotMarket ID is keccak265(baseDenom || quoteDenom)
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// The status of the market
	MarketStatus string `protobuf:"bytes,2,opt,name=market_status,json=marketStatus,proto3" json:"market_status,omitempty"`
	// A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote
	// asset.
	Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
	// Coin denom used for the base asset.
	BaseDenom string `protobuf:"bytes,4,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	// Token metadata for base asset, only for Ethereum-based assets
	BaseTokenMeta *TokenMeta `protobuf:"bytes,5,opt,name=base_token_meta,json=baseTokenMeta,proto3" json:"base_token_meta,omitempty"`
	// Coin denom used for the quote asset.
	QuoteDenom string `protobuf:"bytes,6,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
	// Token metadata for quote asset, only for Ethereum-based assets
	QuoteTokenMeta *TokenMeta `protobuf:"bytes,7,opt,name=quote_token_meta,json=quoteTokenMeta,proto3" json:"quote_token_meta,omitempty"`
	// Defines the fee percentage makers pay when trading (in quote asset)
	MakerFeeRate string `protobuf:"bytes,8,opt,name=maker_fee_rate,json=makerFeeRate,proto3" json:"maker_fee_rate,omitempty"`
	// Defines the fee percentage takers pay when trading (in quote asset)
	TakerFeeRate string `protobuf:"bytes,9,opt,name=taker_fee_rate,json=takerFeeRate,proto3" json:"taker_fee_rate,omitempty"`
	// Percentage of the transaction fee shared with the service provider
	ServiceProviderFee string `protobuf:"bytes,10,opt,name=service_provider_fee,json=serviceProviderFee,proto3" json:"service_provider_fee,omitempty"`
	// Defines the minimum required tick size for the order's price
	MinPriceTickSize string `protobuf:"bytes,11,opt,name=min_price_tick_size,json=minPriceTickSize,proto3" json:"min_price_tick_size,omitempty"`
	// Defines the minimum required tick size for the order's quantity
	MinQuantityTickSize string `protobuf:"bytes,12,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3" json:"min_quantity_tick_size,omitempty"`
	// Minimum notional value for the market
	MinNotional string `protobuf:"bytes,13,opt,name=min_notional,json=minNotional,proto3" json:"min_notional,omitempty"`
	// contains filtered or unexported fields
}

func (*SpotMarketInfo) Descriptor deprecated

func (*SpotMarketInfo) Descriptor() ([]byte, []int)

Deprecated: Use SpotMarketInfo.ProtoReflect.Descriptor instead.

func (*SpotMarketInfo) GetBaseDenom

func (x *SpotMarketInfo) GetBaseDenom() string

func (*SpotMarketInfo) GetBaseTokenMeta

func (x *SpotMarketInfo) GetBaseTokenMeta() *TokenMeta

func (*SpotMarketInfo) GetMakerFeeRate

func (x *SpotMarketInfo) GetMakerFeeRate() string

func (*SpotMarketInfo) GetMarketId

func (x *SpotMarketInfo) GetMarketId() string

func (*SpotMarketInfo) GetMarketStatus

func (x *SpotMarketInfo) GetMarketStatus() string

func (*SpotMarketInfo) GetMinNotional added in v1.51.0

func (x *SpotMarketInfo) GetMinNotional() string

func (*SpotMarketInfo) GetMinPriceTickSize

func (x *SpotMarketInfo) GetMinPriceTickSize() string

func (*SpotMarketInfo) GetMinQuantityTickSize

func (x *SpotMarketInfo) GetMinQuantityTickSize() string

func (*SpotMarketInfo) GetQuoteDenom

func (x *SpotMarketInfo) GetQuoteDenom() string

func (*SpotMarketInfo) GetQuoteTokenMeta

func (x *SpotMarketInfo) GetQuoteTokenMeta() *TokenMeta

func (*SpotMarketInfo) GetServiceProviderFee

func (x *SpotMarketInfo) GetServiceProviderFee() string

func (*SpotMarketInfo) GetTakerFeeRate

func (x *SpotMarketInfo) GetTakerFeeRate() string

func (*SpotMarketInfo) GetTicker

func (x *SpotMarketInfo) GetTicker() string

func (*SpotMarketInfo) ProtoMessage

func (*SpotMarketInfo) ProtoMessage()

func (*SpotMarketInfo) ProtoReflect

func (x *SpotMarketInfo) ProtoReflect() protoreflect.Message

func (*SpotMarketInfo) Reset

func (x *SpotMarketInfo) Reset()

func (*SpotMarketInfo) String

func (x *SpotMarketInfo) String() string

type SpotOrderHistory added in v1.43.4

type SpotOrderHistory struct {

	// Hash of the order
	OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
	// Spot Market ID is keccak265(baseDenom + quoteDenom)
	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// active state of the order
	IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	// The subaccountId that this order belongs to
	SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// The execution type
	ExecutionType string `protobuf:"bytes,5,opt,name=execution_type,json=executionType,proto3" json:"execution_type,omitempty"`
	// The side of the order
	OrderType string `protobuf:"bytes,6,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
	// Price of the order
	Price string `protobuf:"bytes,7,opt,name=price,proto3" json:"price,omitempty"`
	// Trigger price
	TriggerPrice string `protobuf:"bytes,8,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"`
	// Quantity of the order
	Quantity string `protobuf:"bytes,9,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// Filled amount
	FilledQuantity string `protobuf:"bytes,10,opt,name=filled_quantity,json=filledQuantity,proto3" json:"filled_quantity,omitempty"`
	// Order state
	State string `protobuf:"bytes,11,opt,name=state,proto3" json:"state,omitempty"`
	// Order committed timestamp in UNIX millis.
	CreatedAt int64 `protobuf:"zigzag64,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Order updated timestamp in UNIX millis.
	UpdatedAt int64 `protobuf:"zigzag64,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Order direction (order side)
	Direction string `protobuf:"bytes,14,opt,name=direction,proto3" json:"direction,omitempty"`
	// Transaction Hash where order is created. Not all orders have this field
	TxHash string `protobuf:"bytes,15,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	// Custom client order ID
	Cid string `protobuf:"bytes,16,opt,name=cid,proto3" json:"cid,omitempty"`
	// contains filtered or unexported fields
}

func (*SpotOrderHistory) Descriptor deprecated added in v1.43.4

func (*SpotOrderHistory) Descriptor() ([]byte, []int)

Deprecated: Use SpotOrderHistory.ProtoReflect.Descriptor instead.

func (*SpotOrderHistory) GetCid added in v1.49.0

func (x *SpotOrderHistory) GetCid() string

func (*SpotOrderHistory) GetCreatedAt added in v1.43.4

func (x *SpotOrderHistory) GetCreatedAt() int64

func (*SpotOrderHistory) GetDirection added in v1.43.4

func (x *SpotOrderHistory) GetDirection() string

func (*SpotOrderHistory) GetExecutionType added in v1.43.4

func (x *SpotOrderHistory) GetExecutionType() string

func (*SpotOrderHistory) GetFilledQuantity added in v1.43.4

func (x *SpotOrderHistory) GetFilledQuantity() string

func (*SpotOrderHistory) GetIsActive added in v1.43.4

func (x *SpotOrderHistory) GetIsActive() bool

func (*SpotOrderHistory) GetMarketId added in v1.43.4

func (x *SpotOrderHistory) GetMarketId() string

func (*SpotOrderHistory) GetOrderHash added in v1.43.4

func (x *SpotOrderHistory) GetOrderHash() string

func (*SpotOrderHistory) GetOrderType added in v1.43.4

func (x *SpotOrderHistory) GetOrderType() string

func (*SpotOrderHistory) GetPrice added in v1.43.4

func (x *SpotOrderHistory) GetPrice() string

func (*SpotOrderHistory) GetQuantity added in v1.43.4

func (x *SpotOrderHistory) GetQuantity() string

func (*SpotOrderHistory) GetState added in v1.43.4

func (x *SpotOrderHistory) GetState() string

func (*SpotOrderHistory) GetSubaccountId added in v1.43.4

func (x *SpotOrderHistory) GetSubaccountId() string

func (*SpotOrderHistory) GetTriggerPrice added in v1.43.4

func (x *SpotOrderHistory) GetTriggerPrice() string

func (*SpotOrderHistory) GetTxHash added in v1.47.16

func (x *SpotOrderHistory) GetTxHash() string

func (*SpotOrderHistory) GetUpdatedAt added in v1.43.4

func (x *SpotOrderHistory) GetUpdatedAt() int64

func (*SpotOrderHistory) ProtoMessage added in v1.43.4

func (*SpotOrderHistory) ProtoMessage()

func (*SpotOrderHistory) ProtoReflect added in v1.43.4

func (x *SpotOrderHistory) ProtoReflect() protoreflect.Message

func (*SpotOrderHistory) Reset added in v1.43.4

func (x *SpotOrderHistory) Reset()

func (*SpotOrderHistory) String added in v1.43.4

func (x *SpotOrderHistory) String() string

type SpotTrade

type SpotTrade struct {

	// Maker order hash.
	OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
	// The subaccountId that executed the trade
	SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// The ID of the market that this trade is in
	MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// The execution type of the trade
	TradeExecutionType string `protobuf:"bytes,4,opt,name=trade_execution_type,json=tradeExecutionType,proto3" json:"trade_execution_type,omitempty"`
	// The direction the trade
	TradeDirection string `protobuf:"bytes,5,opt,name=trade_direction,json=tradeDirection,proto3" json:"trade_direction,omitempty"`
	// Price level at which trade has been executed
	Price *PriceLevel `protobuf:"bytes,6,opt,name=price,proto3" json:"price,omitempty"`
	// The fee associated with the trade (quote asset denom)
	Fee string `protobuf:"bytes,7,opt,name=fee,proto3" json:"fee,omitempty"`
	// Timestamp of trade execution in UNIX millis
	ExecutedAt int64 `protobuf:"zigzag64,8,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"`
	// Fee recipient address
	FeeRecipient string `protobuf:"bytes,9,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"`
	// A unique string that helps differentiate between trades
	TradeId string `protobuf:"bytes,10,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
	// Trade's execution side, marker/taker
	ExecutionSide string `protobuf:"bytes,11,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
	// Custom client order ID
	Cid string `protobuf:"bytes,12,opt,name=cid,proto3" json:"cid,omitempty"`
	// contains filtered or unexported fields
}

func (*SpotTrade) Descriptor deprecated

func (*SpotTrade) Descriptor() ([]byte, []int)

Deprecated: Use SpotTrade.ProtoReflect.Descriptor instead.

func (*SpotTrade) GetCid added in v1.49.0

func (x *SpotTrade) GetCid() string

func (*SpotTrade) GetExecutedAt

func (x *SpotTrade) GetExecutedAt() int64

func (*SpotTrade) GetExecutionSide added in v1.43.4

func (x *SpotTrade) GetExecutionSide() string

func (*SpotTrade) GetFee

func (x *SpotTrade) GetFee() string

func (*SpotTrade) GetFeeRecipient added in v1.32.0

func (x *SpotTrade) GetFeeRecipient() string

func (*SpotTrade) GetMarketId

func (x *SpotTrade) GetMarketId() string

func (*SpotTrade) GetOrderHash

func (x *SpotTrade) GetOrderHash() string

func (*SpotTrade) GetPrice

func (x *SpotTrade) GetPrice() *PriceLevel

func (*SpotTrade) GetSubaccountId

func (x *SpotTrade) GetSubaccountId() string

func (*SpotTrade) GetTradeDirection

func (x *SpotTrade) GetTradeDirection() string

func (*SpotTrade) GetTradeExecutionType

func (x *SpotTrade) GetTradeExecutionType() string

func (*SpotTrade) GetTradeId added in v1.43.4

func (x *SpotTrade) GetTradeId() string

func (*SpotTrade) ProtoMessage

func (*SpotTrade) ProtoMessage()

func (*SpotTrade) ProtoReflect

func (x *SpotTrade) ProtoReflect() protoreflect.Message

func (*SpotTrade) Reset

func (x *SpotTrade) Reset()

func (*SpotTrade) String

func (x *SpotTrade) String() string

type StreamMarketsRequest

type StreamMarketsRequest struct {

	// List of market IDs for updates streaming, empty means 'ALL' spot markets
	MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamMarketsRequest) Descriptor deprecated

func (*StreamMarketsRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamMarketsRequest.ProtoReflect.Descriptor instead.

func (*StreamMarketsRequest) GetMarketIds

func (x *StreamMarketsRequest) GetMarketIds() []string

func (*StreamMarketsRequest) ProtoMessage

func (*StreamMarketsRequest) ProtoMessage()

func (*StreamMarketsRequest) ProtoReflect

func (x *StreamMarketsRequest) ProtoReflect() protoreflect.Message

func (*StreamMarketsRequest) Reset

func (x *StreamMarketsRequest) Reset()

func (*StreamMarketsRequest) String

func (x *StreamMarketsRequest) String() string

type StreamMarketsResponse

type StreamMarketsResponse struct {

	// Info about particular spot market
	Market *SpotMarketInfo `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// Update type
	OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
	// Operation timestamp in UNIX millis.
	Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamMarketsResponse) Descriptor deprecated

func (*StreamMarketsResponse) Descriptor() ([]byte, []int)

Deprecated: Use StreamMarketsResponse.ProtoReflect.Descriptor instead.

func (*StreamMarketsResponse) GetMarket

func (x *StreamMarketsResponse) GetMarket() *SpotMarketInfo

func (*StreamMarketsResponse) GetOperationType

func (x *StreamMarketsResponse) GetOperationType() string

func (*StreamMarketsResponse) GetTimestamp

func (x *StreamMarketsResponse) GetTimestamp() int64

func (*StreamMarketsResponse) ProtoMessage

func (*StreamMarketsResponse) ProtoMessage()

func (*StreamMarketsResponse) ProtoReflect

func (x *StreamMarketsResponse) ProtoReflect() protoreflect.Message

func (*StreamMarketsResponse) Reset

func (x *StreamMarketsResponse) Reset()

func (*StreamMarketsResponse) String

func (x *StreamMarketsResponse) String() string

type StreamOrderbookUpdateRequest added in v1.43.4

type StreamOrderbookUpdateRequest struct {

	// List of market IDs for orderbook streaming, empty means 'ALL' spot markets
	MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamOrderbookUpdateRequest) Descriptor deprecated added in v1.43.4

func (*StreamOrderbookUpdateRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamOrderbookUpdateRequest.ProtoReflect.Descriptor instead.

func (*StreamOrderbookUpdateRequest) GetMarketIds added in v1.43.4

func (x *StreamOrderbookUpdateRequest) GetMarketIds() []string

func (*StreamOrderbookUpdateRequest) ProtoMessage added in v1.43.4

func (*StreamOrderbookUpdateRequest) ProtoMessage()

func (*StreamOrderbookUpdateRequest) ProtoReflect added in v1.43.4

func (*StreamOrderbookUpdateRequest) Reset added in v1.43.4

func (x *StreamOrderbookUpdateRequest) Reset()

func (*StreamOrderbookUpdateRequest) String added in v1.43.4

type StreamOrderbookUpdateResponse added in v1.43.4

type StreamOrderbookUpdateResponse struct {

	// Orderbook level updates of a Spot Market
	OrderbookLevelUpdates *OrderbookLevelUpdates `` /* 126-byte string literal not displayed */
	// Order update type
	OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
	// Operation timestamp in UNIX millis.
	Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// MarketId of the market's orderbook
	MarketId string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamOrderbookUpdateResponse) Descriptor deprecated added in v1.43.4

func (*StreamOrderbookUpdateResponse) Descriptor() ([]byte, []int)

Deprecated: Use StreamOrderbookUpdateResponse.ProtoReflect.Descriptor instead.

func (*StreamOrderbookUpdateResponse) GetMarketId added in v1.43.4

func (x *StreamOrderbookUpdateResponse) GetMarketId() string

func (*StreamOrderbookUpdateResponse) GetOperationType added in v1.43.4

func (x *StreamOrderbookUpdateResponse) GetOperationType() string

func (*StreamOrderbookUpdateResponse) GetOrderbookLevelUpdates added in v1.43.4

func (x *StreamOrderbookUpdateResponse) GetOrderbookLevelUpdates() *OrderbookLevelUpdates

func (*StreamOrderbookUpdateResponse) GetTimestamp added in v1.43.4

func (x *StreamOrderbookUpdateResponse) GetTimestamp() int64

func (*StreamOrderbookUpdateResponse) ProtoMessage added in v1.43.4

func (*StreamOrderbookUpdateResponse) ProtoMessage()

func (*StreamOrderbookUpdateResponse) ProtoReflect added in v1.43.4

func (*StreamOrderbookUpdateResponse) Reset added in v1.43.4

func (x *StreamOrderbookUpdateResponse) Reset()

func (*StreamOrderbookUpdateResponse) String added in v1.43.4

type StreamOrderbookV2Request added in v1.44.0

type StreamOrderbookV2Request struct {

	// List of market IDs for orderbook streaming, empty means 'ALL' spot markets
	MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamOrderbookV2Request) Descriptor deprecated added in v1.44.0

func (*StreamOrderbookV2Request) Descriptor() ([]byte, []int)

Deprecated: Use StreamOrderbookV2Request.ProtoReflect.Descriptor instead.

func (*StreamOrderbookV2Request) GetMarketIds added in v1.44.0

func (x *StreamOrderbookV2Request) GetMarketIds() []string

func (*StreamOrderbookV2Request) ProtoMessage added in v1.44.0

func (*StreamOrderbookV2Request) ProtoMessage()

func (*StreamOrderbookV2Request) ProtoReflect added in v1.44.0

func (x *StreamOrderbookV2Request) ProtoReflect() protoreflect.Message

func (*StreamOrderbookV2Request) Reset added in v1.44.0

func (x *StreamOrderbookV2Request) Reset()

func (*StreamOrderbookV2Request) String added in v1.44.0

func (x *StreamOrderbookV2Request) String() string

type StreamOrderbookV2Response added in v1.44.0

type StreamOrderbookV2Response struct {

	// Orderbook of a Spot Market
	Orderbook *SpotLimitOrderbookV2 `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
	// Order update type
	OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
	// Operation timestamp in UNIX millis.
	Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// MarketId of the market's orderbook
	MarketId string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamOrderbookV2Response) Descriptor deprecated added in v1.44.0

func (*StreamOrderbookV2Response) Descriptor() ([]byte, []int)

Deprecated: Use StreamOrderbookV2Response.ProtoReflect.Descriptor instead.

func (*StreamOrderbookV2Response) GetMarketId added in v1.44.0

func (x *StreamOrderbookV2Response) GetMarketId() string

func (*StreamOrderbookV2Response) GetOperationType added in v1.44.0

func (x *StreamOrderbookV2Response) GetOperationType() string

func (*StreamOrderbookV2Response) GetOrderbook added in v1.44.0

func (*StreamOrderbookV2Response) GetTimestamp added in v1.44.0

func (x *StreamOrderbookV2Response) GetTimestamp() int64

func (*StreamOrderbookV2Response) ProtoMessage added in v1.44.0

func (*StreamOrderbookV2Response) ProtoMessage()

func (*StreamOrderbookV2Response) ProtoReflect added in v1.44.0

func (*StreamOrderbookV2Response) Reset added in v1.44.0

func (x *StreamOrderbookV2Response) Reset()

func (*StreamOrderbookV2Response) String added in v1.44.0

func (x *StreamOrderbookV2Response) String() string

type StreamOrdersHistoryRequest added in v1.43.4

type StreamOrdersHistoryRequest struct {

	// subaccount ID to filter orders for specific subaccount
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// Market ID to filter orders for specific market
	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// filter by order types
	OrderTypes []string `protobuf:"bytes,3,rep,name=order_types,json=orderTypes,proto3" json:"order_types,omitempty"`
	// order side filter
	Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"`
	// Filter by order state
	State          string   `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	ExecutionTypes []string `protobuf:"bytes,6,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamOrdersHistoryRequest) Descriptor deprecated added in v1.43.4

func (*StreamOrdersHistoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamOrdersHistoryRequest.ProtoReflect.Descriptor instead.

func (*StreamOrdersHistoryRequest) GetDirection added in v1.43.4

func (x *StreamOrdersHistoryRequest) GetDirection() string

func (*StreamOrdersHistoryRequest) GetExecutionTypes added in v1.43.4

func (x *StreamOrdersHistoryRequest) GetExecutionTypes() []string

func (*StreamOrdersHistoryRequest) GetMarketId added in v1.43.4

func (x *StreamOrdersHistoryRequest) GetMarketId() string

func (*StreamOrdersHistoryRequest) GetOrderTypes added in v1.43.4

func (x *StreamOrdersHistoryRequest) GetOrderTypes() []string

func (*StreamOrdersHistoryRequest) GetState added in v1.43.4

func (x *StreamOrdersHistoryRequest) GetState() string

func (*StreamOrdersHistoryRequest) GetSubaccountId added in v1.43.4

func (x *StreamOrdersHistoryRequest) GetSubaccountId() string

func (*StreamOrdersHistoryRequest) ProtoMessage added in v1.43.4

func (*StreamOrdersHistoryRequest) ProtoMessage()

func (*StreamOrdersHistoryRequest) ProtoReflect added in v1.43.4

func (*StreamOrdersHistoryRequest) Reset added in v1.43.4

func (x *StreamOrdersHistoryRequest) Reset()

func (*StreamOrdersHistoryRequest) String added in v1.43.4

func (x *StreamOrdersHistoryRequest) String() string

type StreamOrdersHistoryResponse added in v1.43.4

type StreamOrdersHistoryResponse struct {

	// Updated order
	Order *SpotOrderHistory `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
	// Order update type
	OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
	// Operation timestamp in UNIX millis.
	Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamOrdersHistoryResponse) Descriptor deprecated added in v1.43.4

func (*StreamOrdersHistoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use StreamOrdersHistoryResponse.ProtoReflect.Descriptor instead.

func (*StreamOrdersHistoryResponse) GetOperationType added in v1.43.4

func (x *StreamOrdersHistoryResponse) GetOperationType() string

func (*StreamOrdersHistoryResponse) GetOrder added in v1.43.4

func (*StreamOrdersHistoryResponse) GetTimestamp added in v1.43.4

func (x *StreamOrdersHistoryResponse) GetTimestamp() int64

func (*StreamOrdersHistoryResponse) ProtoMessage added in v1.43.4

func (*StreamOrdersHistoryResponse) ProtoMessage()

func (*StreamOrdersHistoryResponse) ProtoReflect added in v1.43.4

func (*StreamOrdersHistoryResponse) Reset added in v1.43.4

func (x *StreamOrdersHistoryResponse) Reset()

func (*StreamOrdersHistoryResponse) String added in v1.43.4

func (x *StreamOrdersHistoryResponse) String() string

type StreamOrdersRequest

type StreamOrdersRequest struct {

	// MarketId of the market's orderbook we want to fetch
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Look for specific order side
	OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
	// Look for specific subaccountId of an order
	SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// Skip will skip the first n item from the result
	Skip uint64 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
	// Limit is used to specify the maximum number of items to be returned.
	Limit int32 `protobuf:"zigzag32,5,opt,name=limit,proto3" json:"limit,omitempty"`
	// The starting timestamp in UNIX milliseconds that the trades must be equal or
	// older than
	StartTime int64 `protobuf:"zigzag64,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The ending timestamp in UNIX milliseconds that the trades must be equal or
	// younger than
	EndTime int64 `protobuf:"zigzag64,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// MarketIds of the markets of which we want to get trades
	MarketIds []string `protobuf:"bytes,8,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
	// Should include inactive orders
	IncludeInactive bool `protobuf:"varint,9,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
	// Choose to return subaccount total orders
	SubaccountTotalOrders bool `` /* 128-byte string literal not displayed */
	// TradeId of the order we want to fetch
	TradeId string `protobuf:"bytes,11,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
	// Client order ID
	Cid string `protobuf:"bytes,12,opt,name=cid,proto3" json:"cid,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamOrdersRequest) Descriptor deprecated

func (*StreamOrdersRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamOrdersRequest.ProtoReflect.Descriptor instead.

func (*StreamOrdersRequest) GetCid added in v1.49.0

func (x *StreamOrdersRequest) GetCid() string

func (*StreamOrdersRequest) GetEndTime added in v1.43.4

func (x *StreamOrdersRequest) GetEndTime() int64

func (*StreamOrdersRequest) GetIncludeInactive added in v1.43.4

func (x *StreamOrdersRequest) GetIncludeInactive() bool

func (*StreamOrdersRequest) GetLimit added in v1.38.3

func (x *StreamOrdersRequest) GetLimit() int32

func (*StreamOrdersRequest) GetMarketId

func (x *StreamOrdersRequest) GetMarketId() string

func (*StreamOrdersRequest) GetMarketIds added in v1.43.4

func (x *StreamOrdersRequest) GetMarketIds() []string

func (*StreamOrdersRequest) GetOrderSide added in v1.23.6

func (x *StreamOrdersRequest) GetOrderSide() string

func (*StreamOrdersRequest) GetSkip added in v1.38.3

func (x *StreamOrdersRequest) GetSkip() uint64

func (*StreamOrdersRequest) GetStartTime added in v1.43.4

func (x *StreamOrdersRequest) GetStartTime() int64

func (*StreamOrdersRequest) GetSubaccountId

func (x *StreamOrdersRequest) GetSubaccountId() string

func (*StreamOrdersRequest) GetSubaccountTotalOrders added in v1.43.4

func (x *StreamOrdersRequest) GetSubaccountTotalOrders() bool

func (*StreamOrdersRequest) GetTradeId added in v1.47.16

func (x *StreamOrdersRequest) GetTradeId() string

func (*StreamOrdersRequest) ProtoMessage

func (*StreamOrdersRequest) ProtoMessage()

func (*StreamOrdersRequest) ProtoReflect

func (x *StreamOrdersRequest) ProtoReflect() protoreflect.Message

func (*StreamOrdersRequest) Reset

func (x *StreamOrdersRequest) Reset()

func (*StreamOrdersRequest) String

func (x *StreamOrdersRequest) String() string

type StreamOrdersResponse

type StreamOrdersResponse struct {

	// Updated market order
	Order *SpotLimitOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
	// Order update type
	OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
	// Operation timestamp in UNIX millis.
	Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamOrdersResponse) Descriptor deprecated

func (*StreamOrdersResponse) Descriptor() ([]byte, []int)

Deprecated: Use StreamOrdersResponse.ProtoReflect.Descriptor instead.

func (*StreamOrdersResponse) GetOperationType

func (x *StreamOrdersResponse) GetOperationType() string

func (*StreamOrdersResponse) GetOrder

func (x *StreamOrdersResponse) GetOrder() *SpotLimitOrder

func (*StreamOrdersResponse) GetTimestamp

func (x *StreamOrdersResponse) GetTimestamp() int64

func (*StreamOrdersResponse) ProtoMessage

func (*StreamOrdersResponse) ProtoMessage()

func (*StreamOrdersResponse) ProtoReflect

func (x *StreamOrdersResponse) ProtoReflect() protoreflect.Message

func (*StreamOrdersResponse) Reset

func (x *StreamOrdersResponse) Reset()

func (*StreamOrdersResponse) String

func (x *StreamOrdersResponse) String() string

type StreamTradesRequest

type StreamTradesRequest struct {

	// MarketId of the market's orderbook we want to fetch
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Filter by execution side of the trade
	ExecutionSide string `protobuf:"bytes,2,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
	// Filter by direction the trade
	Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`
	// SubaccountId of the trader we want to get the trades from
	SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// Skip will skip the first n item from the item result
	Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
	// Limit is used to specify the maximum number of items to be returned.
	Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"`
	// The starting timestamp in UNIX milliseconds that the trades must be equal or
	// older than
	StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The ending timestamp in UNIX milliseconds that the trades must be equal or
	// younger than
	EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// MarketIds of the markets of which we want to get trades
	MarketIds []string `protobuf:"bytes,9,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
	// Subaccount ids of traders we want to get trades
	SubaccountIds  []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
	ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
	// Filter by the tradeId of the trade
	TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
	// Account address
	AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	// Client order ID
	Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamTradesRequest) Descriptor deprecated

func (*StreamTradesRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamTradesRequest.ProtoReflect.Descriptor instead.

func (*StreamTradesRequest) GetAccountAddress added in v1.46.4

func (x *StreamTradesRequest) GetAccountAddress() string

func (*StreamTradesRequest) GetCid added in v1.49.0

func (x *StreamTradesRequest) GetCid() string

func (*StreamTradesRequest) GetDirection

func (x *StreamTradesRequest) GetDirection() string

func (*StreamTradesRequest) GetEndTime added in v1.32.1

func (x *StreamTradesRequest) GetEndTime() int64

func (*StreamTradesRequest) GetExecutionSide

func (x *StreamTradesRequest) GetExecutionSide() string

func (*StreamTradesRequest) GetExecutionTypes added in v1.43.4

func (x *StreamTradesRequest) GetExecutionTypes() []string

func (*StreamTradesRequest) GetLimit added in v1.27.5

func (x *StreamTradesRequest) GetLimit() int32

func (*StreamTradesRequest) GetMarketId

func (x *StreamTradesRequest) GetMarketId() string

func (*StreamTradesRequest) GetMarketIds added in v1.34.0

func (x *StreamTradesRequest) GetMarketIds() []string

func (*StreamTradesRequest) GetSkip added in v1.27.5

func (x *StreamTradesRequest) GetSkip() uint64

func (*StreamTradesRequest) GetStartTime added in v1.32.1

func (x *StreamTradesRequest) GetStartTime() int64

func (*StreamTradesRequest) GetSubaccountId

func (x *StreamTradesRequest) GetSubaccountId() string

func (*StreamTradesRequest) GetSubaccountIds added in v1.34.0

func (x *StreamTradesRequest) GetSubaccountIds() []string

func (*StreamTradesRequest) GetTradeId added in v1.46.4

func (x *StreamTradesRequest) GetTradeId() string

func (*StreamTradesRequest) ProtoMessage

func (*StreamTradesRequest) ProtoMessage()

func (*StreamTradesRequest) ProtoReflect

func (x *StreamTradesRequest) ProtoReflect() protoreflect.Message

func (*StreamTradesRequest) Reset

func (x *StreamTradesRequest) Reset()

func (*StreamTradesRequest) String

func (x *StreamTradesRequest) String() string

type StreamTradesResponse

type StreamTradesResponse struct {

	// New spot market trade
	Trade *SpotTrade `protobuf:"bytes,1,opt,name=trade,proto3" json:"trade,omitempty"`
	// Executed trades update type
	OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
	// Operation timestamp in UNIX millis.
	Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamTradesResponse) Descriptor deprecated

func (*StreamTradesResponse) Descriptor() ([]byte, []int)

Deprecated: Use StreamTradesResponse.ProtoReflect.Descriptor instead.

func (*StreamTradesResponse) GetOperationType

func (x *StreamTradesResponse) GetOperationType() string

func (*StreamTradesResponse) GetTimestamp

func (x *StreamTradesResponse) GetTimestamp() int64

func (*StreamTradesResponse) GetTrade

func (x *StreamTradesResponse) GetTrade() *SpotTrade

func (*StreamTradesResponse) ProtoMessage

func (*StreamTradesResponse) ProtoMessage()

func (*StreamTradesResponse) ProtoReflect

func (x *StreamTradesResponse) ProtoReflect() protoreflect.Message

func (*StreamTradesResponse) Reset

func (x *StreamTradesResponse) Reset()

func (*StreamTradesResponse) String

func (x *StreamTradesResponse) String() string

type StreamTradesV2Request added in v1.49.0

type StreamTradesV2Request struct {

	// MarketId of the market's orderbook we want to fetch
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Filter by execution side of the trade
	ExecutionSide string `protobuf:"bytes,2,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
	// Filter by direction the trade
	Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`
	// SubaccountId of the trader we want to get the trades from
	SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// Skip will skip the first n item from the item result
	Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
	// Limit is used to specify the maximum number of items to be returned.
	Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"`
	// The starting timestamp in UNIX milliseconds that the trades must be equal or
	// older than
	StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The ending timestamp in UNIX milliseconds that the trades must be equal or
	// younger than
	EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// MarketIds of the markets of which we want to get trades
	MarketIds []string `protobuf:"bytes,9,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
	// Subaccount ids of traders we want to get trades
	SubaccountIds  []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
	ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
	// Filter by the tradeId of the trade
	TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
	// Account address
	AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	// Client order ID
	Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamTradesV2Request) Descriptor deprecated added in v1.49.0

func (*StreamTradesV2Request) Descriptor() ([]byte, []int)

Deprecated: Use StreamTradesV2Request.ProtoReflect.Descriptor instead.

func (*StreamTradesV2Request) GetAccountAddress added in v1.49.0

func (x *StreamTradesV2Request) GetAccountAddress() string

func (*StreamTradesV2Request) GetCid added in v1.49.0

func (x *StreamTradesV2Request) GetCid() string

func (*StreamTradesV2Request) GetDirection added in v1.49.0

func (x *StreamTradesV2Request) GetDirection() string

func (*StreamTradesV2Request) GetEndTime added in v1.49.0

func (x *StreamTradesV2Request) GetEndTime() int64

func (*StreamTradesV2Request) GetExecutionSide added in v1.49.0

func (x *StreamTradesV2Request) GetExecutionSide() string

func (*StreamTradesV2Request) GetExecutionTypes added in v1.49.0

func (x *StreamTradesV2Request) GetExecutionTypes() []string

func (*StreamTradesV2Request) GetLimit added in v1.49.0

func (x *StreamTradesV2Request) GetLimit() int32

func (*StreamTradesV2Request) GetMarketId added in v1.49.0

func (x *StreamTradesV2Request) GetMarketId() string

func (*StreamTradesV2Request) GetMarketIds added in v1.49.0

func (x *StreamTradesV2Request) GetMarketIds() []string

func (*StreamTradesV2Request) GetSkip added in v1.49.0

func (x *StreamTradesV2Request) GetSkip() uint64

func (*StreamTradesV2Request) GetStartTime added in v1.49.0

func (x *StreamTradesV2Request) GetStartTime() int64

func (*StreamTradesV2Request) GetSubaccountId added in v1.49.0

func (x *StreamTradesV2Request) GetSubaccountId() string

func (*StreamTradesV2Request) GetSubaccountIds added in v1.49.0

func (x *StreamTradesV2Request) GetSubaccountIds() []string

func (*StreamTradesV2Request) GetTradeId added in v1.49.0

func (x *StreamTradesV2Request) GetTradeId() string

func (*StreamTradesV2Request) ProtoMessage added in v1.49.0

func (*StreamTradesV2Request) ProtoMessage()

func (*StreamTradesV2Request) ProtoReflect added in v1.49.0

func (x *StreamTradesV2Request) ProtoReflect() protoreflect.Message

func (*StreamTradesV2Request) Reset added in v1.49.0

func (x *StreamTradesV2Request) Reset()

func (*StreamTradesV2Request) String added in v1.49.0

func (x *StreamTradesV2Request) String() string

type StreamTradesV2Response added in v1.49.0

type StreamTradesV2Response struct {

	// New spot market trade
	Trade *SpotTrade `protobuf:"bytes,1,opt,name=trade,proto3" json:"trade,omitempty"`
	// Executed trades update type
	OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
	// Operation timestamp in UNIX millis.
	Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamTradesV2Response) Descriptor deprecated added in v1.49.0

func (*StreamTradesV2Response) Descriptor() ([]byte, []int)

Deprecated: Use StreamTradesV2Response.ProtoReflect.Descriptor instead.

func (*StreamTradesV2Response) GetOperationType added in v1.49.0

func (x *StreamTradesV2Response) GetOperationType() string

func (*StreamTradesV2Response) GetTimestamp added in v1.49.0

func (x *StreamTradesV2Response) GetTimestamp() int64

func (*StreamTradesV2Response) GetTrade added in v1.49.0

func (x *StreamTradesV2Response) GetTrade() *SpotTrade

func (*StreamTradesV2Response) ProtoMessage added in v1.49.0

func (*StreamTradesV2Response) ProtoMessage()

func (*StreamTradesV2Response) ProtoReflect added in v1.49.0

func (x *StreamTradesV2Response) ProtoReflect() protoreflect.Message

func (*StreamTradesV2Response) Reset added in v1.49.0

func (x *StreamTradesV2Response) Reset()

func (*StreamTradesV2Response) String added in v1.49.0

func (x *StreamTradesV2Response) String() string

type SubaccountOrdersListRequest

type SubaccountOrdersListRequest struct {

	// subaccount ID to filter orders for specific subaccount
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// Market ID to filter orders for specific market
	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Skip will skip the first n item from the result
	Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
	// Limit is used to specify the maximum number of items to be returned
	Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountOrdersListRequest) Descriptor deprecated

func (*SubaccountOrdersListRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubaccountOrdersListRequest.ProtoReflect.Descriptor instead.

func (*SubaccountOrdersListRequest) GetLimit added in v1.38.3

func (x *SubaccountOrdersListRequest) GetLimit() int32

func (*SubaccountOrdersListRequest) GetMarketId

func (x *SubaccountOrdersListRequest) GetMarketId() string

func (*SubaccountOrdersListRequest) GetSkip added in v1.38.3

func (x *SubaccountOrdersListRequest) GetSkip() uint64

func (*SubaccountOrdersListRequest) GetSubaccountId

func (x *SubaccountOrdersListRequest) GetSubaccountId() string

func (*SubaccountOrdersListRequest) ProtoMessage

func (*SubaccountOrdersListRequest) ProtoMessage()

func (*SubaccountOrdersListRequest) ProtoReflect

func (*SubaccountOrdersListRequest) Reset

func (x *SubaccountOrdersListRequest) Reset()

func (*SubaccountOrdersListRequest) String

func (x *SubaccountOrdersListRequest) String() string

type SubaccountOrdersListResponse

type SubaccountOrdersListResponse struct {
	Orders []*SpotLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	Paging *Paging           `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountOrdersListResponse) Descriptor deprecated

func (*SubaccountOrdersListResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubaccountOrdersListResponse.ProtoReflect.Descriptor instead.

func (*SubaccountOrdersListResponse) GetOrders

func (x *SubaccountOrdersListResponse) GetOrders() []*SpotLimitOrder

func (*SubaccountOrdersListResponse) GetPaging added in v1.43.4

func (x *SubaccountOrdersListResponse) GetPaging() *Paging

func (*SubaccountOrdersListResponse) ProtoMessage

func (*SubaccountOrdersListResponse) ProtoMessage()

func (*SubaccountOrdersListResponse) ProtoReflect

func (*SubaccountOrdersListResponse) Reset

func (x *SubaccountOrdersListResponse) Reset()

func (*SubaccountOrdersListResponse) String

type SubaccountTradesListRequest

type SubaccountTradesListRequest struct {

	// SubaccountId of the trader we want to get the trades from
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// Filter trades by market ID
	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Filter by execution type of trades
	ExecutionType string `protobuf:"bytes,3,opt,name=execution_type,json=executionType,proto3" json:"execution_type,omitempty"`
	// Filter by direction trades
	Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"`
	// Skip will skip the first n item from the result
	Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
	// Limit is used to specify the maximum number of items to be returned
	Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountTradesListRequest) Descriptor deprecated

func (*SubaccountTradesListRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubaccountTradesListRequest.ProtoReflect.Descriptor instead.

func (*SubaccountTradesListRequest) GetDirection

func (x *SubaccountTradesListRequest) GetDirection() string

func (*SubaccountTradesListRequest) GetExecutionType

func (x *SubaccountTradesListRequest) GetExecutionType() string

func (*SubaccountTradesListRequest) GetLimit added in v1.38.3

func (x *SubaccountTradesListRequest) GetLimit() int32

func (*SubaccountTradesListRequest) GetMarketId

func (x *SubaccountTradesListRequest) GetMarketId() string

func (*SubaccountTradesListRequest) GetSkip added in v1.38.3

func (x *SubaccountTradesListRequest) GetSkip() uint64

func (*SubaccountTradesListRequest) GetSubaccountId

func (x *SubaccountTradesListRequest) GetSubaccountId() string

func (*SubaccountTradesListRequest) ProtoMessage

func (*SubaccountTradesListRequest) ProtoMessage()

func (*SubaccountTradesListRequest) ProtoReflect

func (*SubaccountTradesListRequest) Reset

func (x *SubaccountTradesListRequest) Reset()

func (*SubaccountTradesListRequest) String

func (x *SubaccountTradesListRequest) String() string

type SubaccountTradesListResponse

type SubaccountTradesListResponse struct {

	// List of spot market trades
	Trades []*SpotTrade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountTradesListResponse) Descriptor deprecated

func (*SubaccountTradesListResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubaccountTradesListResponse.ProtoReflect.Descriptor instead.

func (*SubaccountTradesListResponse) GetTrades

func (x *SubaccountTradesListResponse) GetTrades() []*SpotTrade

func (*SubaccountTradesListResponse) ProtoMessage

func (*SubaccountTradesListResponse) ProtoMessage()

func (*SubaccountTradesListResponse) ProtoReflect

func (*SubaccountTradesListResponse) Reset

func (x *SubaccountTradesListResponse) Reset()

func (*SubaccountTradesListResponse) String

type TokenMeta

type TokenMeta struct {

	// Token full name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Token Ethereum contract address
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// Token symbol short name
	Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Logo string `protobuf:"bytes,4,opt,name=logo,proto3" json:"logo,omitempty"`
	// Token decimals
	Decimals int32 `protobuf:"zigzag32,5,opt,name=decimals,proto3" json:"decimals,omitempty"`
	// Token metadata fetched timestamp in UNIX millis.
	UpdatedAt int64 `protobuf:"zigzag64,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenMeta) Descriptor deprecated

func (*TokenMeta) Descriptor() ([]byte, []int)

Deprecated: Use TokenMeta.ProtoReflect.Descriptor instead.

func (*TokenMeta) GetAddress

func (x *TokenMeta) GetAddress() string

func (*TokenMeta) GetDecimals

func (x *TokenMeta) GetDecimals() int32
func (x *TokenMeta) GetLogo() string

func (*TokenMeta) GetName

func (x *TokenMeta) GetName() string

func (*TokenMeta) GetSymbol

func (x *TokenMeta) GetSymbol() string

func (*TokenMeta) GetUpdatedAt

func (x *TokenMeta) GetUpdatedAt() int64

func (*TokenMeta) ProtoMessage

func (*TokenMeta) ProtoMessage()

func (*TokenMeta) ProtoReflect

func (x *TokenMeta) ProtoReflect() protoreflect.Message

func (*TokenMeta) Reset

func (x *TokenMeta) Reset()

func (*TokenMeta) String

func (x *TokenMeta) String() string

type TradesRequest

type TradesRequest struct {

	// MarketId of the market's orderbook we want to fetch
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Filter by execution side of the trade
	ExecutionSide string `protobuf:"bytes,2,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
	// Filter by direction the trade
	Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`
	// SubaccountId of the trader we want to get the trades from
	SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// Skip will skip the first n item from the item result
	Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
	// Limit is used to specify the maximum number of items to be returned.
	Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"`
	// The starting timestamp in UNIX milliseconds that the trades must be equal or
	// older than
	StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The ending timestamp in UNIX milliseconds that the trades must be equal or
	// younger than
	EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// MarketIds of the markets of which we want to get trades
	MarketIds []string `protobuf:"bytes,9,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
	// Subaccount ids of traders we want to get trades
	SubaccountIds  []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
	ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
	// Filter by the tradeId of the trade
	TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
	// Account address
	AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	// Client order ID
	Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
	// contains filtered or unexported fields
}

func (*TradesRequest) Descriptor deprecated

func (*TradesRequest) Descriptor() ([]byte, []int)

Deprecated: Use TradesRequest.ProtoReflect.Descriptor instead.

func (*TradesRequest) GetAccountAddress added in v1.46.4

func (x *TradesRequest) GetAccountAddress() string

func (*TradesRequest) GetCid added in v1.49.0

func (x *TradesRequest) GetCid() string

func (*TradesRequest) GetDirection

func (x *TradesRequest) GetDirection() string

func (*TradesRequest) GetEndTime added in v1.32.1

func (x *TradesRequest) GetEndTime() int64

func (*TradesRequest) GetExecutionSide

func (x *TradesRequest) GetExecutionSide() string

func (*TradesRequest) GetExecutionTypes added in v1.43.4

func (x *TradesRequest) GetExecutionTypes() []string

func (*TradesRequest) GetLimit added in v1.27.5

func (x *TradesRequest) GetLimit() int32

func (*TradesRequest) GetMarketId

func (x *TradesRequest) GetMarketId() string

func (*TradesRequest) GetMarketIds added in v1.34.0

func (x *TradesRequest) GetMarketIds() []string

func (*TradesRequest) GetSkip added in v1.27.5

func (x *TradesRequest) GetSkip() uint64

func (*TradesRequest) GetStartTime added in v1.32.1

func (x *TradesRequest) GetStartTime() int64

func (*TradesRequest) GetSubaccountId

func (x *TradesRequest) GetSubaccountId() string

func (*TradesRequest) GetSubaccountIds added in v1.34.0

func (x *TradesRequest) GetSubaccountIds() []string

func (*TradesRequest) GetTradeId added in v1.46.4

func (x *TradesRequest) GetTradeId() string

func (*TradesRequest) ProtoMessage

func (*TradesRequest) ProtoMessage()

func (*TradesRequest) ProtoReflect

func (x *TradesRequest) ProtoReflect() protoreflect.Message

func (*TradesRequest) Reset

func (x *TradesRequest) Reset()

func (*TradesRequest) String

func (x *TradesRequest) String() string

type TradesResponse

type TradesResponse struct {

	// Trades of a Spot Market
	Trades []*SpotTrade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"`
	// Paging indicates pages response is on
	Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
	// contains filtered or unexported fields
}

func (*TradesResponse) Descriptor deprecated

func (*TradesResponse) Descriptor() ([]byte, []int)

Deprecated: Use TradesResponse.ProtoReflect.Descriptor instead.

func (*TradesResponse) GetPaging added in v1.43.4

func (x *TradesResponse) GetPaging() *Paging

func (*TradesResponse) GetTrades

func (x *TradesResponse) GetTrades() []*SpotTrade

func (*TradesResponse) ProtoMessage

func (*TradesResponse) ProtoMessage()

func (*TradesResponse) ProtoReflect

func (x *TradesResponse) ProtoReflect() protoreflect.Message

func (*TradesResponse) Reset

func (x *TradesResponse) Reset()

func (*TradesResponse) String

func (x *TradesResponse) String() string

type TradesV2Request added in v1.49.0

type TradesV2Request struct {

	// MarketId of the market's orderbook we want to fetch
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Filter by execution side of the trade
	ExecutionSide string `protobuf:"bytes,2,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
	// Filter by direction the trade
	Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`
	// SubaccountId of the trader we want to get the trades from
	SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// Skip will skip the first n item from the item result
	Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
	// Limit is used to specify the maximum number of items to be returned.
	Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"`
	// The starting timestamp in UNIX milliseconds that the trades must be equal or
	// older than
	StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The ending timestamp in UNIX milliseconds that the trades must be equal or
	// younger than
	EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// MarketIds of the markets of which we want to get trades
	MarketIds []string `protobuf:"bytes,9,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
	// Subaccount ids of traders we want to get trades
	SubaccountIds  []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
	ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
	// Filter by the tradeId of the trade
	TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
	// Account address
	AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	// Client order ID
	Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
	// contains filtered or unexported fields
}

func (*TradesV2Request) Descriptor deprecated added in v1.49.0

func (*TradesV2Request) Descriptor() ([]byte, []int)

Deprecated: Use TradesV2Request.ProtoReflect.Descriptor instead.

func (*TradesV2Request) GetAccountAddress added in v1.49.0

func (x *TradesV2Request) GetAccountAddress() string

func (*TradesV2Request) GetCid added in v1.49.0

func (x *TradesV2Request) GetCid() string

func (*TradesV2Request) GetDirection added in v1.49.0

func (x *TradesV2Request) GetDirection() string

func (*TradesV2Request) GetEndTime added in v1.49.0

func (x *TradesV2Request) GetEndTime() int64

func (*TradesV2Request) GetExecutionSide added in v1.49.0

func (x *TradesV2Request) GetExecutionSide() string

func (*TradesV2Request) GetExecutionTypes added in v1.49.0

func (x *TradesV2Request) GetExecutionTypes() []string

func (*TradesV2Request) GetLimit added in v1.49.0

func (x *TradesV2Request) GetLimit() int32

func (*TradesV2Request) GetMarketId added in v1.49.0

func (x *TradesV2Request) GetMarketId() string

func (*TradesV2Request) GetMarketIds added in v1.49.0

func (x *TradesV2Request) GetMarketIds() []string

func (*TradesV2Request) GetSkip added in v1.49.0

func (x *TradesV2Request) GetSkip() uint64

func (*TradesV2Request) GetStartTime added in v1.49.0

func (x *TradesV2Request) GetStartTime() int64

func (*TradesV2Request) GetSubaccountId added in v1.49.0

func (x *TradesV2Request) GetSubaccountId() string

func (*TradesV2Request) GetSubaccountIds added in v1.49.0

func (x *TradesV2Request) GetSubaccountIds() []string

func (*TradesV2Request) GetTradeId added in v1.49.0

func (x *TradesV2Request) GetTradeId() string

func (*TradesV2Request) ProtoMessage added in v1.49.0

func (*TradesV2Request) ProtoMessage()

func (*TradesV2Request) ProtoReflect added in v1.49.0

func (x *TradesV2Request) ProtoReflect() protoreflect.Message

func (*TradesV2Request) Reset added in v1.49.0

func (x *TradesV2Request) Reset()

func (*TradesV2Request) String added in v1.49.0

func (x *TradesV2Request) String() string

type TradesV2Response added in v1.49.0

type TradesV2Response struct {

	// Trades of a Spot Market
	Trades []*SpotTrade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"`
	// Paging indicates pages response is on
	Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
	// contains filtered or unexported fields
}

func (*TradesV2Response) Descriptor deprecated added in v1.49.0

func (*TradesV2Response) Descriptor() ([]byte, []int)

Deprecated: Use TradesV2Response.ProtoReflect.Descriptor instead.

func (*TradesV2Response) GetPaging added in v1.49.0

func (x *TradesV2Response) GetPaging() *Paging

func (*TradesV2Response) GetTrades added in v1.49.0

func (x *TradesV2Response) GetTrades() []*SpotTrade

func (*TradesV2Response) ProtoMessage added in v1.49.0

func (*TradesV2Response) ProtoMessage()

func (*TradesV2Response) ProtoReflect added in v1.49.0

func (x *TradesV2Response) ProtoReflect() protoreflect.Message

func (*TradesV2Response) Reset added in v1.49.0

func (x *TradesV2Response) Reset()

func (*TradesV2Response) String added in v1.49.0

func (x *TradesV2Response) String() string

type UnimplementedInjectiveSpotExchangeRPCServer

type UnimplementedInjectiveSpotExchangeRPCServer struct {
}

UnimplementedInjectiveSpotExchangeRPCServer must be embedded to have forward compatible implementations.

func (UnimplementedInjectiveSpotExchangeRPCServer) AtomicSwapHistory added in v1.47.16

func (UnimplementedInjectiveSpotExchangeRPCServer) Market

func (UnimplementedInjectiveSpotExchangeRPCServer) Markets

func (UnimplementedInjectiveSpotExchangeRPCServer) OrderbookV2 added in v1.44.0

func (UnimplementedInjectiveSpotExchangeRPCServer) OrderbooksV2 added in v1.44.0

func (UnimplementedInjectiveSpotExchangeRPCServer) Orders

func (UnimplementedInjectiveSpotExchangeRPCServer) OrdersHistory added in v1.43.4

func (UnimplementedInjectiveSpotExchangeRPCServer) StreamOrderbookUpdate added in v1.43.4

func (UnimplementedInjectiveSpotExchangeRPCServer) StreamOrderbookV2 added in v1.44.0

func (UnimplementedInjectiveSpotExchangeRPCServer) StreamOrdersHistory added in v1.43.4

func (UnimplementedInjectiveSpotExchangeRPCServer) StreamTradesV2 added in v1.49.0

func (UnimplementedInjectiveSpotExchangeRPCServer) SubaccountOrdersList

func (UnimplementedInjectiveSpotExchangeRPCServer) SubaccountTradesList

func (UnimplementedInjectiveSpotExchangeRPCServer) Trades

func (UnimplementedInjectiveSpotExchangeRPCServer) TradesV2 added in v1.49.0

type UnsafeInjectiveSpotExchangeRPCServer

type UnsafeInjectiveSpotExchangeRPCServer interface {
	// contains filtered or unexported methods
}

UnsafeInjectiveSpotExchangeRPCServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InjectiveSpotExchangeRPCServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL