injective_accounts_rpcpb

package
v1.26.2-fee-discounts Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: MIT Imports: 8 Imported by: 6

Documentation

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: "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,
		},
	},
	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 RegisterInjectiveAccountsRPCServer

func RegisterInjectiveAccountsRPCServer(s grpc.ServiceRegistrar, srv InjectiveAccountsRPCServer)

Types

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 {
	// 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)
}

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 {
	// 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)
	// 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 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"`
	// 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) 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 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) 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