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
partiesStake object[]
currentStakeAvailable string
party string
stakeLinkings object[]
amount Amount of stake deposited or removed
blockHeight uint64
blockTime int64
ethereumAddress Ethereum address from which the stake link was initiated
finalizedAt int64
id Internal ID for this staking event
logIndex uint64
party string
status Status of the event
Possible values: [STATUS_UNSPECIFIED
, STATUS_PENDING
, STATUS_ACCEPTED
, STATUS_REJECTED
]
ts int64
txHash Hash of the transaction from which the events happen
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
]
{
"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
code int32
details object[]
@type string
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
Loading...