Skip to main content
Version: testnet (v0.71)

Withdrawal

The details of a withdrawal processed by Vega

type Withdrawal {
id: ID!
party: Party!
amount: String!
asset: Asset!
status: WithdrawalStatus!
ref: String!
createdTimestamp: Timestamp!
withdrawnTimestamp: Timestamp
txHash: String
details: WithdrawalDetails
}

Fields

Withdrawal.id ● ID! non-null scalar

The Vega internal ID of the withdrawal

Withdrawal.party ● Party! non-null object

The Party initiating the withdrawal

Withdrawal.amount ● String! non-null scalar

The amount to be withdrawn

Withdrawal.asset ● Asset! non-null object

The asset to be withdrawn

Withdrawal.status ● WithdrawalStatus! non-null enum

The current status of the withdrawal

Withdrawal.ref ● String! non-null scalar

A reference the foreign chain can use to refer to when processing the withdrawal

Withdrawal.createdTimestamp ● Timestamp! non-null scalar

RFC3339Nano time at which the withdrawal was created

Withdrawal.withdrawnTimestamp ● Timestamp scalar

RFC3339Nano time at which the withdrawal was finalised

Withdrawal.txHash ● String scalar

Hash of the transaction on the foreign chain

Withdrawal.details ● WithdrawalDetails union

Foreign chain specific details about the withdrawal

Returned by

withdrawal query

Member of

Entities object ● WithdrawalEdge object

Implemented by

Event union