injective_accounts_rpcpb

package
v1.43.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 15 Imported by: 6

Documentation

Overview

Package injective_accounts_rpcpb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_injective_accounts_rpc_proto protoreflect.FileDescriptor
View Source
var InjectiveAccountsRPC_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "injective_accounts_rpc.InjectiveAccountsRPC",
	HandlerType: (*InjectiveAccountsRPCServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Portfolio",
			Handler:    _InjectiveAccountsRPC_Portfolio_Handler,
		},
		{
			MethodName: "OrderStates",
			Handler:    _InjectiveAccountsRPC_OrderStates_Handler,
		},
		{
			MethodName: "SubaccountsList",
			Handler:    _InjectiveAccountsRPC_SubaccountsList_Handler,
		},
		{
			MethodName: "SubaccountBalancesList",
			Handler:    _InjectiveAccountsRPC_SubaccountBalancesList_Handler,
		},
		{
			MethodName: "SubaccountBalanceEndpoint",
			Handler:    _InjectiveAccountsRPC_SubaccountBalanceEndpoint_Handler,
		},
		{
			MethodName: "SubaccountHistory",
			Handler:    _InjectiveAccountsRPC_SubaccountHistory_Handler,
		},
		{
			MethodName: "SubaccountOrderSummary",
			Handler:    _InjectiveAccountsRPC_SubaccountOrderSummary_Handler,
		},
		{
			MethodName: "Rewards",
			Handler:    _InjectiveAccountsRPC_Rewards_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamSubaccountBalance",
			Handler:       _InjectiveAccountsRPC_StreamSubaccountBalance_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "injective_accounts_rpc.proto",
}

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

Functions

func RegisterInjectiveAccountsRPCHandler added in v1.32.1

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

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

func RegisterInjectiveAccountsRPCHandlerClient added in v1.32.1

func RegisterInjectiveAccountsRPCHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InjectiveAccountsRPCClient) error

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

func RegisterInjectiveAccountsRPCHandlerFromEndpoint added in v1.32.1

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

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

func RegisterInjectiveAccountsRPCHandlerServer added in v1.32.1

func RegisterInjectiveAccountsRPCHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InjectiveAccountsRPCServer) error

RegisterInjectiveAccountsRPCHandlerServer registers the http handlers for service InjectiveAccountsRPC to "mux". UnaryRPC :call InjectiveAccountsRPCServer 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 RegisterInjectiveAccountsRPCHandlerFromEndpoint instead.

func RegisterInjectiveAccountsRPCServer

func RegisterInjectiveAccountsRPCServer(s grpc.ServiceRegistrar, srv InjectiveAccountsRPCServer)

Types

type AccountPortfolio added in v1.27.5

type AccountPortfolio struct {

	// The account's portfolio value in USD.
	PortfolioValue string `protobuf:"bytes,1,opt,name=portfolio_value,json=portfolioValue,proto3" json:"portfolio_value,omitempty"`
	// The account's available balance value in USD.
	AvailableBalance string `protobuf:"bytes,2,opt,name=available_balance,json=availableBalance,proto3" json:"available_balance,omitempty"`
	// The account's locked balance value in USD.
	LockedBalance string `protobuf:"bytes,3,opt,name=locked_balance,json=lockedBalance,proto3" json:"locked_balance,omitempty"`
	// The account's total unrealized PnL value in USD.
	UnrealizedPnl string `protobuf:"bytes,4,opt,name=unrealized_pnl,json=unrealizedPnl,proto3" json:"unrealized_pnl,omitempty"`
	// List of all subaccounts' portfolio
	Subaccounts []*SubaccountPortfolio `protobuf:"bytes,5,rep,name=subaccounts,proto3" json:"subaccounts,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountPortfolio) Descriptor deprecated added in v1.27.5

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

Deprecated: Use AccountPortfolio.ProtoReflect.Descriptor instead.

func (*AccountPortfolio) GetAvailableBalance added in v1.27.5

func (x *AccountPortfolio) GetAvailableBalance() string

func (*AccountPortfolio) GetLockedBalance added in v1.27.5

func (x *AccountPortfolio) GetLockedBalance() string

func (*AccountPortfolio) GetPortfolioValue added in v1.27.5

func (x *AccountPortfolio) GetPortfolioValue() string

func (*AccountPortfolio) GetSubaccounts added in v1.27.5

func (x *AccountPortfolio) GetSubaccounts() []*SubaccountPortfolio

func (*AccountPortfolio) GetUnrealizedPnl added in v1.27.5

func (x *AccountPortfolio) GetUnrealizedPnl() string

func (*AccountPortfolio) ProtoMessage added in v1.27.5

func (*AccountPortfolio) ProtoMessage()

func (*AccountPortfolio) ProtoReflect added in v1.27.5

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

func (*AccountPortfolio) Reset added in v1.27.5

func (x *AccountPortfolio) Reset()

func (*AccountPortfolio) String added in v1.27.5

func (x *AccountPortfolio) String() string

type Coin added in v1.32.0

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.32.0

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

Deprecated: Use Coin.ProtoReflect.Descriptor instead.

func (*Coin) GetAmount added in v1.32.0

func (x *Coin) GetAmount() string

func (*Coin) GetDenom added in v1.32.0

func (x *Coin) GetDenom() string

func (*Coin) ProtoMessage added in v1.32.0

func (*Coin) ProtoMessage()

func (*Coin) ProtoReflect added in v1.32.0

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

func (*Coin) Reset added in v1.32.0

func (x *Coin) Reset()

func (*Coin) String added in v1.32.0

func (x *Coin) String() string

type CosmosCoin

type CosmosCoin struct {

	// Coin denominator
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// Coin amount (big int)
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*CosmosCoin) Descriptor deprecated

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

Deprecated: Use CosmosCoin.ProtoReflect.Descriptor instead.

func (*CosmosCoin) GetAmount

func (x *CosmosCoin) GetAmount() string

func (*CosmosCoin) GetDenom

func (x *CosmosCoin) GetDenom() string

func (*CosmosCoin) ProtoMessage

func (*CosmosCoin) ProtoMessage()

func (*CosmosCoin) ProtoReflect

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

func (*CosmosCoin) Reset

func (x *CosmosCoin) Reset()

func (*CosmosCoin) String

func (x *CosmosCoin) String() string

type InjectiveAccountsRPCClient

type InjectiveAccountsRPCClient interface {
	// Provide the account's portfolio value in USD.
	Portfolio(ctx context.Context, in *PortfolioRequest, opts ...grpc.CallOption) (*PortfolioResponse, error)
	// List order states by order hashes
	OrderStates(ctx context.Context, in *OrderStatesRequest, opts ...grpc.CallOption) (*OrderStatesResponse, error)
	// List all subaccounts IDs of an account address
	SubaccountsList(ctx context.Context, in *SubaccountsListRequest, opts ...grpc.CallOption) (*SubaccountsListResponse, error)
	// List subaccount balances for the provided denoms.
	SubaccountBalancesList(ctx context.Context, in *SubaccountBalancesListRequest, opts ...grpc.CallOption) (*SubaccountBalancesListResponse, error)
	// Gets a balance for specific coin denom
	SubaccountBalanceEndpoint(ctx context.Context, in *SubaccountBalanceRequest, opts ...grpc.CallOption) (*SubaccountBalanceResponse, error)
	// StreamSubaccountBalance streams new balance changes for a specified
	// subaccount and denoms. If no denoms are provided, all denom changes are
	// streamed.
	StreamSubaccountBalance(ctx context.Context, in *StreamSubaccountBalanceRequest, opts ...grpc.CallOption) (InjectiveAccountsRPC_StreamSubaccountBalanceClient, error)
	// Get subaccount's deposits and withdrawals history
	SubaccountHistory(ctx context.Context, in *SubaccountHistoryRequest, opts ...grpc.CallOption) (*SubaccountHistoryResponse, error)
	// Get subaccount's orders summary
	SubaccountOrderSummary(ctx context.Context, in *SubaccountOrderSummaryRequest, opts ...grpc.CallOption) (*SubaccountOrderSummaryResponse, error)
	// Provide historical trading rewards
	Rewards(ctx context.Context, in *RewardsRequest, opts ...grpc.CallOption) (*RewardsResponse, error)
}

InjectiveAccountsRPCClient is the client API for InjectiveAccountsRPC 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 InjectiveAccountsRPCServer

type InjectiveAccountsRPCServer interface {
	// Provide the account's portfolio value in USD.
	Portfolio(context.Context, *PortfolioRequest) (*PortfolioResponse, error)
	// List order states by order hashes
	OrderStates(context.Context, *OrderStatesRequest) (*OrderStatesResponse, error)
	// List all subaccounts IDs of an account address
	SubaccountsList(context.Context, *SubaccountsListRequest) (*SubaccountsListResponse, error)
	// List subaccount balances for the provided denoms.
	SubaccountBalancesList(context.Context, *SubaccountBalancesListRequest) (*SubaccountBalancesListResponse, error)
	// Gets a balance for specific coin denom
	SubaccountBalanceEndpoint(context.Context, *SubaccountBalanceRequest) (*SubaccountBalanceResponse, error)
	// StreamSubaccountBalance streams new balance changes for a specified
	// subaccount and denoms. If no denoms are provided, all denom changes are
	// streamed.
	StreamSubaccountBalance(*StreamSubaccountBalanceRequest, InjectiveAccountsRPC_StreamSubaccountBalanceServer) error
	// Get subaccount's deposits and withdrawals history
	SubaccountHistory(context.Context, *SubaccountHistoryRequest) (*SubaccountHistoryResponse, error)
	// Get subaccount's orders summary
	SubaccountOrderSummary(context.Context, *SubaccountOrderSummaryRequest) (*SubaccountOrderSummaryResponse, error)
	// Provide historical trading rewards
	Rewards(context.Context, *RewardsRequest) (*RewardsResponse, error)
	// contains filtered or unexported methods
}

InjectiveAccountsRPCServer is the server API for InjectiveAccountsRPC service. All implementations must embed UnimplementedInjectiveAccountsRPCServer for forward compatibility

type InjectiveAccountsRPC_StreamSubaccountBalanceClient

type InjectiveAccountsRPC_StreamSubaccountBalanceClient interface {
	Recv() (*StreamSubaccountBalanceResponse, error)
	grpc.ClientStream
}

type InjectiveAccountsRPC_StreamSubaccountBalanceServer

type InjectiveAccountsRPC_StreamSubaccountBalanceServer interface {
	Send(*StreamSubaccountBalanceResponse) error
	grpc.ServerStream
}

type OrderStateRecord added in v1.32.0

type OrderStateRecord struct {

	// Hash of the order
	OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
	// The subaccountId that this order belongs to
	SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// The Market ID of the order
	MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// The type of the order
	OrderType string `protobuf:"bytes,4,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
	// The side of the order
	OrderSide string `protobuf:"bytes,5,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
	// The state (status) of the order
	State string `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"`
	// The filled quantity of the order
	QuantityFilled string `protobuf:"bytes,7,opt,name=quantity_filled,json=quantityFilled,proto3" json:"quantity_filled,omitempty"`
	// The filled quantity of the order
	QuantityRemaining string `protobuf:"bytes,8,opt,name=quantity_remaining,json=quantityRemaining,proto3" json:"quantity_remaining,omitempty"`
	// Order committed timestamp in UNIX millis.
	CreatedAt int64 `protobuf:"zigzag64,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Order updated timestamp in UNIX millis.
	UpdatedAt int64 `protobuf:"zigzag64,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderStateRecord) Descriptor deprecated added in v1.32.0

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

Deprecated: Use OrderStateRecord.ProtoReflect.Descriptor instead.

func (*OrderStateRecord) GetCreatedAt added in v1.32.0

func (x *OrderStateRecord) GetCreatedAt() int64

func (*OrderStateRecord) GetMarketId added in v1.32.0

func (x *OrderStateRecord) GetMarketId() string

func (*OrderStateRecord) GetOrderHash added in v1.32.0

func (x *OrderStateRecord) GetOrderHash() string

func (*OrderStateRecord) GetOrderSide added in v1.32.0

func (x *OrderStateRecord) GetOrderSide() string

func (*OrderStateRecord) GetOrderType added in v1.32.0

func (x *OrderStateRecord) GetOrderType() string

func (*OrderStateRecord) GetQuantityFilled added in v1.32.0

func (x *OrderStateRecord) GetQuantityFilled() string

func (*OrderStateRecord) GetQuantityRemaining added in v1.32.0

func (x *OrderStateRecord) GetQuantityRemaining() string

func (*OrderStateRecord) GetState added in v1.32.0

func (x *OrderStateRecord) GetState() string

func (*OrderStateRecord) GetSubaccountId added in v1.32.0

func (x *OrderStateRecord) GetSubaccountId() string

func (*OrderStateRecord) GetUpdatedAt added in v1.32.0

func (x *OrderStateRecord) GetUpdatedAt() int64

func (*OrderStateRecord) ProtoMessage added in v1.32.0

func (*OrderStateRecord) ProtoMessage()

func (*OrderStateRecord) ProtoReflect added in v1.32.0

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

func (*OrderStateRecord) Reset added in v1.32.0

func (x *OrderStateRecord) Reset()

func (*OrderStateRecord) String added in v1.32.0

func (x *OrderStateRecord) String() string

type OrderStatesRequest added in v1.32.0

type OrderStatesRequest struct {
	SpotOrderHashes       []string `protobuf:"bytes,1,rep,name=spot_order_hashes,json=spotOrderHashes,proto3" json:"spot_order_hashes,omitempty"`
	DerivativeOrderHashes []string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OrderStatesRequest) Descriptor deprecated added in v1.32.0

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

Deprecated: Use OrderStatesRequest.ProtoReflect.Descriptor instead.

func (*OrderStatesRequest) GetDerivativeOrderHashes added in v1.32.0

func (x *OrderStatesRequest) GetDerivativeOrderHashes() []string

func (*OrderStatesRequest) GetSpotOrderHashes added in v1.32.0

func (x *OrderStatesRequest) GetSpotOrderHashes() []string

func (*OrderStatesRequest) ProtoMessage added in v1.32.0

func (*OrderStatesRequest) ProtoMessage()

func (*OrderStatesRequest) ProtoReflect added in v1.32.0

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

func (*OrderStatesRequest) Reset added in v1.32.0

func (x *OrderStatesRequest) Reset()

func (*OrderStatesRequest) String added in v1.32.0

func (x *OrderStatesRequest) String() string

type OrderStatesResponse added in v1.32.0

type OrderStatesResponse struct {

	// List of the spot order state records
	SpotOrderStates []*OrderStateRecord `protobuf:"bytes,1,rep,name=spot_order_states,json=spotOrderStates,proto3" json:"spot_order_states,omitempty"`
	// List of the derivative order state records
	DerivativeOrderStates []*OrderStateRecord `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OrderStatesResponse) Descriptor deprecated added in v1.32.0

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

Deprecated: Use OrderStatesResponse.ProtoReflect.Descriptor instead.

func (*OrderStatesResponse) GetDerivativeOrderStates added in v1.32.0

func (x *OrderStatesResponse) GetDerivativeOrderStates() []*OrderStateRecord

func (*OrderStatesResponse) GetSpotOrderStates added in v1.32.0

func (x *OrderStatesResponse) GetSpotOrderStates() []*OrderStateRecord

func (*OrderStatesResponse) ProtoMessage added in v1.32.0

func (*OrderStatesResponse) ProtoMessage()

func (*OrderStatesResponse) ProtoReflect added in v1.32.0

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

func (*OrderStatesResponse) Reset added in v1.32.0

func (x *OrderStatesResponse) Reset()

func (*OrderStatesResponse) String added in v1.32.0

func (x *OrderStatesResponse) String() string

type PortfolioRequest added in v1.27.5

type PortfolioRequest struct {

	// Account address
	AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	// contains filtered or unexported fields
}

func (*PortfolioRequest) Descriptor deprecated added in v1.27.5

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

Deprecated: Use PortfolioRequest.ProtoReflect.Descriptor instead.

func (*PortfolioRequest) GetAccountAddress added in v1.27.5

func (x *PortfolioRequest) GetAccountAddress() string

func (*PortfolioRequest) ProtoMessage added in v1.27.5

func (*PortfolioRequest) ProtoMessage()

func (*PortfolioRequest) ProtoReflect added in v1.27.5

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

func (*PortfolioRequest) Reset added in v1.27.5

func (x *PortfolioRequest) Reset()

func (*PortfolioRequest) String added in v1.27.5

func (x *PortfolioRequest) String() string

type PortfolioResponse added in v1.27.5

type PortfolioResponse struct {

	// The portfolio of this account
	Portfolio *AccountPortfolio `protobuf:"bytes,1,opt,name=portfolio,proto3" json:"portfolio,omitempty"`
	// contains filtered or unexported fields
}

func (*PortfolioResponse) Descriptor deprecated added in v1.27.5

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

Deprecated: Use PortfolioResponse.ProtoReflect.Descriptor instead.

func (*PortfolioResponse) GetPortfolio added in v1.27.5

func (x *PortfolioResponse) GetPortfolio() *AccountPortfolio

func (*PortfolioResponse) ProtoMessage added in v1.27.5

func (*PortfolioResponse) ProtoMessage()

func (*PortfolioResponse) ProtoReflect added in v1.27.5

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

func (*PortfolioResponse) Reset added in v1.27.5

func (x *PortfolioResponse) Reset()

func (*PortfolioResponse) String added in v1.27.5

func (x *PortfolioResponse) String() string

type Reward added in v1.32.0

type Reward struct {

	// Account address
	AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	// Reward coins distributed
	Rewards []*Coin `protobuf:"bytes,2,rep,name=rewards,proto3" json:"rewards,omitempty"`
	// Rewards distribution timestamp in UNIX millis.
	DistributedAt int64 `protobuf:"zigzag64,3,opt,name=distributed_at,json=distributedAt,proto3" json:"distributed_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Reward) Descriptor deprecated added in v1.32.0

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

Deprecated: Use Reward.ProtoReflect.Descriptor instead.

func (*Reward) GetAccountAddress added in v1.32.0

func (x *Reward) GetAccountAddress() string

func (*Reward) GetDistributedAt added in v1.32.0

func (x *Reward) GetDistributedAt() int64

func (*Reward) GetRewards added in v1.32.0

func (x *Reward) GetRewards() []*Coin

func (*Reward) ProtoMessage added in v1.32.0

func (*Reward) ProtoMessage()

func (*Reward) ProtoReflect added in v1.32.0

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

func (*Reward) Reset added in v1.32.0

func (x *Reward) Reset()

func (*Reward) String added in v1.32.0

func (x *Reward) String() string

type RewardsRequest added in v1.32.0

type RewardsRequest struct {

	// The distribution epoch sequence number. -1 for latest.
	Epoch int64 `protobuf:"zigzag64,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	// Account address for the rewards distribution
	AccountAddress string `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	// contains filtered or unexported fields
}

func (*RewardsRequest) Descriptor deprecated added in v1.32.0

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

Deprecated: Use RewardsRequest.ProtoReflect.Descriptor instead.

func (*RewardsRequest) GetAccountAddress added in v1.32.0

func (x *RewardsRequest) GetAccountAddress() string

func (*RewardsRequest) GetEpoch added in v1.32.0

func (x *RewardsRequest) GetEpoch() int64

func (*RewardsRequest) ProtoMessage added in v1.32.0

func (*RewardsRequest) ProtoMessage()

func (*RewardsRequest) ProtoReflect added in v1.32.0

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

func (*RewardsRequest) Reset added in v1.32.0

func (x *RewardsRequest) Reset()

func (*RewardsRequest) String added in v1.32.0

func (x *RewardsRequest) String() string

type RewardsResponse added in v1.32.0

type RewardsResponse struct {

	// The trading rewards distributed
	Rewards []*Reward `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"`
	// contains filtered or unexported fields
}

func (*RewardsResponse) Descriptor deprecated added in v1.32.0

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

Deprecated: Use RewardsResponse.ProtoReflect.Descriptor instead.

func (*RewardsResponse) GetRewards added in v1.32.0

func (x *RewardsResponse) GetRewards() []*Reward

func (*RewardsResponse) ProtoMessage added in v1.32.0

func (*RewardsResponse) ProtoMessage()

func (*RewardsResponse) ProtoReflect added in v1.32.0

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

func (*RewardsResponse) Reset added in v1.32.0

func (x *RewardsResponse) Reset()

func (*RewardsResponse) String added in v1.32.0

func (x *RewardsResponse) String() string

type StreamSubaccountBalanceRequest

type StreamSubaccountBalanceRequest 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 balances by denoms. If not set, the balances of all the denoms for
	// the subaccount are provided.
	Denoms []string `protobuf:"bytes,2,rep,name=denoms,proto3" json:"denoms,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamSubaccountBalanceRequest) Descriptor deprecated

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

Deprecated: Use StreamSubaccountBalanceRequest.ProtoReflect.Descriptor instead.

func (*StreamSubaccountBalanceRequest) GetDenoms

func (x *StreamSubaccountBalanceRequest) GetDenoms() []string

func (*StreamSubaccountBalanceRequest) GetSubaccountId

func (x *StreamSubaccountBalanceRequest) GetSubaccountId() string

func (*StreamSubaccountBalanceRequest) ProtoMessage

func (*StreamSubaccountBalanceRequest) ProtoMessage()

func (*StreamSubaccountBalanceRequest) ProtoReflect

func (*StreamSubaccountBalanceRequest) Reset

func (x *StreamSubaccountBalanceRequest) Reset()

func (*StreamSubaccountBalanceRequest) String

type StreamSubaccountBalanceResponse

type StreamSubaccountBalanceResponse struct {

	// Subaccount balance
	Balance *SubaccountBalance `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	// Operation timestamp in UNIX millis.
	Timestamp int64 `protobuf:"zigzag64,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamSubaccountBalanceResponse) Descriptor deprecated

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

Deprecated: Use StreamSubaccountBalanceResponse.ProtoReflect.Descriptor instead.

func (*StreamSubaccountBalanceResponse) GetBalance

func (*StreamSubaccountBalanceResponse) GetTimestamp

func (x *StreamSubaccountBalanceResponse) GetTimestamp() int64

func (*StreamSubaccountBalanceResponse) ProtoMessage

func (*StreamSubaccountBalanceResponse) ProtoMessage()

func (*StreamSubaccountBalanceResponse) ProtoReflect

func (*StreamSubaccountBalanceResponse) Reset

func (*StreamSubaccountBalanceResponse) String

type SubaccountBalance

type SubaccountBalance struct {

	// Related subaccount ID
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// Account address, owner of this subaccount
	AccountAddress string `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	// Coin denom on the chain.
	Denom   string             `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	Deposit *SubaccountDeposit `protobuf:"bytes,4,opt,name=deposit,proto3" json:"deposit,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountBalance) Descriptor deprecated

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

Deprecated: Use SubaccountBalance.ProtoReflect.Descriptor instead.

func (*SubaccountBalance) GetAccountAddress

func (x *SubaccountBalance) GetAccountAddress() string

func (*SubaccountBalance) GetDenom

func (x *SubaccountBalance) GetDenom() string

func (*SubaccountBalance) GetDeposit

func (x *SubaccountBalance) GetDeposit() *SubaccountDeposit

func (*SubaccountBalance) GetSubaccountId

func (x *SubaccountBalance) GetSubaccountId() string

func (*SubaccountBalance) ProtoMessage

func (*SubaccountBalance) ProtoMessage()

func (*SubaccountBalance) ProtoReflect

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

func (*SubaccountBalance) Reset

func (x *SubaccountBalance) Reset()

func (*SubaccountBalance) String

func (x *SubaccountBalance) String() string

type SubaccountBalanceRequest

type SubaccountBalanceRequest 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"`
	// Specify denom to get balance
	Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountBalanceRequest) Descriptor deprecated

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

Deprecated: Use SubaccountBalanceRequest.ProtoReflect.Descriptor instead.

func (*SubaccountBalanceRequest) GetDenom

func (x *SubaccountBalanceRequest) GetDenom() string

func (*SubaccountBalanceRequest) GetSubaccountId

func (x *SubaccountBalanceRequest) GetSubaccountId() string

func (*SubaccountBalanceRequest) ProtoMessage

func (*SubaccountBalanceRequest) ProtoMessage()

func (*SubaccountBalanceRequest) ProtoReflect

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

func (*SubaccountBalanceRequest) Reset

func (x *SubaccountBalanceRequest) Reset()

func (*SubaccountBalanceRequest) String

func (x *SubaccountBalanceRequest) String() string

type SubaccountBalanceResponse

type SubaccountBalanceResponse struct {

	// Subaccount balance
	Balance *SubaccountBalance `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountBalanceResponse) Descriptor deprecated

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

Deprecated: Use SubaccountBalanceResponse.ProtoReflect.Descriptor instead.

func (*SubaccountBalanceResponse) GetBalance

func (*SubaccountBalanceResponse) ProtoMessage

func (*SubaccountBalanceResponse) ProtoMessage()

func (*SubaccountBalanceResponse) ProtoReflect

func (*SubaccountBalanceResponse) Reset

func (x *SubaccountBalanceResponse) Reset()

func (*SubaccountBalanceResponse) String

func (x *SubaccountBalanceResponse) String() string

type SubaccountBalanceTransfer

type SubaccountBalanceTransfer struct {

	// Type of the subaccount balance transfer
	TransferType string `protobuf:"bytes,1,opt,name=transfer_type,json=transferType,proto3" json:"transfer_type,omitempty"`
	// Subaccount ID of the sending side
	SrcSubaccountId string `protobuf:"bytes,2,opt,name=src_subaccount_id,json=srcSubaccountId,proto3" json:"src_subaccount_id,omitempty"`
	// Account address of the sending side
	SrcAccountAddress string `protobuf:"bytes,3,opt,name=src_account_address,json=srcAccountAddress,proto3" json:"src_account_address,omitempty"`
	// Subaccount ID of the receiving side
	DstSubaccountId string `protobuf:"bytes,4,opt,name=dst_subaccount_id,json=dstSubaccountId,proto3" json:"dst_subaccount_id,omitempty"`
	// Account address of the receiving side
	DstAccountAddress string `protobuf:"bytes,5,opt,name=dst_account_address,json=dstAccountAddress,proto3" json:"dst_account_address,omitempty"`
	// Coin amount of the transfer
	Amount *CosmosCoin `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"`
	// Timestamp of the transfer in UNIX millis
	ExecutedAt int64 `protobuf:"zigzag64,7,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountBalanceTransfer) Descriptor deprecated

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

Deprecated: Use SubaccountBalanceTransfer.ProtoReflect.Descriptor instead.

func (*SubaccountBalanceTransfer) GetAmount

func (x *SubaccountBalanceTransfer) GetAmount() *CosmosCoin

func (*SubaccountBalanceTransfer) GetDstAccountAddress

func (x *SubaccountBalanceTransfer) GetDstAccountAddress() string

func (*SubaccountBalanceTransfer) GetDstSubaccountId

func (x *SubaccountBalanceTransfer) GetDstSubaccountId() string

func (*SubaccountBalanceTransfer) GetExecutedAt

func (x *SubaccountBalanceTransfer) GetExecutedAt() int64

func (*SubaccountBalanceTransfer) GetSrcAccountAddress

func (x *SubaccountBalanceTransfer) GetSrcAccountAddress() string

func (*SubaccountBalanceTransfer) GetSrcSubaccountId

func (x *SubaccountBalanceTransfer) GetSrcSubaccountId() string

func (*SubaccountBalanceTransfer) GetTransferType

func (x *SubaccountBalanceTransfer) GetTransferType() string

func (*SubaccountBalanceTransfer) ProtoMessage

func (*SubaccountBalanceTransfer) ProtoMessage()

func (*SubaccountBalanceTransfer) ProtoReflect

func (*SubaccountBalanceTransfer) Reset

func (x *SubaccountBalanceTransfer) Reset()

func (*SubaccountBalanceTransfer) String

func (x *SubaccountBalanceTransfer) String() string

type SubaccountBalancesListRequest

type SubaccountBalancesListRequest 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 balances by denoms. If not set, the balances of all the denoms for
	// the subaccount are provided.
	Denoms []string `protobuf:"bytes,2,rep,name=denoms,proto3" json:"denoms,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountBalancesListRequest) Descriptor deprecated

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

Deprecated: Use SubaccountBalancesListRequest.ProtoReflect.Descriptor instead.

func (*SubaccountBalancesListRequest) GetDenoms

func (x *SubaccountBalancesListRequest) GetDenoms() []string

func (*SubaccountBalancesListRequest) GetSubaccountId

func (x *SubaccountBalancesListRequest) GetSubaccountId() string

func (*SubaccountBalancesListRequest) ProtoMessage

func (*SubaccountBalancesListRequest) ProtoMessage()

func (*SubaccountBalancesListRequest) ProtoReflect

func (*SubaccountBalancesListRequest) Reset

func (x *SubaccountBalancesListRequest) Reset()

func (*SubaccountBalancesListRequest) String

type SubaccountBalancesListResponse

type SubaccountBalancesListResponse struct {

	// List of subaccount balances
	Balances []*SubaccountBalance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountBalancesListResponse) Descriptor deprecated

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

Deprecated: Use SubaccountBalancesListResponse.ProtoReflect.Descriptor instead.

func (*SubaccountBalancesListResponse) GetBalances

func (*SubaccountBalancesListResponse) ProtoMessage

func (*SubaccountBalancesListResponse) ProtoMessage()

func (*SubaccountBalancesListResponse) ProtoReflect

func (*SubaccountBalancesListResponse) Reset

func (x *SubaccountBalancesListResponse) Reset()

func (*SubaccountBalancesListResponse) String

type SubaccountDeposit

type SubaccountDeposit struct {
	TotalBalance     string `protobuf:"bytes,1,opt,name=total_balance,json=totalBalance,proto3" json:"total_balance,omitempty"`
	AvailableBalance string `protobuf:"bytes,2,opt,name=available_balance,json=availableBalance,proto3" json:"available_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountDeposit) Descriptor deprecated

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

Deprecated: Use SubaccountDeposit.ProtoReflect.Descriptor instead.

func (*SubaccountDeposit) GetAvailableBalance

func (x *SubaccountDeposit) GetAvailableBalance() string

func (*SubaccountDeposit) GetTotalBalance

func (x *SubaccountDeposit) GetTotalBalance() string

func (*SubaccountDeposit) ProtoMessage

func (*SubaccountDeposit) ProtoMessage()

func (*SubaccountDeposit) ProtoReflect

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

func (*SubaccountDeposit) Reset

func (x *SubaccountDeposit) Reset()

func (*SubaccountDeposit) String

func (x *SubaccountDeposit) String() string

type SubaccountHistoryRequest

type SubaccountHistoryRequest struct {

	// SubaccountId of the trader we want to get the history from
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// Filter history by denom
	Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	// Filter history by transfer type
	TransferTypes []string `protobuf:"bytes,3,rep,name=transfer_types,json=transferTypes,proto3" json:"transfer_types,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"`
	// contains filtered or unexported fields
}

func (*SubaccountHistoryRequest) Descriptor deprecated

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

Deprecated: Use SubaccountHistoryRequest.ProtoReflect.Descriptor instead.

func (*SubaccountHistoryRequest) GetDenom

func (x *SubaccountHistoryRequest) GetDenom() string

func (*SubaccountHistoryRequest) GetLimit added in v1.38.3

func (x *SubaccountHistoryRequest) GetLimit() int32

func (*SubaccountHistoryRequest) GetSkip added in v1.38.3

func (x *SubaccountHistoryRequest) GetSkip() uint64

func (*SubaccountHistoryRequest) GetSubaccountId

func (x *SubaccountHistoryRequest) GetSubaccountId() string

func (*SubaccountHistoryRequest) GetTransferTypes

func (x *SubaccountHistoryRequest) GetTransferTypes() []string

func (*SubaccountHistoryRequest) ProtoMessage

func (*SubaccountHistoryRequest) ProtoMessage()

func (*SubaccountHistoryRequest) ProtoReflect

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

func (*SubaccountHistoryRequest) Reset

func (x *SubaccountHistoryRequest) Reset()

func (*SubaccountHistoryRequest) String

func (x *SubaccountHistoryRequest) String() string

type SubaccountHistoryResponse

type SubaccountHistoryResponse struct {

	// List of subaccount transfers
	Transfers []*SubaccountBalanceTransfer `protobuf:"bytes,1,rep,name=transfers,proto3" json:"transfers,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountHistoryResponse) Descriptor deprecated

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

Deprecated: Use SubaccountHistoryResponse.ProtoReflect.Descriptor instead.

func (*SubaccountHistoryResponse) GetTransfers

func (*SubaccountHistoryResponse) ProtoMessage

func (*SubaccountHistoryResponse) ProtoMessage()

func (*SubaccountHistoryResponse) ProtoReflect

func (*SubaccountHistoryResponse) Reset

func (x *SubaccountHistoryResponse) Reset()

func (*SubaccountHistoryResponse) String

func (x *SubaccountHistoryResponse) String() string

type SubaccountOrderSummaryRequest

type SubaccountOrderSummaryRequest struct {

	// SubaccountId of the trader we want to get the summary from
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// MarketId is limiting order summary to specific market only
	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Filter by direction of the orders
	OrderDirection string `protobuf:"bytes,3,opt,name=order_direction,json=orderDirection,proto3" json:"order_direction,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountOrderSummaryRequest) Descriptor deprecated

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

Deprecated: Use SubaccountOrderSummaryRequest.ProtoReflect.Descriptor instead.

func (*SubaccountOrderSummaryRequest) GetMarketId

func (x *SubaccountOrderSummaryRequest) GetMarketId() string

func (*SubaccountOrderSummaryRequest) GetOrderDirection

func (x *SubaccountOrderSummaryRequest) GetOrderDirection() string

func (*SubaccountOrderSummaryRequest) GetSubaccountId

func (x *SubaccountOrderSummaryRequest) GetSubaccountId() string

func (*SubaccountOrderSummaryRequest) ProtoMessage

func (*SubaccountOrderSummaryRequest) ProtoMessage()

func (*SubaccountOrderSummaryRequest) ProtoReflect

func (*SubaccountOrderSummaryRequest) Reset

func (x *SubaccountOrderSummaryRequest) Reset()

func (*SubaccountOrderSummaryRequest) String

type SubaccountOrderSummaryResponse

type SubaccountOrderSummaryResponse struct {

	// Total count of subaccount's spot orders in given market and direction
	SpotOrdersTotal int64 `protobuf:"zigzag64,1,opt,name=spot_orders_total,json=spotOrdersTotal,proto3" json:"spot_orders_total,omitempty"`
	// Total count of subaccount's derivative orders in given market and direction
	DerivativeOrdersTotal int64 `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SubaccountOrderSummaryResponse) Descriptor deprecated

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

Deprecated: Use SubaccountOrderSummaryResponse.ProtoReflect.Descriptor instead.

func (*SubaccountOrderSummaryResponse) GetDerivativeOrdersTotal

func (x *SubaccountOrderSummaryResponse) GetDerivativeOrdersTotal() int64

func (*SubaccountOrderSummaryResponse) GetSpotOrdersTotal

func (x *SubaccountOrderSummaryResponse) GetSpotOrdersTotal() int64

func (*SubaccountOrderSummaryResponse) ProtoMessage

func (*SubaccountOrderSummaryResponse) ProtoMessage()

func (*SubaccountOrderSummaryResponse) ProtoReflect

func (*SubaccountOrderSummaryResponse) Reset

func (x *SubaccountOrderSummaryResponse) Reset()

func (*SubaccountOrderSummaryResponse) String

type SubaccountPortfolio added in v1.27.5

type SubaccountPortfolio struct {

	// The ID of this subaccount
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// The subaccount's available balance value in USD.
	AvailableBalance string `protobuf:"bytes,2,opt,name=available_balance,json=availableBalance,proto3" json:"available_balance,omitempty"`
	// The subaccount's locked balance value in USD.
	LockedBalance string `protobuf:"bytes,3,opt,name=locked_balance,json=lockedBalance,proto3" json:"locked_balance,omitempty"`
	// The subaccount's total unrealized PnL value in USD.
	UnrealizedPnl string `protobuf:"bytes,4,opt,name=unrealized_pnl,json=unrealizedPnl,proto3" json:"unrealized_pnl,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountPortfolio) Descriptor deprecated added in v1.27.5

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

Deprecated: Use SubaccountPortfolio.ProtoReflect.Descriptor instead.

func (*SubaccountPortfolio) GetAvailableBalance added in v1.27.5

func (x *SubaccountPortfolio) GetAvailableBalance() string

func (*SubaccountPortfolio) GetLockedBalance added in v1.27.5

func (x *SubaccountPortfolio) GetLockedBalance() string

func (*SubaccountPortfolio) GetSubaccountId added in v1.27.5

func (x *SubaccountPortfolio) GetSubaccountId() string

func (*SubaccountPortfolio) GetUnrealizedPnl added in v1.27.5

func (x *SubaccountPortfolio) GetUnrealizedPnl() string

func (*SubaccountPortfolio) ProtoMessage added in v1.27.5

func (*SubaccountPortfolio) ProtoMessage()

func (*SubaccountPortfolio) ProtoReflect added in v1.27.5

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

func (*SubaccountPortfolio) Reset added in v1.27.5

func (x *SubaccountPortfolio) Reset()

func (*SubaccountPortfolio) String added in v1.27.5

func (x *SubaccountPortfolio) String() string

type SubaccountsListRequest

type SubaccountsListRequest struct {

	// Account address, the subaccounts owner
	AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountsListRequest) Descriptor deprecated

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

Deprecated: Use SubaccountsListRequest.ProtoReflect.Descriptor instead.

func (*SubaccountsListRequest) GetAccountAddress

func (x *SubaccountsListRequest) GetAccountAddress() string

func (*SubaccountsListRequest) ProtoMessage

func (*SubaccountsListRequest) ProtoMessage()

func (*SubaccountsListRequest) ProtoReflect

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

func (*SubaccountsListRequest) Reset

func (x *SubaccountsListRequest) Reset()

func (*SubaccountsListRequest) String

func (x *SubaccountsListRequest) String() string

type SubaccountsListResponse

type SubaccountsListResponse struct {
	Subaccounts []string `protobuf:"bytes,1,rep,name=subaccounts,proto3" json:"subaccounts,omitempty"`
	// contains filtered or unexported fields
}

func (*SubaccountsListResponse) Descriptor deprecated

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

Deprecated: Use SubaccountsListResponse.ProtoReflect.Descriptor instead.

func (*SubaccountsListResponse) GetSubaccounts

func (x *SubaccountsListResponse) GetSubaccounts() []string

func (*SubaccountsListResponse) ProtoMessage

func (*SubaccountsListResponse) ProtoMessage()

func (*SubaccountsListResponse) ProtoReflect

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

func (*SubaccountsListResponse) Reset

func (x *SubaccountsListResponse) Reset()

func (*SubaccountsListResponse) String

func (x *SubaccountsListResponse) String() string

type UnimplementedInjectiveAccountsRPCServer

type UnimplementedInjectiveAccountsRPCServer struct {
}

UnimplementedInjectiveAccountsRPCServer must be embedded to have forward compatible implementations.

func (UnimplementedInjectiveAccountsRPCServer) OrderStates added in v1.32.0

func (UnimplementedInjectiveAccountsRPCServer) Portfolio added in v1.27.5

func (UnimplementedInjectiveAccountsRPCServer) Rewards added in v1.32.0

func (UnimplementedInjectiveAccountsRPCServer) SubaccountBalanceEndpoint

func (UnimplementedInjectiveAccountsRPCServer) SubaccountHistory

func (UnimplementedInjectiveAccountsRPCServer) SubaccountsList

type UnsafeInjectiveAccountsRPCServer

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

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

Jump to

Keyboard shortcuts

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