Versions in this module Expand all Collapse all v0 v0.43.0 Oct 2, 2021 Changes in this version + var CoreApiService_ServiceDesc = grpc.ServiceDesc + var File_vega_coreapi_v1_coreapi_proto protoreflect.FileDescriptor + func RegisterCoreApiServiceServer(s grpc.ServiceRegistrar, srv CoreApiServiceServer) + type Account struct + Asset string + Balance string + Market string + Party string + Type string + func (*Account) Descriptor() ([]byte, []int) + func (*Account) ProtoMessage() + func (this *Account) Validate() error + func (x *Account) GetAsset() string + func (x *Account) GetBalance() string + func (x *Account) GetMarket() string + func (x *Account) GetParty() string + func (x *Account) GetType() string + func (x *Account) ProtoReflect() protoreflect.Message + func (x *Account) Reset() + func (x *Account) String() string + type CoreApiServiceClient interface + ListAccounts func(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error) + ListAssets func(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, error) + ListDelegations func(ctx context.Context, in *ListDelegationsRequest, opts ...grpc.CallOption) (*ListDelegationsResponse, error) + ListMarkets func(ctx context.Context, in *ListMarketsRequest, opts ...grpc.CallOption) (*ListMarketsResponse, error) + ListMarketsData func(ctx context.Context, in *ListMarketsDataRequest, opts ...grpc.CallOption) (*ListMarketsDataResponse, error) + ListNetworkParameters func(ctx context.Context, in *ListNetworkParametersRequest, opts ...grpc.CallOption) (*ListNetworkParametersResponse, error) + ListParties func(ctx context.Context, in *ListPartiesRequest, opts ...grpc.CallOption) (*ListPartiesResponse, error) + ListPartiesStake func(ctx context.Context, in *ListPartiesStakeRequest, opts ...grpc.CallOption) (*ListPartiesStakeResponse, error) + ListProposals func(ctx context.Context, in *ListProposalsRequest, opts ...grpc.CallOption) (*ListProposalsResponse, error) + ListValidators func(ctx context.Context, in *ListValidatorsRequest, opts ...grpc.CallOption) (*ListValidatorsResponse, error) + ListVotes func(ctx context.Context, in *ListVotesRequest, opts ...grpc.CallOption) (*ListVotesResponse, error) + func NewCoreApiServiceClient(cc grpc.ClientConnInterface) CoreApiServiceClient + type CoreApiServiceServer interface + ListAccounts func(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error) + ListAssets func(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error) + ListDelegations func(context.Context, *ListDelegationsRequest) (*ListDelegationsResponse, error) + ListMarkets func(context.Context, *ListMarketsRequest) (*ListMarketsResponse, error) + ListMarketsData func(context.Context, *ListMarketsDataRequest) (*ListMarketsDataResponse, error) + ListNetworkParameters func(context.Context, *ListNetworkParametersRequest) (*ListNetworkParametersResponse, error) + ListParties func(context.Context, *ListPartiesRequest) (*ListPartiesResponse, error) + ListPartiesStake func(context.Context, *ListPartiesStakeRequest) (*ListPartiesStakeResponse, error) + ListProposals func(context.Context, *ListProposalsRequest) (*ListProposalsResponse, error) + ListValidators func(context.Context, *ListValidatorsRequest) (*ListValidatorsResponse, error) + ListVotes func(context.Context, *ListVotesRequest) (*ListVotesResponse, error) + type ListAccountsRequest struct + Market string + Party string + func (*ListAccountsRequest) Descriptor() ([]byte, []int) + func (*ListAccountsRequest) ProtoMessage() + func (this *ListAccountsRequest) Validate() error + func (x *ListAccountsRequest) GetMarket() string + func (x *ListAccountsRequest) GetParty() string + func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message + func (x *ListAccountsRequest) Reset() + func (x *ListAccountsRequest) String() string + type ListAccountsResponse struct + Accounts []*Account + func (*ListAccountsResponse) Descriptor() ([]byte, []int) + func (*ListAccountsResponse) ProtoMessage() + func (this *ListAccountsResponse) Validate() error + func (x *ListAccountsResponse) GetAccounts() []*Account + func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message + func (x *ListAccountsResponse) Reset() + func (x *ListAccountsResponse) String() string + type ListAssetsRequest struct + Asset string + func (*ListAssetsRequest) Descriptor() ([]byte, []int) + func (*ListAssetsRequest) ProtoMessage() + func (this *ListAssetsRequest) Validate() error + func (x *ListAssetsRequest) GetAsset() string + func (x *ListAssetsRequest) ProtoReflect() protoreflect.Message + func (x *ListAssetsRequest) Reset() + func (x *ListAssetsRequest) String() string + type ListAssetsResponse struct + Assets []*vega.Asset + func (*ListAssetsResponse) Descriptor() ([]byte, []int) + func (*ListAssetsResponse) ProtoMessage() + func (this *ListAssetsResponse) Validate() error + func (x *ListAssetsResponse) GetAssets() []*vega.Asset + func (x *ListAssetsResponse) ProtoReflect() protoreflect.Message + func (x *ListAssetsResponse) Reset() + func (x *ListAssetsResponse) String() string + type ListDelegationsRequest struct + EpochSeq string + Node string + Party string + func (*ListDelegationsRequest) Descriptor() ([]byte, []int) + func (*ListDelegationsRequest) ProtoMessage() + func (this *ListDelegationsRequest) Validate() error + func (x *ListDelegationsRequest) GetEpochSeq() string + func (x *ListDelegationsRequest) GetNode() string + func (x *ListDelegationsRequest) GetParty() string + func (x *ListDelegationsRequest) ProtoReflect() protoreflect.Message + func (x *ListDelegationsRequest) Reset() + func (x *ListDelegationsRequest) String() string + type ListDelegationsResponse struct + Delegations []*vega.Delegation + func (*ListDelegationsResponse) Descriptor() ([]byte, []int) + func (*ListDelegationsResponse) ProtoMessage() + func (this *ListDelegationsResponse) Validate() error + func (x *ListDelegationsResponse) GetDelegations() []*vega.Delegation + func (x *ListDelegationsResponse) ProtoReflect() protoreflect.Message + func (x *ListDelegationsResponse) Reset() + func (x *ListDelegationsResponse) String() string + type ListMarketsDataRequest struct + Market string + func (*ListMarketsDataRequest) Descriptor() ([]byte, []int) + func (*ListMarketsDataRequest) ProtoMessage() + func (this *ListMarketsDataRequest) Validate() error + func (x *ListMarketsDataRequest) GetMarket() string + func (x *ListMarketsDataRequest) ProtoReflect() protoreflect.Message + func (x *ListMarketsDataRequest) Reset() + func (x *ListMarketsDataRequest) String() string + type ListMarketsDataResponse struct + MarketsData []*vega.MarketData + func (*ListMarketsDataResponse) Descriptor() ([]byte, []int) + func (*ListMarketsDataResponse) ProtoMessage() + func (this *ListMarketsDataResponse) Validate() error + func (x *ListMarketsDataResponse) GetMarketsData() []*vega.MarketData + func (x *ListMarketsDataResponse) ProtoReflect() protoreflect.Message + func (x *ListMarketsDataResponse) Reset() + func (x *ListMarketsDataResponse) String() string + type ListMarketsRequest struct + Market string + func (*ListMarketsRequest) Descriptor() ([]byte, []int) + func (*ListMarketsRequest) ProtoMessage() + func (this *ListMarketsRequest) Validate() error + func (x *ListMarketsRequest) GetMarket() string + func (x *ListMarketsRequest) ProtoReflect() protoreflect.Message + func (x *ListMarketsRequest) Reset() + func (x *ListMarketsRequest) String() string + type ListMarketsResponse struct + Markets []*vega.Market + func (*ListMarketsResponse) Descriptor() ([]byte, []int) + func (*ListMarketsResponse) ProtoMessage() + func (this *ListMarketsResponse) Validate() error + func (x *ListMarketsResponse) GetMarkets() []*vega.Market + func (x *ListMarketsResponse) ProtoReflect() protoreflect.Message + func (x *ListMarketsResponse) Reset() + func (x *ListMarketsResponse) String() string + type ListNetworkParametersRequest struct + NetworkParameterKey string + func (*ListNetworkParametersRequest) Descriptor() ([]byte, []int) + func (*ListNetworkParametersRequest) ProtoMessage() + func (this *ListNetworkParametersRequest) Validate() error + func (x *ListNetworkParametersRequest) GetNetworkParameterKey() string + func (x *ListNetworkParametersRequest) ProtoReflect() protoreflect.Message + func (x *ListNetworkParametersRequest) Reset() + func (x *ListNetworkParametersRequest) String() string + type ListNetworkParametersResponse struct + NetworkParameters []*vega.NetworkParameter + func (*ListNetworkParametersResponse) Descriptor() ([]byte, []int) + func (*ListNetworkParametersResponse) ProtoMessage() + func (this *ListNetworkParametersResponse) Validate() error + func (x *ListNetworkParametersResponse) GetNetworkParameters() []*vega.NetworkParameter + func (x *ListNetworkParametersResponse) ProtoReflect() protoreflect.Message + func (x *ListNetworkParametersResponse) Reset() + func (x *ListNetworkParametersResponse) String() string + type ListPartiesRequest struct + func (*ListPartiesRequest) Descriptor() ([]byte, []int) + func (*ListPartiesRequest) ProtoMessage() + func (this *ListPartiesRequest) Validate() error + func (x *ListPartiesRequest) ProtoReflect() protoreflect.Message + func (x *ListPartiesRequest) Reset() + func (x *ListPartiesRequest) String() string + type ListPartiesResponse struct + Parties []*vega.Party + func (*ListPartiesResponse) Descriptor() ([]byte, []int) + func (*ListPartiesResponse) ProtoMessage() + func (this *ListPartiesResponse) Validate() error + func (x *ListPartiesResponse) GetParties() []*vega.Party + func (x *ListPartiesResponse) ProtoReflect() protoreflect.Message + func (x *ListPartiesResponse) Reset() + func (x *ListPartiesResponse) String() string + type ListPartiesStakeRequest struct + Party string + func (*ListPartiesStakeRequest) Descriptor() ([]byte, []int) + func (*ListPartiesStakeRequest) ProtoMessage() + func (this *ListPartiesStakeRequest) Validate() error + func (x *ListPartiesStakeRequest) GetParty() string + func (x *ListPartiesStakeRequest) ProtoReflect() protoreflect.Message + func (x *ListPartiesStakeRequest) Reset() + func (x *ListPartiesStakeRequest) String() string + type ListPartiesStakeResponse struct + PartiesStake []*PartyStake + func (*ListPartiesStakeResponse) Descriptor() ([]byte, []int) + func (*ListPartiesStakeResponse) ProtoMessage() + func (this *ListPartiesStakeResponse) Validate() error + func (x *ListPartiesStakeResponse) GetPartiesStake() []*PartyStake + func (x *ListPartiesStakeResponse) ProtoReflect() protoreflect.Message + func (x *ListPartiesStakeResponse) Reset() + func (x *ListPartiesStakeResponse) String() string + type ListProposalsRequest struct + Proposal string + Proposer string + func (*ListProposalsRequest) Descriptor() ([]byte, []int) + func (*ListProposalsRequest) ProtoMessage() + func (this *ListProposalsRequest) Validate() error + func (x *ListProposalsRequest) GetProposal() string + func (x *ListProposalsRequest) GetProposer() string + func (x *ListProposalsRequest) ProtoReflect() protoreflect.Message + func (x *ListProposalsRequest) Reset() + func (x *ListProposalsRequest) String() string + type ListProposalsResponse struct + Proposals []*vega.Proposal + func (*ListProposalsResponse) Descriptor() ([]byte, []int) + func (*ListProposalsResponse) ProtoMessage() + func (this *ListProposalsResponse) Validate() error + func (x *ListProposalsResponse) GetProposals() []*vega.Proposal + func (x *ListProposalsResponse) ProtoReflect() protoreflect.Message + func (x *ListProposalsResponse) Reset() + func (x *ListProposalsResponse) String() string + type ListValidatorsRequest struct + func (*ListValidatorsRequest) Descriptor() ([]byte, []int) + func (*ListValidatorsRequest) ProtoMessage() + func (this *ListValidatorsRequest) Validate() error + func (x *ListValidatorsRequest) ProtoReflect() protoreflect.Message + func (x *ListValidatorsRequest) Reset() + func (x *ListValidatorsRequest) String() string + type ListValidatorsResponse struct + Validators []*v1.ValidatorUpdate + func (*ListValidatorsResponse) Descriptor() ([]byte, []int) + func (*ListValidatorsResponse) ProtoMessage() + func (this *ListValidatorsResponse) Validate() error + func (x *ListValidatorsResponse) GetValidators() []*v1.ValidatorUpdate + func (x *ListValidatorsResponse) ProtoReflect() protoreflect.Message + func (x *ListValidatorsResponse) Reset() + func (x *ListValidatorsResponse) String() string + type ListVotesRequest struct + Party string + Proposal string + func (*ListVotesRequest) Descriptor() ([]byte, []int) + func (*ListVotesRequest) ProtoMessage() + func (this *ListVotesRequest) Validate() error + func (x *ListVotesRequest) GetParty() string + func (x *ListVotesRequest) GetProposal() string + func (x *ListVotesRequest) ProtoReflect() protoreflect.Message + func (x *ListVotesRequest) Reset() + func (x *ListVotesRequest) String() string + type ListVotesResponse struct + Votes []*vega.Vote + func (*ListVotesResponse) Descriptor() ([]byte, []int) + func (*ListVotesResponse) ProtoMessage() + func (this *ListVotesResponse) Validate() error + func (x *ListVotesResponse) GetVotes() []*vega.Vote + func (x *ListVotesResponse) ProtoReflect() protoreflect.Message + func (x *ListVotesResponse) Reset() + func (x *ListVotesResponse) String() string + type PartyStake struct + CurrentStakeAvailable string + Party string + StakeLinkings []*v1.StakeLinking + func (*PartyStake) Descriptor() ([]byte, []int) + func (*PartyStake) ProtoMessage() + func (this *PartyStake) Validate() error + func (x *PartyStake) GetCurrentStakeAvailable() string + func (x *PartyStake) GetParty() string + func (x *PartyStake) GetStakeLinkings() []*v1.StakeLinking + func (x *PartyStake) ProtoReflect() protoreflect.Message + func (x *PartyStake) Reset() + func (x *PartyStake) String() string + type UnimplementedCoreApiServiceServer struct + func (UnimplementedCoreApiServiceServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error) + func (UnimplementedCoreApiServiceServer) ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error) + func (UnimplementedCoreApiServiceServer) ListDelegations(context.Context, *ListDelegationsRequest) (*ListDelegationsResponse, error) + func (UnimplementedCoreApiServiceServer) ListMarkets(context.Context, *ListMarketsRequest) (*ListMarketsResponse, error) + func (UnimplementedCoreApiServiceServer) ListMarketsData(context.Context, *ListMarketsDataRequest) (*ListMarketsDataResponse, error) + func (UnimplementedCoreApiServiceServer) ListNetworkParameters(context.Context, *ListNetworkParametersRequest) (*ListNetworkParametersResponse, error) + func (UnimplementedCoreApiServiceServer) ListParties(context.Context, *ListPartiesRequest) (*ListPartiesResponse, error) + func (UnimplementedCoreApiServiceServer) ListPartiesStake(context.Context, *ListPartiesStakeRequest) (*ListPartiesStakeResponse, error) + func (UnimplementedCoreApiServiceServer) ListProposals(context.Context, *ListProposalsRequest) (*ListProposalsResponse, error) + func (UnimplementedCoreApiServiceServer) ListValidators(context.Context, *ListValidatorsRequest) (*ListValidatorsResponse, error) + func (UnimplementedCoreApiServiceServer) ListVotes(context.Context, *ListVotesRequest) (*ListVotesResponse, error) + type UnsafeCoreApiServiceServer interface