v2

package
v0.50.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: MIT Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccountField_name = map[int32]string{
		0: "ACCOUNT_FIELD_UNSPECIFIED",
		1: "ACCOUNT_FIELD_ID",
		2: "ACCOUNT_FIELD_PARTY_ID",
		3: "ACCOUNT_FIELD_ASSET_ID",
		4: "ACCOUNT_FIELD_MARKET_ID",
		5: "ACCOUNT_FIELD_TYPE",
	}
	AccountField_value = map[string]int32{
		"ACCOUNT_FIELD_UNSPECIFIED": 0,
		"ACCOUNT_FIELD_ID":          1,
		"ACCOUNT_FIELD_PARTY_ID":    2,
		"ACCOUNT_FIELD_ASSET_ID":    3,
		"ACCOUNT_FIELD_MARKET_ID":   4,
		"ACCOUNT_FIELD_TYPE":        5,
	}
)

Enum value maps for AccountField.

View Source
var File_data_node_api_v2_trading_data_proto protoreflect.FileDescriptor
View Source
var TradingDataService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "datanode.api.v2.TradingDataService",
	HandlerType: (*TradingDataServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "OrdersByMarket",
			Handler:    _TradingDataService_OrdersByMarket_Handler,
		},
		{
			MethodName: "OrderVersionsByID",
			Handler:    _TradingDataService_OrderVersionsByID_Handler,
		},
		{
			MethodName: "QueryBalanceHistory",
			Handler:    _TradingDataService_QueryBalanceHistory_Handler,
		},
		{
			MethodName: "GetMarketDataHistoryByID",
			Handler:    _TradingDataService_GetMarketDataHistoryByID_Handler,
		},
		{
			MethodName: "GetNetworkLimits",
			Handler:    _TradingDataService_GetNetworkLimits_Handler,
		},
		{
			MethodName: "GetCandleData",
			Handler:    _TradingDataService_GetCandleData_Handler,
		},
		{
			MethodName: "GetCandlesForMarket",
			Handler:    _TradingDataService_GetCandlesForMarket_Handler,
		},
		{
			MethodName: "GetERC20MultiSigSignerAddedBundles",
			Handler:    _TradingDataService_GetERC20MultiSigSignerAddedBundles_Handler,
		},
		{
			MethodName: "GetERC20MultiSigSignerRemovedBundles",
			Handler:    _TradingDataService_GetERC20MultiSigSignerRemovedBundles_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SubscribeToCandleData",
			Handler:       _TradingDataService_SubscribeToCandleData_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "data-node/api/v2/trading_data.proto",
}

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

Functions

func RegisterTradingDataServiceServer

func RegisterTradingDataServiceServer(s grpc.ServiceRegistrar, srv TradingDataServiceServer)

Types

type AccountField

type AccountField int32

A list of the properties of an account, used for grouping

const (
	AccountField_ACCOUNT_FIELD_UNSPECIFIED AccountField = 0
	AccountField_ACCOUNT_FIELD_ID          AccountField = 1
	AccountField_ACCOUNT_FIELD_PARTY_ID    AccountField = 2
	AccountField_ACCOUNT_FIELD_ASSET_ID    AccountField = 3
	AccountField_ACCOUNT_FIELD_MARKET_ID   AccountField = 4
	AccountField_ACCOUNT_FIELD_TYPE        AccountField = 5
)

func (AccountField) Descriptor

func (AccountField) Enum

func (x AccountField) Enum() *AccountField

func (AccountField) EnumDescriptor deprecated

func (AccountField) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccountField.Descriptor instead.

func (AccountField) Number

func (AccountField) String

func (x AccountField) String() string

func (AccountField) Type

type AccountFilter

type AccountFilter struct {

	// Restrict accounts to those holding balances in this asset ID
	AssetId string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// Restrict accounts to those owned by the parties in this list (pass an empty list for no filter)
	PartyIds []string `protobuf:"bytes,2,rep,name=party_ids,json=partyIds,proto3" json:"party_ids,omitempty"`
	// Restrict accounts to those connected to the marketsin this list (pass an empty list for no filter)
	MarketIds []string `protobuf:"bytes,3,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
	// Restrict accounts to those connected to any of the types in this list (pass an empty list for no filter)
	AccountTypes []vega.AccountType `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AccountFilter) Descriptor deprecated

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

Deprecated: Use AccountFilter.ProtoReflect.Descriptor instead.

func (*AccountFilter) GetAccountTypes

func (x *AccountFilter) GetAccountTypes() []vega.AccountType

func (*AccountFilter) GetAssetId

func (x *AccountFilter) GetAssetId() string

func (*AccountFilter) GetMarketIds

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

func (*AccountFilter) GetPartyIds

func (x *AccountFilter) GetPartyIds() []string

func (*AccountFilter) ProtoMessage

func (*AccountFilter) ProtoMessage()

func (*AccountFilter) ProtoReflect

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

func (*AccountFilter) Reset

func (x *AccountFilter) Reset()

func (*AccountFilter) String

func (x *AccountFilter) String() string

type AggregatedBalance

type AggregatedBalance struct {

	// Timestamp to of block the balance is referring to, in nanoseconds since the epoch
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The balance of the set of requested accounts at the time above
	Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
	// If grouping by account ID, the account ID
	AccountId *string `protobuf:"bytes,3,opt,name=account_id,json=accountId,proto3,oneof" json:"account_id,omitempty"`
	// If grouping by party, the party ID
	PartyId *string `protobuf:"bytes,4,opt,name=party_id,json=partyId,proto3,oneof" json:"party_id,omitempty"`
	// If grouping by asset, the asset ID
	AssetId *string `protobuf:"bytes,5,opt,name=asset_id,json=assetId,proto3,oneof" json:"asset_id,omitempty"`
	// If grouping by market, the market ID
	MarketId *string `protobuf:"bytes,6,opt,name=market_id,json=marketId,proto3,oneof" json:"market_id,omitempty"`
	// If grouping by account type, the account type
	AccountType vega.AccountType `protobuf:"varint,7,opt,name=account_type,json=accountType,proto3,enum=vega.AccountType" json:"account_type,omitempty"`
	// contains filtered or unexported fields
}

func (*AggregatedBalance) Descriptor deprecated

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

Deprecated: Use AggregatedBalance.ProtoReflect.Descriptor instead.

func (*AggregatedBalance) GetAccountId

func (x *AggregatedBalance) GetAccountId() string

func (*AggregatedBalance) GetAccountType

func (x *AggregatedBalance) GetAccountType() vega.AccountType

func (*AggregatedBalance) GetAssetId

func (x *AggregatedBalance) GetAssetId() string

func (*AggregatedBalance) GetBalance

func (x *AggregatedBalance) GetBalance() string

func (*AggregatedBalance) GetMarketId

func (x *AggregatedBalance) GetMarketId() string

func (*AggregatedBalance) GetPartyId

func (x *AggregatedBalance) GetPartyId() string

func (*AggregatedBalance) GetTimestamp

func (x *AggregatedBalance) GetTimestamp() int64

func (*AggregatedBalance) ProtoMessage

func (*AggregatedBalance) ProtoMessage()

func (*AggregatedBalance) ProtoReflect

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

func (*AggregatedBalance) Reset

func (x *AggregatedBalance) Reset()

func (*AggregatedBalance) String

func (x *AggregatedBalance) String() string

type Candle added in v0.49.2

type Candle struct {

	// Timestamp for the point in time when the candle was initially created/opened, in nanoseconds since the epoch
	// - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp`
	Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	// Timestamp for the point in time when the candle was last updated, in nanoseconds since the epoch
	// - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp`
	LastUpdate int64 `protobuf:"varint,2,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
	// Highest price for trading during the candle interval
	High string `protobuf:"bytes,3,opt,name=high,proto3" json:"high,omitempty"`
	// Lowest price for trading during the candle interval
	Low string `protobuf:"bytes,4,opt,name=low,proto3" json:"low,omitempty"`
	// Open trade price
	Open string `protobuf:"bytes,5,opt,name=open,proto3" json:"open,omitempty"`
	// Closing trade price
	Close string `protobuf:"bytes,6,opt,name=close,proto3" json:"close,omitempty"`
	// Total trading volume during the candle interval
	Volume uint64 `protobuf:"varint,7,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

Represents the high, low, open, and closing prices for an interval of trading, referred to commonly as a candlestick or candle

func (*Candle) Descriptor deprecated added in v0.49.2

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

Deprecated: Use Candle.ProtoReflect.Descriptor instead.

func (*Candle) GetClose added in v0.49.2

func (x *Candle) GetClose() string

func (*Candle) GetHigh added in v0.49.2

func (x *Candle) GetHigh() string

func (*Candle) GetLastUpdate added in v0.49.2

func (x *Candle) GetLastUpdate() int64

func (*Candle) GetLow added in v0.49.2

func (x *Candle) GetLow() string

func (*Candle) GetOpen added in v0.49.2

func (x *Candle) GetOpen() string

func (*Candle) GetStart added in v0.49.2

func (x *Candle) GetStart() int64

func (*Candle) GetVolume added in v0.49.2

func (x *Candle) GetVolume() uint64

func (*Candle) ProtoMessage added in v0.49.2

func (*Candle) ProtoMessage()

func (*Candle) ProtoReflect added in v0.49.2

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

func (*Candle) Reset added in v0.49.2

func (x *Candle) Reset()

func (*Candle) String added in v0.49.2

func (x *Candle) String() string

type ERC20MultiSigSignerAddedBundle added in v0.50.2

type ERC20MultiSigSignerAddedBundle struct {

	// The ethereum address of the signer to be removed
	NewSigner string `protobuf:"bytes,1,opt,name=new_signer,json=newSigner,proto3" json:"new_signer,omitempty"`
	// The ethereum address of the submitter
	Submitter string `protobuf:"bytes,2,opt,name=submitter,proto3" json:"submitter,omitempty"`
	// The nonce used in the signing operation
	Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// unixnano timestamp for when the validator was added
	Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The bundle of signatures from current validators to sign in the new signer
	Signatures string `protobuf:"bytes,6,opt,name=signatures,proto3" json:"signatures,omitempty"`
	// The epoch in which the validator was added
	EpochSeq string `protobuf:"bytes,3,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"`
	// contains filtered or unexported fields
}

func (*ERC20MultiSigSignerAddedBundle) Descriptor deprecated added in v0.50.2

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

Deprecated: Use ERC20MultiSigSignerAddedBundle.ProtoReflect.Descriptor instead.

func (*ERC20MultiSigSignerAddedBundle) GetEpochSeq added in v0.50.2

func (x *ERC20MultiSigSignerAddedBundle) GetEpochSeq() string

func (*ERC20MultiSigSignerAddedBundle) GetNewSigner added in v0.50.2

func (x *ERC20MultiSigSignerAddedBundle) GetNewSigner() string

func (*ERC20MultiSigSignerAddedBundle) GetNonce added in v0.50.2

func (x *ERC20MultiSigSignerAddedBundle) GetNonce() string

func (*ERC20MultiSigSignerAddedBundle) GetSignatures added in v0.50.2

func (x *ERC20MultiSigSignerAddedBundle) GetSignatures() string

func (*ERC20MultiSigSignerAddedBundle) GetSubmitter added in v0.50.2

func (x *ERC20MultiSigSignerAddedBundle) GetSubmitter() string

func (*ERC20MultiSigSignerAddedBundle) GetTimestamp added in v0.50.2

func (x *ERC20MultiSigSignerAddedBundle) GetTimestamp() int64

func (*ERC20MultiSigSignerAddedBundle) ProtoMessage added in v0.50.2

func (*ERC20MultiSigSignerAddedBundle) ProtoMessage()

func (*ERC20MultiSigSignerAddedBundle) ProtoReflect added in v0.50.2

func (*ERC20MultiSigSignerAddedBundle) Reset added in v0.50.2

func (x *ERC20MultiSigSignerAddedBundle) Reset()

func (*ERC20MultiSigSignerAddedBundle) String added in v0.50.2

type ERC20MultiSigSignerRemovedBundle added in v0.50.2

type ERC20MultiSigSignerRemovedBundle struct {

	// The ethereum address of the signer to be removed
	OldSigner string `protobuf:"bytes,1,opt,name=old_signer,json=oldSigner,proto3" json:"old_signer,omitempty"`
	// The ethereum address of the submitter
	Submitter string `protobuf:"bytes,2,opt,name=submitter,proto3" json:"submitter,omitempty"`
	// The nonce used in the signing operation
	Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// unixnano timestamp for when the validator was added
	Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The bundle of signatures from current validators to sign in the new signer
	Signatures string `protobuf:"bytes,6,opt,name=signatures,proto3" json:"signatures,omitempty"`
	// The epoch in which the validator was removed
	EpochSeq string `protobuf:"bytes,7,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"`
	// contains filtered or unexported fields
}

func (*ERC20MultiSigSignerRemovedBundle) Descriptor deprecated added in v0.50.2

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

Deprecated: Use ERC20MultiSigSignerRemovedBundle.ProtoReflect.Descriptor instead.

func (*ERC20MultiSigSignerRemovedBundle) GetEpochSeq added in v0.50.2

func (x *ERC20MultiSigSignerRemovedBundle) GetEpochSeq() string

func (*ERC20MultiSigSignerRemovedBundle) GetNonce added in v0.50.2

func (*ERC20MultiSigSignerRemovedBundle) GetOldSigner added in v0.50.2

func (x *ERC20MultiSigSignerRemovedBundle) GetOldSigner() string

func (*ERC20MultiSigSignerRemovedBundle) GetSignatures added in v0.50.2

func (x *ERC20MultiSigSignerRemovedBundle) GetSignatures() string

func (*ERC20MultiSigSignerRemovedBundle) GetSubmitter added in v0.50.2

func (x *ERC20MultiSigSignerRemovedBundle) GetSubmitter() string

func (*ERC20MultiSigSignerRemovedBundle) GetTimestamp added in v0.50.2

func (x *ERC20MultiSigSignerRemovedBundle) GetTimestamp() int64

func (*ERC20MultiSigSignerRemovedBundle) ProtoMessage added in v0.50.2

func (*ERC20MultiSigSignerRemovedBundle) ProtoMessage()

func (*ERC20MultiSigSignerRemovedBundle) ProtoReflect added in v0.50.2

func (*ERC20MultiSigSignerRemovedBundle) Reset added in v0.50.2

func (*ERC20MultiSigSignerRemovedBundle) String added in v0.50.2

type GetCandleDataRequest added in v0.49.3

type GetCandleDataRequest struct {

	// Candle identifier, required field.
	CandleId string `protobuf:"bytes,1,opt,name=candle_id,json=candleId,proto3" json:"candle_id,omitempty"`
	// Timestamp to retrieve candles since, in nanoseconds since the epoch,
	// required field - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp`
	FromTimestamp int64 `protobuf:"varint,2,opt,name=from_timestamp,json=fromTimestamp,proto3" json:"from_timestamp,omitempty"`
	// Timestamp to retrieve candles since, in nanoseconds since the epoch,
	// required field - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp`
	ToTimestamp int64 `protobuf:"varint,3,opt,name=to_timestamp,json=toTimestamp,proto3" json:"to_timestamp,omitempty"`
	// Time interval for the candles, required field specified as a valid postgres interval
	Interval string `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"`
	// pagination controls
	Pagination *Pagination `protobuf:"bytes,5,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

Request for a list of candles for a market at an interval

func (*GetCandleDataRequest) Descriptor deprecated added in v0.49.3

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

Deprecated: Use GetCandleDataRequest.ProtoReflect.Descriptor instead.

func (*GetCandleDataRequest) GetCandleId added in v0.49.3

func (x *GetCandleDataRequest) GetCandleId() string

func (*GetCandleDataRequest) GetFromTimestamp added in v0.49.3

func (x *GetCandleDataRequest) GetFromTimestamp() int64

func (*GetCandleDataRequest) GetInterval added in v0.49.3

func (x *GetCandleDataRequest) GetInterval() string

func (*GetCandleDataRequest) GetPagination added in v0.49.3

func (x *GetCandleDataRequest) GetPagination() *Pagination

func (*GetCandleDataRequest) GetToTimestamp added in v0.49.3

func (x *GetCandleDataRequest) GetToTimestamp() int64

func (*GetCandleDataRequest) ProtoMessage added in v0.49.3

func (*GetCandleDataRequest) ProtoMessage()

func (*GetCandleDataRequest) ProtoReflect added in v0.49.3

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

func (*GetCandleDataRequest) Reset added in v0.49.3

func (x *GetCandleDataRequest) Reset()

func (*GetCandleDataRequest) String added in v0.49.3

func (x *GetCandleDataRequest) String() string

type GetCandleDataResponse added in v0.49.3

type GetCandleDataResponse struct {

	// A list of 0 or more candles
	Candles []*Candle `protobuf:"bytes,1,rep,name=candles,proto3" json:"candles,omitempty"`
	// contains filtered or unexported fields
}

Response for list of candles for a market at an interval

func (*GetCandleDataResponse) Descriptor deprecated added in v0.49.3

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

Deprecated: Use GetCandleDataResponse.ProtoReflect.Descriptor instead.

func (*GetCandleDataResponse) GetCandles added in v0.49.3

func (x *GetCandleDataResponse) GetCandles() []*Candle

func (*GetCandleDataResponse) ProtoMessage added in v0.49.3

func (*GetCandleDataResponse) ProtoMessage()

func (*GetCandleDataResponse) ProtoReflect added in v0.49.3

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

func (*GetCandleDataResponse) Reset added in v0.49.3

func (x *GetCandleDataResponse) Reset()

func (*GetCandleDataResponse) String added in v0.49.3

func (x *GetCandleDataResponse) String() string

type GetCandlesForMarketRequest added in v0.49.3

type GetCandlesForMarketRequest struct {

	// The unique identifier for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// contains filtered or unexported fields
}

Request to get a list of supported intervals for the given market along with the corresponding candle id

func (*GetCandlesForMarketRequest) Descriptor deprecated added in v0.49.3

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

Deprecated: Use GetCandlesForMarketRequest.ProtoReflect.Descriptor instead.

func (*GetCandlesForMarketRequest) GetMarketId added in v0.49.3

func (x *GetCandlesForMarketRequest) GetMarketId() string

func (*GetCandlesForMarketRequest) ProtoMessage added in v0.49.3

func (*GetCandlesForMarketRequest) ProtoMessage()

func (*GetCandlesForMarketRequest) ProtoReflect added in v0.49.3

func (*GetCandlesForMarketRequest) Reset added in v0.49.3

func (x *GetCandlesForMarketRequest) Reset()

func (*GetCandlesForMarketRequest) String added in v0.49.3

func (x *GetCandlesForMarketRequest) String() string

type GetCandlesForMarketResponse added in v0.49.3

type GetCandlesForMarketResponse struct {
	IntervalToCandleId []*IntervalToCandleId `protobuf:"bytes,1,rep,name=interval_to_candle_id,json=intervalToCandleId,proto3" json:"interval_to_candle_id,omitempty"`
	// contains filtered or unexported fields
}

A list of interval to candle id mappings for a given market

func (*GetCandlesForMarketResponse) Descriptor deprecated added in v0.49.3

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

Deprecated: Use GetCandlesForMarketResponse.ProtoReflect.Descriptor instead.

func (*GetCandlesForMarketResponse) GetIntervalToCandleId added in v0.49.3

func (x *GetCandlesForMarketResponse) GetIntervalToCandleId() []*IntervalToCandleId

func (*GetCandlesForMarketResponse) ProtoMessage added in v0.49.3

func (*GetCandlesForMarketResponse) ProtoMessage()

func (*GetCandlesForMarketResponse) ProtoReflect added in v0.49.3

func (*GetCandlesForMarketResponse) Reset added in v0.49.3

func (x *GetCandlesForMarketResponse) Reset()

func (*GetCandlesForMarketResponse) String added in v0.49.3

func (x *GetCandlesForMarketResponse) String() string

type GetERC20MultiSigSignerAddedBundlesRequest added in v0.50.2

type GetERC20MultiSigSignerAddedBundlesRequest struct {

	// The node id of the validator of which a signature bundle is required
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The epoch which generated the bundle i.e the epoch in which the node became a tendermint validator
	EpochSeq string `protobuf:"bytes,2,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"`
	// Pagination controls
	Pagination *Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*GetERC20MultiSigSignerAddedBundlesRequest) Descriptor deprecated added in v0.50.2

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

Deprecated: Use GetERC20MultiSigSignerAddedBundlesRequest.ProtoReflect.Descriptor instead.

func (*GetERC20MultiSigSignerAddedBundlesRequest) GetEpochSeq added in v0.50.2

func (*GetERC20MultiSigSignerAddedBundlesRequest) GetNodeId added in v0.50.2

func (*GetERC20MultiSigSignerAddedBundlesRequest) GetPagination added in v0.50.2

func (*GetERC20MultiSigSignerAddedBundlesRequest) ProtoMessage added in v0.50.2

func (*GetERC20MultiSigSignerAddedBundlesRequest) ProtoReflect added in v0.50.2

func (*GetERC20MultiSigSignerAddedBundlesRequest) Reset added in v0.50.2

func (*GetERC20MultiSigSignerAddedBundlesRequest) String added in v0.50.2

type GetERC20MultiSigSignerAddedBundlesResponse added in v0.50.2

type GetERC20MultiSigSignerAddedBundlesResponse struct {

	// list of bundles for that validator, it may have been added multiple times if removed in between
	Bundles []*ERC20MultiSigSignerAddedBundle `protobuf:"bytes,1,rep,name=bundles,proto3" json:"bundles,omitempty"`
	// contains filtered or unexported fields
}

func (*GetERC20MultiSigSignerAddedBundlesResponse) Descriptor deprecated added in v0.50.2

Deprecated: Use GetERC20MultiSigSignerAddedBundlesResponse.ProtoReflect.Descriptor instead.

func (*GetERC20MultiSigSignerAddedBundlesResponse) GetBundles added in v0.50.2

func (*GetERC20MultiSigSignerAddedBundlesResponse) ProtoMessage added in v0.50.2

func (*GetERC20MultiSigSignerAddedBundlesResponse) ProtoReflect added in v0.50.2

func (*GetERC20MultiSigSignerAddedBundlesResponse) Reset added in v0.50.2

func (*GetERC20MultiSigSignerAddedBundlesResponse) String added in v0.50.2

type GetERC20MultiSigSignerRemovedBundlesRequest added in v0.50.2

type GetERC20MultiSigSignerRemovedBundlesRequest struct {

	// The node id of the validator of which a signature bundle is required
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The ethereum address of the validator which will submit the bundle
	Submitter string `protobuf:"bytes,2,opt,name=submitter,proto3" json:"submitter,omitempty"`
	// The epoch which generated the bundle i.e the epoch in which the node was demoted from a tendermint validator
	EpochSeq string `protobuf:"bytes,3,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"`
	// Pagination controls
	Pagination *Pagination `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*GetERC20MultiSigSignerRemovedBundlesRequest) Descriptor deprecated added in v0.50.2

Deprecated: Use GetERC20MultiSigSignerRemovedBundlesRequest.ProtoReflect.Descriptor instead.

func (*GetERC20MultiSigSignerRemovedBundlesRequest) GetEpochSeq added in v0.50.2

func (*GetERC20MultiSigSignerRemovedBundlesRequest) GetNodeId added in v0.50.2

func (*GetERC20MultiSigSignerRemovedBundlesRequest) GetPagination added in v0.50.2

func (*GetERC20MultiSigSignerRemovedBundlesRequest) GetSubmitter added in v0.50.2

func (*GetERC20MultiSigSignerRemovedBundlesRequest) ProtoMessage added in v0.50.2

func (*GetERC20MultiSigSignerRemovedBundlesRequest) ProtoReflect added in v0.50.2

func (*GetERC20MultiSigSignerRemovedBundlesRequest) Reset added in v0.50.2

func (*GetERC20MultiSigSignerRemovedBundlesRequest) String added in v0.50.2

type GetERC20MultiSigSignerRemovedBundlesResponse added in v0.50.2

type GetERC20MultiSigSignerRemovedBundlesResponse struct {

	// list of signer bundles for that validator
	Bundles []*ERC20MultiSigSignerRemovedBundle `protobuf:"bytes,1,rep,name=bundles,proto3" json:"bundles,omitempty"`
	// contains filtered or unexported fields
}

func (*GetERC20MultiSigSignerRemovedBundlesResponse) Descriptor deprecated added in v0.50.2

Deprecated: Use GetERC20MultiSigSignerRemovedBundlesResponse.ProtoReflect.Descriptor instead.

func (*GetERC20MultiSigSignerRemovedBundlesResponse) GetBundles added in v0.50.2

func (*GetERC20MultiSigSignerRemovedBundlesResponse) ProtoMessage added in v0.50.2

func (*GetERC20MultiSigSignerRemovedBundlesResponse) ProtoReflect added in v0.50.2

func (*GetERC20MultiSigSignerRemovedBundlesResponse) Reset added in v0.50.2

func (*GetERC20MultiSigSignerRemovedBundlesResponse) String added in v0.50.2

type GetMarketDataHistoryByIDRequest

type GetMarketDataHistoryByIDRequest struct {

	// Market identifier, required field
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Optional Unix time in nanoseconds
	StartTimestamp *int64 `protobuf:"varint,2,opt,name=start_timestamp,json=startTimestamp,proto3,oneof" json:"start_timestamp,omitempty"`
	// Optional Unix time in nanoseconds
	EndTimestamp *int64 `protobuf:"varint,3,opt,name=end_timestamp,json=endTimestamp,proto3,oneof" json:"end_timestamp,omitempty"`
	// Optional pagination control
	Pagination *Pagination `protobuf:"bytes,4,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

Request for Market Data History

func (*GetMarketDataHistoryByIDRequest) Descriptor deprecated

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

Deprecated: Use GetMarketDataHistoryByIDRequest.ProtoReflect.Descriptor instead.

func (*GetMarketDataHistoryByIDRequest) GetEndTimestamp

func (x *GetMarketDataHistoryByIDRequest) GetEndTimestamp() int64

func (*GetMarketDataHistoryByIDRequest) GetMarketId

func (x *GetMarketDataHistoryByIDRequest) GetMarketId() string

func (*GetMarketDataHistoryByIDRequest) GetPagination

func (x *GetMarketDataHistoryByIDRequest) GetPagination() *Pagination

func (*GetMarketDataHistoryByIDRequest) GetStartTimestamp

func (x *GetMarketDataHistoryByIDRequest) GetStartTimestamp() int64

func (*GetMarketDataHistoryByIDRequest) ProtoMessage

func (*GetMarketDataHistoryByIDRequest) ProtoMessage()

func (*GetMarketDataHistoryByIDRequest) ProtoReflect

func (*GetMarketDataHistoryByIDRequest) Reset

func (*GetMarketDataHistoryByIDRequest) String

type GetMarketDataHistoryByIDResponse

type GetMarketDataHistoryByIDResponse struct {
	MarketData []*vega.MarketData `protobuf:"bytes,1,rep,name=market_data,json=marketData,proto3" json:"market_data,omitempty"`
	// contains filtered or unexported fields
}

Response for Market Data History

func (*GetMarketDataHistoryByIDResponse) Descriptor deprecated

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

Deprecated: Use GetMarketDataHistoryByIDResponse.ProtoReflect.Descriptor instead.

func (*GetMarketDataHistoryByIDResponse) GetMarketData

func (x *GetMarketDataHistoryByIDResponse) GetMarketData() []*vega.MarketData

func (*GetMarketDataHistoryByIDResponse) ProtoMessage

func (*GetMarketDataHistoryByIDResponse) ProtoMessage()

func (*GetMarketDataHistoryByIDResponse) ProtoReflect

func (*GetMarketDataHistoryByIDResponse) Reset

func (*GetMarketDataHistoryByIDResponse) String

type GetNetworkLimitsRequest

type GetNetworkLimitsRequest struct {
	// contains filtered or unexported fields
}

Request for the current network limits

func (*GetNetworkLimitsRequest) Descriptor deprecated

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

Deprecated: Use GetNetworkLimitsRequest.ProtoReflect.Descriptor instead.

func (*GetNetworkLimitsRequest) ProtoMessage

func (*GetNetworkLimitsRequest) ProtoMessage()

func (*GetNetworkLimitsRequest) ProtoReflect

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

func (*GetNetworkLimitsRequest) Reset

func (x *GetNetworkLimitsRequest) Reset()

func (*GetNetworkLimitsRequest) String

func (x *GetNetworkLimitsRequest) String() string

type GetNetworkLimitsResponse

type GetNetworkLimitsResponse struct {
	Limits *vega.NetworkLimits `protobuf:"bytes,1,opt,name=limits,proto3" json:"limits,omitempty"`
	// contains filtered or unexported fields
}

Response for the current network limits

func (*GetNetworkLimitsResponse) Descriptor deprecated

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

Deprecated: Use GetNetworkLimitsResponse.ProtoReflect.Descriptor instead.

func (*GetNetworkLimitsResponse) GetLimits

func (*GetNetworkLimitsResponse) ProtoMessage

func (*GetNetworkLimitsResponse) ProtoMessage()

func (*GetNetworkLimitsResponse) ProtoReflect

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

func (*GetNetworkLimitsResponse) Reset

func (x *GetNetworkLimitsResponse) Reset()

func (*GetNetworkLimitsResponse) String

func (x *GetNetworkLimitsResponse) String() string

type IntervalToCandleId added in v0.49.3

type IntervalToCandleId struct {

	// The interval for the candle
	Interval string `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
	// The unique id of the candle
	CandleId string `protobuf:"bytes,2,opt,name=candle_id,json=candleId,proto3" json:"candle_id,omitempty"`
	// contains filtered or unexported fields
}

Maps an interval for a given market to its corresponding candle_id

func (*IntervalToCandleId) Descriptor deprecated added in v0.49.3

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

Deprecated: Use IntervalToCandleId.ProtoReflect.Descriptor instead.

func (*IntervalToCandleId) GetCandleId added in v0.49.3

func (x *IntervalToCandleId) GetCandleId() string

func (*IntervalToCandleId) GetInterval added in v0.49.3

func (x *IntervalToCandleId) GetInterval() string

func (*IntervalToCandleId) ProtoMessage added in v0.49.3

func (*IntervalToCandleId) ProtoMessage()

func (*IntervalToCandleId) ProtoReflect added in v0.49.3

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

func (*IntervalToCandleId) Reset added in v0.49.3

func (x *IntervalToCandleId) Reset()

func (*IntervalToCandleId) String added in v0.49.3

func (x *IntervalToCandleId) String() string

type OrderVersionsByIDRequest

type OrderVersionsByIDRequest struct {

	// Order identifier, required field
	OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// Pagination controls
	Pagination *Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

Request for a list of all versions of an order given the specified order identifier

func (*OrderVersionsByIDRequest) Descriptor deprecated

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

Deprecated: Use OrderVersionsByIDRequest.ProtoReflect.Descriptor instead.

func (*OrderVersionsByIDRequest) GetOrderId

func (x *OrderVersionsByIDRequest) GetOrderId() string

func (*OrderVersionsByIDRequest) GetPagination

func (x *OrderVersionsByIDRequest) GetPagination() *Pagination

func (*OrderVersionsByIDRequest) ProtoMessage

func (*OrderVersionsByIDRequest) ProtoMessage()

func (*OrderVersionsByIDRequest) ProtoReflect

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

func (*OrderVersionsByIDRequest) Reset

func (x *OrderVersionsByIDRequest) Reset()

func (*OrderVersionsByIDRequest) String

func (x *OrderVersionsByIDRequest) String() string

type OrderVersionsByIDResponse

type OrderVersionsByIDResponse struct {

	// A list of 0 or more orders (list will contain the same order but with different versions, if it has been amended)
	Orders []*vega.Order `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	// contains filtered or unexported fields
}

Response to a request for a list of all versions of an order

func (*OrderVersionsByIDResponse) Descriptor deprecated

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

Deprecated: Use OrderVersionsByIDResponse.ProtoReflect.Descriptor instead.

func (*OrderVersionsByIDResponse) GetOrders

func (x *OrderVersionsByIDResponse) GetOrders() []*vega.Order

func (*OrderVersionsByIDResponse) ProtoMessage

func (*OrderVersionsByIDResponse) ProtoMessage()

func (*OrderVersionsByIDResponse) ProtoReflect

func (*OrderVersionsByIDResponse) Reset

func (x *OrderVersionsByIDResponse) Reset()

func (*OrderVersionsByIDResponse) String

func (x *OrderVersionsByIDResponse) String() string

type OrdersByMarketRequest

type OrdersByMarketRequest struct {

	// Market identifier, required field
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Optional pagination controls
	Pagination *Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

Request for a list of orders for a market

func (*OrdersByMarketRequest) Descriptor deprecated

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

Deprecated: Use OrdersByMarketRequest.ProtoReflect.Descriptor instead.

func (*OrdersByMarketRequest) GetMarketId

func (x *OrdersByMarketRequest) GetMarketId() string

func (*OrdersByMarketRequest) GetPagination

func (x *OrdersByMarketRequest) GetPagination() *Pagination

func (*OrdersByMarketRequest) ProtoMessage

func (*OrdersByMarketRequest) ProtoMessage()

func (*OrdersByMarketRequest) ProtoReflect

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

func (*OrdersByMarketRequest) Reset

func (x *OrdersByMarketRequest) Reset()

func (*OrdersByMarketRequest) String

func (x *OrdersByMarketRequest) String() string

type OrdersByMarketResponse

type OrdersByMarketResponse struct {

	// A list of 0 or more orders
	Orders []*vega.Order `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	// contains filtered or unexported fields
}

Response for a list of orders for a market

func (*OrdersByMarketResponse) Descriptor deprecated

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

Deprecated: Use OrdersByMarketResponse.ProtoReflect.Descriptor instead.

func (*OrdersByMarketResponse) GetOrders

func (x *OrdersByMarketResponse) GetOrders() []*vega.Order

func (*OrdersByMarketResponse) ProtoMessage

func (*OrdersByMarketResponse) ProtoMessage()

func (*OrdersByMarketResponse) ProtoReflect

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

func (*OrdersByMarketResponse) Reset

func (x *OrdersByMarketResponse) Reset()

func (*OrdersByMarketResponse) String

func (x *OrdersByMarketResponse) String() string

type Pagination

type Pagination struct {

	// Skip the number of records specified, default is 0
	Skip uint64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"`
	// Limit the number of returned records to the value specified, default is 50
	Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// Descending reverses the order of the records returned,
	// default is true, if false the results will be returned in ascending order
	Descending bool `protobuf:"varint,3,opt,name=descending,proto3" json:"descending,omitempty"`
	// contains filtered or unexported fields
}

Pagination controls

func (*Pagination) Descriptor deprecated

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

Deprecated: Use Pagination.ProtoReflect.Descriptor instead.

func (*Pagination) GetDescending

func (x *Pagination) GetDescending() bool

func (*Pagination) GetLimit

func (x *Pagination) GetLimit() uint64

func (*Pagination) GetSkip

func (x *Pagination) GetSkip() uint64

func (*Pagination) ProtoMessage

func (*Pagination) ProtoMessage()

func (*Pagination) ProtoReflect

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

func (*Pagination) Reset

func (x *Pagination) Reset()

func (*Pagination) String

func (x *Pagination) String() string

type QueryBalanceHistoryRequest

type QueryBalanceHistoryRequest struct {

	// Limit the accounts considered according to the filter supplied
	Filter *AccountFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// By default the net balances of all the accounts specified by the filter are returned.
	// If a list if fields is given in group_by, split out those balances by the supplied crietera.
	GroupBy []AccountField `protobuf:"varint,2,rep,packed,name=group_by,json=groupBy,proto3,enum=datanode.api.v2.AccountField" json:"group_by,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryBalanceHistoryRequest) Descriptor deprecated

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

Deprecated: Use QueryBalanceHistoryRequest.ProtoReflect.Descriptor instead.

func (*QueryBalanceHistoryRequest) GetFilter

func (x *QueryBalanceHistoryRequest) GetFilter() *AccountFilter

func (*QueryBalanceHistoryRequest) GetGroupBy

func (x *QueryBalanceHistoryRequest) GetGroupBy() []AccountField

func (*QueryBalanceHistoryRequest) ProtoMessage

func (*QueryBalanceHistoryRequest) ProtoMessage()

func (*QueryBalanceHistoryRequest) ProtoReflect

func (*QueryBalanceHistoryRequest) Reset

func (x *QueryBalanceHistoryRequest) Reset()

func (*QueryBalanceHistoryRequest) String

func (x *QueryBalanceHistoryRequest) String() string

type QueryBalanceHistoryResponse

type QueryBalanceHistoryResponse struct {
	Balances []*AggregatedBalance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryBalanceHistoryResponse) Descriptor deprecated

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

Deprecated: Use QueryBalanceHistoryResponse.ProtoReflect.Descriptor instead.

func (*QueryBalanceHistoryResponse) GetBalances

func (x *QueryBalanceHistoryResponse) GetBalances() []*AggregatedBalance

func (*QueryBalanceHistoryResponse) ProtoMessage

func (*QueryBalanceHistoryResponse) ProtoMessage()

func (*QueryBalanceHistoryResponse) ProtoReflect

func (*QueryBalanceHistoryResponse) Reset

func (x *QueryBalanceHistoryResponse) Reset()

func (*QueryBalanceHistoryResponse) String

func (x *QueryBalanceHistoryResponse) String() string

type SubscribeToCandleDataRequest added in v0.49.3

type SubscribeToCandleDataRequest struct {

	// The unique identifier for the candle
	CandleId string `protobuf:"bytes,1,opt,name=candle_id,json=candleId,proto3" json:"candle_id,omitempty"`
	// contains filtered or unexported fields
}

Request to subscribe to a stream of (Candles)[#vega.Candle]

func (*SubscribeToCandleDataRequest) Descriptor deprecated added in v0.49.3

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

Deprecated: Use SubscribeToCandleDataRequest.ProtoReflect.Descriptor instead.

func (*SubscribeToCandleDataRequest) GetCandleId added in v0.49.3

func (x *SubscribeToCandleDataRequest) GetCandleId() string

func (*SubscribeToCandleDataRequest) ProtoMessage added in v0.49.3

func (*SubscribeToCandleDataRequest) ProtoMessage()

func (*SubscribeToCandleDataRequest) ProtoReflect added in v0.49.3

func (*SubscribeToCandleDataRequest) Reset added in v0.49.3

func (x *SubscribeToCandleDataRequest) Reset()

func (*SubscribeToCandleDataRequest) String added in v0.49.3

type SubscribeToCandleDataResponse added in v0.49.3

type SubscribeToCandleDataResponse struct {
	Candle *Candle `protobuf:"bytes,1,opt,name=candle,proto3" json:"candle,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscribeToCandleDataResponse) Descriptor deprecated added in v0.49.3

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

Deprecated: Use SubscribeToCandleDataResponse.ProtoReflect.Descriptor instead.

func (*SubscribeToCandleDataResponse) GetCandle added in v0.49.3

func (x *SubscribeToCandleDataResponse) GetCandle() *Candle

func (*SubscribeToCandleDataResponse) ProtoMessage added in v0.49.3

func (*SubscribeToCandleDataResponse) ProtoMessage()

func (*SubscribeToCandleDataResponse) ProtoReflect added in v0.49.3

func (*SubscribeToCandleDataResponse) Reset added in v0.49.3

func (x *SubscribeToCandleDataResponse) Reset()

func (*SubscribeToCandleDataResponse) String added in v0.49.3

type TradingDataServiceClient

type TradingDataServiceClient interface {
	// Get a list of Orders by Market
	OrdersByMarket(ctx context.Context, in *OrdersByMarketRequest, opts ...grpc.CallOption) (*OrdersByMarketResponse, error)
	// Get all versions of the order by its orderID
	OrderVersionsByID(ctx context.Context, in *OrderVersionsByIDRequest, opts ...grpc.CallOption) (*OrderVersionsByIDResponse, error)
	// Get an aggregated list of the changes in balances in a set of accounts over time
	QueryBalanceHistory(ctx context.Context, in *QueryBalanceHistoryRequest, opts ...grpc.CallOption) (*QueryBalanceHistoryResponse, error)
	// Get Market Data History for a Market ID between given dates
	GetMarketDataHistoryByID(ctx context.Context, in *GetMarketDataHistoryByIDRequest, opts ...grpc.CallOption) (*GetMarketDataHistoryByIDResponse, error)
	// Get the current network limits (is bootstrapping finished, are proposals enabled etc..)
	GetNetworkLimits(ctx context.Context, in *GetNetworkLimitsRequest, opts ...grpc.CallOption) (*GetNetworkLimitsResponse, error)
	// Get candle data for a given candle id
	GetCandleData(ctx context.Context, in *GetCandleDataRequest, opts ...grpc.CallOption) (*GetCandleDataResponse, error)
	// Subscribe to a stream of Candle updates
	SubscribeToCandleData(ctx context.Context, in *SubscribeToCandleDataRequest, opts ...grpc.CallOption) (TradingDataService_SubscribeToCandleDataClient, error)
	// Gets all available intervals for a given market along with the corresponding candle id
	GetCandlesForMarket(ctx context.Context, in *GetCandlesForMarketRequest, opts ...grpc.CallOption) (*GetCandlesForMarketResponse, error)
	// Gets the signature bundles that add a particular validator to the multisig contract
	GetERC20MultiSigSignerAddedBundles(ctx context.Context, in *GetERC20MultiSigSignerAddedBundlesRequest, opts ...grpc.CallOption) (*GetERC20MultiSigSignerAddedBundlesResponse, error)
	// Gets the signature bundles that remove a particular validator to the multisig contract
	GetERC20MultiSigSignerRemovedBundles(ctx context.Context, in *GetERC20MultiSigSignerRemovedBundlesRequest, opts ...grpc.CallOption) (*GetERC20MultiSigSignerRemovedBundlesResponse, error)
}

TradingDataServiceClient is the client API for TradingDataService 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 TradingDataServiceServer

type TradingDataServiceServer interface {
	// Get a list of Orders by Market
	OrdersByMarket(context.Context, *OrdersByMarketRequest) (*OrdersByMarketResponse, error)
	// Get all versions of the order by its orderID
	OrderVersionsByID(context.Context, *OrderVersionsByIDRequest) (*OrderVersionsByIDResponse, error)
	// Get an aggregated list of the changes in balances in a set of accounts over time
	QueryBalanceHistory(context.Context, *QueryBalanceHistoryRequest) (*QueryBalanceHistoryResponse, error)
	// Get Market Data History for a Market ID between given dates
	GetMarketDataHistoryByID(context.Context, *GetMarketDataHistoryByIDRequest) (*GetMarketDataHistoryByIDResponse, error)
	// Get the current network limits (is bootstrapping finished, are proposals enabled etc..)
	GetNetworkLimits(context.Context, *GetNetworkLimitsRequest) (*GetNetworkLimitsResponse, error)
	// Get candle data for a given candle id
	GetCandleData(context.Context, *GetCandleDataRequest) (*GetCandleDataResponse, error)
	// Subscribe to a stream of Candle updates
	SubscribeToCandleData(*SubscribeToCandleDataRequest, TradingDataService_SubscribeToCandleDataServer) error
	// Gets all available intervals for a given market along with the corresponding candle id
	GetCandlesForMarket(context.Context, *GetCandlesForMarketRequest) (*GetCandlesForMarketResponse, error)
	// Gets the signature bundles that add a particular validator to the multisig contract
	GetERC20MultiSigSignerAddedBundles(context.Context, *GetERC20MultiSigSignerAddedBundlesRequest) (*GetERC20MultiSigSignerAddedBundlesResponse, error)
	// Gets the signature bundles that remove a particular validator to the multisig contract
	GetERC20MultiSigSignerRemovedBundles(context.Context, *GetERC20MultiSigSignerRemovedBundlesRequest) (*GetERC20MultiSigSignerRemovedBundlesResponse, error)
	// contains filtered or unexported methods
}

TradingDataServiceServer is the server API for TradingDataService service. All implementations must embed UnimplementedTradingDataServiceServer for forward compatibility

type TradingDataService_SubscribeToCandleDataClient added in v0.49.3

type TradingDataService_SubscribeToCandleDataClient interface {
	Recv() (*SubscribeToCandleDataResponse, error)
	grpc.ClientStream
}

type TradingDataService_SubscribeToCandleDataServer added in v0.49.3

type TradingDataService_SubscribeToCandleDataServer interface {
	Send(*SubscribeToCandleDataResponse) error
	grpc.ServerStream
}

type UnimplementedTradingDataServiceServer

type UnimplementedTradingDataServiceServer struct {
}

UnimplementedTradingDataServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTradingDataServiceServer) GetCandleData added in v0.49.3

func (UnimplementedTradingDataServiceServer) GetCandlesForMarket added in v0.49.3

func (UnimplementedTradingDataServiceServer) GetERC20MultiSigSignerAddedBundles added in v0.50.2

func (UnimplementedTradingDataServiceServer) GetERC20MultiSigSignerRemovedBundles added in v0.50.2

func (UnimplementedTradingDataServiceServer) GetNetworkLimits

func (UnimplementedTradingDataServiceServer) OrderVersionsByID

func (UnimplementedTradingDataServiceServer) OrdersByMarket

func (UnimplementedTradingDataServiceServer) QueryBalanceHistory

func (UnimplementedTradingDataServiceServer) SubscribeToCandleData added in v0.49.3

type UnsafeTradingDataServiceServer

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

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

Jump to

Keyboard shortcuts

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