Skip to main content
Version: release (v0.77)

Parties stake list

GET 

/parties/stake

Get a list of parties' stake. This endpoint may not be exposed by mainnet nodes.

Request

Query Parameters

    party string

Responses

A successful response.

Schema
    partiesStake object[]
  • Array [
  • currentStakeAvailable string
    party string
    stakeLinkings object[]
  • Array [
  • 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 (string)
    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 (string)

    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 (string)

    Possible values: [TYPE_UNSPECIFIED, TYPE_LINK, TYPE_UNLINK]

    Default value: TYPE_UNSPECIFIED

    Stake linking event type.

  • ]
  • ]
Loading...