Parties stake list
Get a list of parties stake
Query Parameters
party string
Responses
- 200
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
partiesStake object[]
currentStakeAvailable string
party string
stakeLinkings object[]
amount string
Amount of stake deposited or removed.
blockHeight uint64
Block when the event happened.
blockTime int64
Block time.
ethereumAddress string
Ethereum address from which the stake link was initiated.
finalizedAt int64
Time at which the Vega network finalised the state of the event.
id Internal ID for this staking event
logIndex uint64
Log index.
party string
Party to whom the event is directed at.
status - STATUS_UNSPECIFIED: Default value
- STATUS_PENDING: Indicates an event waiting for confirmation from the Vega network
- STATUS_ACCEPTED: Indicates an event accepted by the Vega network
- STATUS_REJECTED: Indicates an event rejected by the Vega network
Possible values: [STATUS_UNSPECIFIED
, STATUS_PENDING
, STATUS_ACCEPTED
, STATUS_REJECTED
]
Default value: STATUS_UNSPECIFIED
Status of the event.
ts int64
Timestamp in Unix nanoseconds of when the event was emitted by Ethereum.
txHash string
Hash of the transaction in which the event happened.
type - TYPE_UNSPECIFIED: Default value
- TYPE_LINK: Indicate of a stake deposit instruction
- TYPE_UNLINK: Indicate of a stake remove instruction
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 [
- ]
code int32
details object[]
@type string
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
Loading...