Parties stake list
GET/parties/stake
Get a list of parties' stake. This endpoint may not be exposed by mainnet nodes.
Request
Query Parameters
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
partiesStake object[]
stakeLinkings object[]
Amount of stake deposited or removed.
Block when the event happened.
Block time.
Ethereum address from which the stake link was initiated.
Time at which the Vega network finalised the state of the event.
Log index.
Party to whom the event is directed at.
Possible values: [STATUS_UNSPECIFIED
, STATUS_PENDING
, STATUS_ACCEPTED
, STATUS_REJECTED
]
Default value: STATUS_UNSPECIFIED
Status of the event.
Timestamp in Unix nanoseconds of when the event was emitted by Ethereum.
Hash of the transaction in which the event happened.
Possible values: [TYPE_UNSPECIFIED
, TYPE_LINK
, TYPE_UNLINK
]
Default value: TYPE_UNSPECIFIED
Stake linking event type.
{
"partiesStake": [
{
"currentStakeAvailable": "string",
"party": "string",
"stakeLinkings": [
{
"amount": "string",
"blockHeight": "string",
"blockTime": "string",
"ethereumAddress": "string",
"finalizedAt": "string",
"id": "string",
"logIndex": "string",
"party": "string",
"status": "STATUS_UNSPECIFIED",
"ts": "string",
"txHash": "string",
"type": "TYPE_UNSPECIFIED"
}
]
}
]
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}