Party
Represents a party on Vega, could be an ethereum wallet address in the future
type Party {
id: ID!
ordersConnection(
pagination: Pagination
filter: OrderByMarketIdsFilter
): OrderConnection
tradesConnection(
marketId: ID
dataRange: DateRange
pagination: Pagination
): TradeConnection
accountsConnection(
marketId: ID
assetId: ID
type: AccountType
pagination: Pagination
): AccountsConnection
positionsConnection(
market: ID
pagination: Pagination
): PositionConnection
marginsConnection(
marketId: ID
pagination: Pagination
): MarginConnection
proposalsConnection(
proposalType: ProposalType
inState: ProposalState
pagination: Pagination
): ProposalsConnection
votesConnection(
pagination: Pagination
): ProposalVoteConnection
withdrawalsConnection(
dateRange: DateRange
pagination: Pagination
): WithdrawalsConnection
depositsConnection(
dateRange: DateRange
pagination: Pagination
): DepositsConnection
liquidityProvisionsConnection(
marketId: ID
reference: String
live: Boolean
pagination: Pagination
): LiquidityProvisionsConnection
delegationsConnection(
nodeId: ID
pagination: Pagination
): DelegationsConnection
stakingSummary(
pagination: Pagination
): StakingSummary!
rewardsConnection(
assetId: ID
pagination: Pagination
fromEpoch: Int
toEpoch: Int
): RewardsConnection
rewardSummaries(
assetId: ID
): [RewardSummary]
transfersConnection(
direction: TransferDirection
pagination: Pagination
): TransferConnection
}
Fields
Party.id ● ID! non-null scalar
Party identifier
Party.ordersConnection ● OrderConnection object
Orders relating to a party
Party.ordersConnection.pagination●PaginationinputPagination information
Party.ordersConnection.filter ● OrderByMarketIdsFilter input
Filter orders
Party.tradesConnection ● TradeConnection object
Party.tradesConnection.marketId●IDscalarID of the market you want to get trades for
Party.tradesConnection.dataRange ● DateRange input
Date range to retrieve trades from/to. Start and end time should be expressed as an integer value of nano-seconds past the Unix epoch
Party.tradesConnection.pagination ● Pagination input
Pagination information
Party.accountsConnection ● AccountsConnection object
Collateral accounts relating to a party
Party.accountsConnection.marketId●IDscalarMarket ID - specify what market accounts for the party to return
Party.accountsConnection.assetId ● ID scalar
Asset ID
Party.accountsConnection.type ● AccountType enum
Filter accounts by type (General account, margin account, etc...)
Party.accountsConnection.pagination ● Pagination input
Cursor pagination information
Party.positionsConnection ● PositionConnection object
Trading positions relating to a party
Party.positionsConnection.market●IDscalar
Party.positionsConnection.pagination ● Pagination input
Party.marginsConnection ● MarginConnection object
Margin levels for a market
Party.marginsConnection.marketId●IDscalarmarket ID for the requested margin levels, nil if all markets
Party.marginsConnection.pagination ● Pagination input
Optional Pagination information
Party.proposalsConnection ● ProposalsConnection object
All governance proposals in the Vega network
Party.proposalsConnection.proposalType●ProposalTypeenumOptional type of proposal to retrieve data for
Party.proposalsConnection.inState ● ProposalState enum
Returns only proposals in the specified state. Leave out to get all proposals
Party.proposalsConnection.pagination ● Pagination input
Optional Pagination information
Party.votesConnection ● ProposalVoteConnection object
All votes on proposals in the Vega network by the given party
Party.votesConnection.pagination●PaginationinputOptional Pagination information
Party.withdrawalsConnection ● WithdrawalsConnection object
The list of all withdrawals initiated by the party
Party.withdrawalsConnection.dateRange●DateRangeinputDate range to retrieve withdrawals from/to. Start and end time should be expressed as an integer value of nano-seconds past the Unix epoch
Party.withdrawalsConnection.pagination ● Pagination input
Optional Pagination information
Party.depositsConnection ● DepositsConnection object
The list of all deposits for a party by the party
Party.depositsConnection.dateRange●DateRangeinputDate range to retrieve deposits from/to. Start and end time should be expressed as an integer value of nano-seconds past the Unix epoch
Party.depositsConnection.pagination ● Pagination input
Optional Pagination information
Party.liquidityProvisionsConnection ● LiquidityProvisionsConnection object
The list of the liquidity provision commitment for this party
Party.liquidityProvisionsConnection.marketId●IDscalarAn optional market ID
Party.liquidityProvisionsConnection.reference ● String scalar
An optional reference
Party.liquidityProvisionsConnection.live ● Boolean scalar
An optional live flag to determine whether to list only live LPs or not
Party.liquidityProvisionsConnection.pagination ● Pagination input
Optional Pagination information
Party.delegationsConnection ● DelegationsConnection object
Party.delegationsConnection.nodeId●IDscalarOptional node ID
Party.delegationsConnection.pagination ● Pagination input
Pagination information
Party.stakingSummary ● StakingSummary! non-null object
The staking information for this Party
Party.stakingSummary.pagination●Paginationinput
Party.rewardsConnection ● RewardsConnection object
Rewards information for the party
Party.rewardsConnection.assetId●IDscalarAn asset ID (optional)
Party.rewardsConnection.pagination ● Pagination input
Optional pagination information
Party.rewardsConnection.fromEpoch ● Int scalar
Optionally only return rewards >= this epoch
Party.rewardsConnection.toEpoch ● Int scalar
Optionally only return rewards <= this epoch
Party.rewardSummaries ● [RewardSummary] list object
Return net reward information
Party.rewardSummaries.assetId●IDscalarAn asset ID (optional)
Party.transfersConnection ● TransferConnection object
All transfers for a public key
Party.transfersConnection.direction●TransferDirectionenumdirection of the transfer with respect to the public key
Party.transfersConnection.pagination ● Pagination input
Pagination information
Returned by
party query
Member of
AccountBalance object ● AccountEvent object ● Delegation object ● Deposit object ● Entities object ● LiquidityProviderFeeShare object ● LiquidityProvision object ● MarginLevels object ● Order object ● PartyEdge object ● Position object ● Proposal object ● ProposalDetail object ● Reward object ● StakeLinking object ● Trade object ● Vote object ● Withdrawal object