corestate.proto
path vega/api/v1/corestate.proto
package vega.api.v1
Messages
Account
Name | Type | Description |
---|---|---|
party | string | |
market | string | |
balance | string | |
asset | string | |
type | string |
ListAccountsRequest
Name | Type | Description |
---|---|---|
party | string | |
market | string |
ListAccountsResponse
Name | Type | Description |
---|---|---|
accounts | repeated Account |
ListAssetsRequest
Name | Type | Description |
---|---|---|
asset | string | optional ID |
ListAssetsResponse
Name | Type | Description |
---|---|---|
assets | repeated vega.Asset |
ListDelegationsRequest
Name | Type | Description |
---|---|---|
party | string | |
node | string | |
epoch_seq | string |
ListDelegationsResponse
Name | Type | Description |
---|---|---|
delegations | repeated vega.Delegation |
ListMarketsDataRequest
Name | Type | Description |
---|---|---|
market | string |
ListMarketsDataResponse
Name | Type | Description |
---|---|---|
markets_data | repeated vega.MarketData |
ListMarketsRequest
Name | Type | Description |
---|---|---|
market | string |
ListMarketsResponse
Name | Type | Description |
---|---|---|
markets | repeated vega.Market |
ListNetworkLimitsRequest
Name | Type | Description |
---|
ListNetworkLimitsResponse
Name | Type | Description |
---|---|---|
network_limits | vega.NetworkLimits |
ListNetworkParametersRequest
Name | Type | Description |
---|---|---|
network_parameter_key | string | optional parameter key |
ListNetworkParametersResponse
Name | Type | Description |
---|---|---|
network_parameters | repeated vega.NetworkParameter |
ListPartiesRequest
Name | Type | Description |
---|
ListPartiesResponse
Name | Type | Description |
---|---|---|
parties | repeated vega.Party |
ListPartiesStakeRequest
Name | Type | Description |
---|---|---|
party | string |
ListPartiesStakeResponse
Name | Type | Description |
---|---|---|
parties_stake | repeated PartyStake |
ListProposalsRequest
Name | Type | Description |
---|---|---|
proposal | string | optional ID |
proposer | string | optional party |
ListProposalsResponse
Name | Type | Description |
---|---|---|
proposals | repeated vega.Proposal |
ListValidatorsRequest
Name | Type | Description |
---|
ListValidatorsResponse
Name | Type | Description |
---|---|---|
validators | repeated vega.events.v1.ValidatorUpdate |
ListVotesRequest
Name | Type | Description |
---|---|---|
proposal | string | |
party | string |
ListVotesResponse
Name | Type | Description |
---|---|---|
votes | repeated vega.Vote |
PartyStake
Name | Type | Description |
---|---|---|
party | string | |
current_stake_available | string | |
stake_linkings | repeated vega.events.v1.StakeLinking |
Services
CoreStateService
ListAccounts
Method | ListAccounts |
---|---|
Request | ListAccountsRequest |
Response | ListAccountsResponse |
Description | Accounts list Get a list of accounts. This endpoint may not be exposed by mainnet nodes. |
ListAssets
Method | ListAssets |
---|---|
Request | ListAssetsRequest |
Response | ListAssetsResponse |
Description | Assets list Get a list of assets. This endpoint may not be exposed by mainnet nodes. |
ListNetworkParameters
Method | ListNetworkParameters |
---|---|
Request | ListNetworkParametersRequest |
Response | ListNetworkParametersResponse |
Description | Network parameters list Get a list of network parameters. This endpoint may not be exposed by mainnet nodes. |
ListNetworkLimits
Method | ListNetworkLimits |
---|---|
Request | ListNetworkLimitsRequest |
Response | ListNetworkLimitsResponse |
Description | Network limits list Get a list of network limits. This endpoint may not be exposed by mainnet nodes. |
ListParties
Method | ListParties |
---|---|
Request | ListPartiesRequest |
Response | ListPartiesResponse |
Description | Parties list Get a list of parties. This endpoint may not be exposed by mainnet nodes. |
ListValidators
Method | ListValidators |
---|---|
Request | ListValidatorsRequest |
Response | ListValidatorsResponse |
Description | Validators list Get a list of validators. This endpoint may not be exposed by mainnet nodes. |
ListMarkets
Method | ListMarkets |
---|---|
Request | ListMarketsRequest |
Response | ListMarketsResponse |
Description | Markets list Get a list of markets. This endpoint may not be exposed by mainnet nodes. |
ListProposals
Method | ListProposals |
---|---|
Request | ListProposalsRequest |
Response | ListProposalsResponse |
Description | Proposals list Get a list of proposals. This endpoint may not be exposed by mainnet nodes. |
ListMarketsData
Method | ListMarketsData |
---|---|
Request | ListMarketsDataRequest |
Response | ListMarketsDataResponse |
Description | Markets data list Get a list of markets' data. This endpoint may not be exposed by mainnet nodes. |
ListVotes
Method | ListVotes |
---|---|
Request | ListVotesRequest |
Response | ListVotesResponse |
Description | Votes list Get a list of votes. This endpoint may not be exposed by mainnet nodes. |
ListPartiesStake
Method | ListPartiesStake |
---|---|
Request | ListPartiesStakeRequest |
Response | ListPartiesStakeResponse |
Description | Parties stake list Get a list of parties' stake. This endpoint may not be exposed by mainnet nodes. |
ListDelegations
Method | ListDelegations |
---|---|
Request | ListDelegationsRequest |
Response | ListDelegationsResponse |
Description | Delegations list Get a list of delegations. This endpoint may not be exposed by mainnet nodes. |