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

events.proto

path vega/events/v1/events.proto

package vega.events.v1


Messages

AuctionEvent

Auction event indicating a change in auction state, for example starting or ending an auction

NameTypeDescription
market_idstringMarket ID for the event
opening_auctionboolTrue if the event indicates an auction opening and False otherwise
leaveboolTrue if the event indicates leaving auction mode and False otherwise
startint64Timestamp containing the start time for an auction
endint64Timestamp containing the end time for an auction
triggervega.AuctionTriggerReason this market is/was in auction
extension_triggervega.AuctionTriggerIf an auction was ongoing, but was extended for whatever reason, this field will be set to the trigger type indicating which component extended the auction

BeginBlock

BeginBlock

NameTypeDescription
heightuint64
timestampint64
hashstring

BusEvent

Bus event is a container for event bus events emitted by Vega

NameTypeDescription
idstringUnique event ID for the message
blockstringThe batch or block of transactions that the events relate to
typeBusEventTypeThe type of bus event. Must be one of the list below:
time_updateTimeUpdateTime update events
ledger_movementsLedgerMovementsTransfer responses update events
position_resolutionPositionResolutionPosition resolution events
ordervega.OrderOrder events
accountvega.AccountAccount events
partyvega.PartyParty events
tradevega.TradeTrade events
margin_levelsvega.MarginLevelsMargin level update events
proposalvega.ProposalProposal events for governance
votevega.VoteVote events for governance
market_datavega.MarketDataMarket data events
node_signaturevega.commands.v1.NodeSignatureNode signature events
loss_socializationLossSocializationLoss socialization events
settle_positionSettlePositionPosition settlement events
settle_distressedSettleDistressedPosition distressed events
market_createdvega.MarketMarket created events
assetvega.AssetAsset events
market_tickMarketTickMarket tick events
withdrawalvega.WithdrawalWithdrawal events
depositvega.DepositDeposit events
auctionAuctionEventAuction events
risk_factorvega.RiskFactorRisk factor events
network_parametervega.NetworkParameterNetwork parameter events
liquidity_provisionvega.LiquidityProvisionLiquidityProvision events
market_updatedvega.MarketMarket created events
oracle_specvega.OracleSpecOracleSpec events
oracle_datavega.OracleDataOracleData events
delegation_balanceDelegationBalanceEventDelegation balance events
validator_scoreValidatorScoreEventValidator score calculated
epoch_eventEpochEventEpoch update events
validator_updateValidatorUpdateValidator update events
stake_linkingStakeLinkingStaking event
reward_payoutRewardPayoutEventReward payout event
checkpointCheckpointEventCheckpoint was created
key_rotationKeyRotationKey rotation took place
state_varStateVarState variable consensus state transition update
network_limitsvega.NetworkLimitsNetwork limits events
transferTransferTransfer event
ranking_eventValidatorRankingEventRanking event
erc20_multisig_signer_eventERC20MultiSigSignerEventERC20 multi sig signer event
erc20_multisig_set_threshold_eventERC20MultiSigThresholdSetEventERC20 multi sig set threshold event
erc20_multisig_signer_addedERC20MultiSigSignerAddedERC20 multi sig signer added
erc20_multisig_signer_removedERC20MultiSigSignerRemovedERC20 multi sig signer removed
position_state_eventPositionStateEventPosition status for a party in a market
ethereum_key_rotationEthereumKeyRotationEthereum key rotation took place
protocol_upgrade_eventProtocolUpgradeEventProtocol upgrade proposal updates
begin_blockBeginBlockCore is starting to process a new block
end_blockEndBlockCore finished processing a block
protocol_upgrade_startedProtocolUpgradeStartedCore is starting a protocol upgrade
settle_marketSettleMarketSettle market event for data-node to update positions for settled markets
transaction_resultTransactionResultResult of a transaction processed by the network
core_snapshot_eventCoreSnapshotDataCore snapshot has been taken at the end of the block
protocol_upgrade_data_node_readyProtocolUpgradeDataNodeReadyCore snapshot has been taken at the end of the block
distressed_ordersDistressedOrdersParties that had their orders closed because they were distressed
expired_ordersExpiredOrdersOrders that expired for a given market
distressed_positionsDistressedPositionsOpen positions on the market that are/were distressed
marketMarketEventMarket tick events
tx_err_eventTxErrorEventTransaction error events, not included in the ALL event type
versionuint32Version of bus event
chain_idstring
tx_hashstring

CheckpointEvent

NameTypeDescription
hashstring
block_hashstring
block_heightuint64

CoreSnapshotData

CoreSnapshotData represents the core snapshot data.

NameTypeDescription
block_heightuint64Block height at which snapshot was taken
block_hashstringHash of the snapshot block
core_versionstringSemver version number of the core.
protocol_upgrade_blockboolIndicates if the snapshot is taken as part of protocol upgrade

DelegationBalanceEvent

DelegationBalanceEvent - updates on the delegation balance of a party to a node in the current epoch in effect

NameTypeDescription
partystring
node_idstring
amountstring
epoch_seqstring

DistressedOrders

Distressed order contains the party IDs for all parties that were distressed and had their orders closed, but did not need to be closed out after cancelling their orders

NameTypeDescription
market_idstringMarket ID for the event
partiesstringSlice of Party IDs i.e. each party's public key for the event

DistressedPositions

Distressed positions event contains the party IDs for all parties that were distressed, had their orders closed but because of insufficient volume on the book could not be fully closed out. These parties are distressed, but still hold an active position on the book as a result. Once enough volume is on the book to close them out, a SettleDistressed event will be sent. In case they manage to reduce their position, or meet the margin requirements, this status will be updated. Parties that are no longer distressed but active will be listed in the safe_parties field.

NameTypeDescription
market_idstringMarket ID for the event
distressed_partiesstringSlice of party IDs i.e. each party's public key, that are distressed but still have open volume
safe_partiesstringSlice of party IDs i.e. each party's public key, who were distressed but now can safely maintain their position

ERC20MultiSigSignerAdded

NameTypeDescription
signature_idstringID of the signature bundle
validator_idstringNode ID of the Vega node to be added
timestampint64Time at which this happened
new_signerstringEthereum address of the new signer
submitterstringAddress of the submitter of the transaction
noncestringNonce used.
epoch_seqstringEpoch that the node was added for

ERC20MultiSigSignerEvent

NameTypeDescription
idstring
typeERC20MultiSigSignerEvent.Type
signerstring
noncestring
block_timeint64
tx_hashstring
log_indexuint64
block_numberuint64

ERC20MultiSigSignerRemoved

NameTypeDescription
signature_submittersERC20MultiSigSignerRemovedSubmitterList containing all the IDs of bundle generated There should be one bundle generated for every validators in the validator set
validator_idstringNode ID of the Vega node which is to be removed
timestampint64Time at which this happened
old_signerstringEthereum address of the signer to be removed
noncestringNonce used.
epoch_seqstringEpoch that the node was removed for

ERC20MultiSigSignerRemovedSubmitter

NameTypeDescription
signature_idstringSignature ID of the signer removed.
submitterstringAddress of the submitter of the transaction

ERC20MultiSigThresholdSetEvent

NameTypeDescription
idstring
new_thresholduint32
noncestring
block_timeint64
tx_hashstring
log_indexuint64
block_numberuint64

EndBlock

EndBlock

NameTypeDescription
heightuint64

EpochEvent

Epoch details

NameTypeDescription
sequint64Sequence number that increases by one each epoch
actionvega.EpochActionAction tells us what action is taking place
start_timeint64Vega time at which this epoch started
expire_timeint64Vega time at which this epoch should end
end_timeint64Vega time at which this epoch actually ended

EthereumKeyRotation

Event that contains information about an Ethereum key rotation

NameTypeDescription
node_idstringNode ID of the node that rotated their Ethereum key
old_addressstringEthereum address that was previously associated with the node
new_addressstringEthereum address that is newly associated with the node
block_heightuint64Block height when the key rotation took effect

ExpiredOrders

NameTypeDescription
market_idstringMarket ID for the event
order_idsstringSlice of expired order IDs

KeyRotation

Event that contains information about a Vega key rotation

NameTypeDescription
node_idstringNode ID of the node that rotated their Vega key
old_pub_keystringVega public key that was previously associated with the node
new_pub_keystringVega public key that is newly associated with the node
block_heightuint64Block height when the key rotation took effect

LedgerMovements

Transfer responses event contains a collection of transfer information

NameTypeDescription
ledger_movementsvega.LedgerMovementOne or more entries containing internal transfer information

LossSocialization

Loss socialization event contains details on the amount of wins unable to be distributed

NameTypeDescription
market_idstringMarket ID for the event
party_idstringParty ID (public key) for the event
amountstringAmount distributed

MarketEvent

MarketEvent - the common denominator for all market events interface has a method to return a string for logging

NameTypeDescription
market_idstringMarket ID for the event
payloadstringPayload is a unique information string

MarketTick

Market tick event contains the time value for when a particular market was last processed on Vega

NameTypeDescription
idstringMarket ID for the event
timeint64Timestamp containing latest update from Vega blockchain aka Vega-time

OneOffTransfer

NameTypeDescription
deliver_onint64

PositionResolution

Position resolution event contains information on distressed trades

NameTypeDescription
market_idstringMarket ID for the event
distressedint64Number of distressed traders
closedint64Number of close outs
mark_pricestringMark price as a string representing a scaled price

PositionStateEvent

Position state event contains the current position state for a single party in a single market

NameTypeDescription
party_idstringParty ID for this position update
market_idstringMarket ID for this position update
sizeint64Current position
potential_buysint64Potential orders
potential_sellsint64
vw_buy_pricestringVolume weighted prices
vw_sell_pricestring

ProtocolUpgradeDataNodeReady

Event indicating the data node is ready for protocol upgrade

NameTypeDescription
last_block_heightuint64

ProtocolUpgradeEvent

NameTypeDescription
upgrade_block_heightuint64Block height at which to perform the upgrade
vega_release_tagstringRelease tag for the vega binary
approversstringTendermint validators that have agreed to the upgrade
statusProtocolUpgradeProposalStatusStatus of the proposal

ProtocolUpgradeStarted

Event indicating the core is starting a protocol upgrade

NameTypeDescription
last_block_heightuint64

RecurringTransfer

NameTypeDescription
start_epochuint64
end_epochuint64
factorstring
dispatch_strategyvega.DispatchStrategy

RewardPayoutEvent

NameTypeDescription
partystring
epoch_seqstring
assetstring
amountstring
percent_of_total_rewardstring
timestampint64
reward_typestring
marketstring

SettleDistressed

Settle distressed event contains information on distressed trading parties who are closed out Note: Any PositionResolution event (market level) will most likely be followed by a number of these events

NameTypeDescription
market_idstringMarket ID for the event
party_idstringParty ID i.e. a party's public key for the event
marginstringMargin value as an integer, for example `123456` is a correctly formatted price of `1.23456` assuming market configured to 5 decimal places
pricestringPrice as an integer, for example `123456` is a correctly formatted price of `1.23456` assuming market configured to 5 decimal places

SettleMarket

Settle market event to notify data node that a market has been settled so positions and PL can be updated accordingly

NameTypeDescription
market_idstringMarket ID for the event
pricestringPrice of settlement as a string
position_factorstringPosition factor - 10 ^ number of position decimal places

SettlePosition

Settle position event contains position settlement information for a party

NameTypeDescription
market_idstringMarket ID for the event
party_idstringParty ID (public key) for the event
pricestringPrice of settlement as a string
trade_settlementsTradeSettlementA collection of 1 or more trade settlements
position_factorstringPosition factor - 10 ^ number of position decimal places

StakeLinking

StakeLinking - an event notifying of stake being deposited or removed for a given party These events are emitted for every Staking deposit or removed accepted by the network

NameTypeDescription
idstringInternal ID for this staking event
typeStakeLinking.TypeStake linking event type.
tsint64Timestamps at which the event was emitted by ethereum
partystringParty to whom the event is directed at.
amountstringAmount of stake deposited or removed
statusStakeLinking.StatusStatus of the event
finalized_atint64Time at which the vega network finalized the state of the event
tx_hashstringHash of the transaction from which the events happen
block_heightuint64Block when the event happened
block_timeint64Block time
log_indexuint64Log index
ethereum_addressstringEthereum address from which the stake link was initiated

StateVar

StateVar event updates on state changes in state variable consensus

NameTypeDescription
idstring
event_idstring
statestring

StreamStartEvent

NameTypeDescription
chain_idstring

TimeUpdate

Time update event contains the latest time update from Vega blockchain and indicates the start of a new block

NameTypeDescription
timestampint64Timestamp containing latest update from Vega blockchain aka Vega-time

TradeSettlement

Trade settlement is part of the settle position event

NameTypeDescription
sizeint64Size of trade settlement
pricestringPrice of settlement as string (in asset decimals)
market_pricestringPrice of settlement as a string (in market decimals)

TransactionResult

NameTypeDescription
party_idstringUnique party ID for the related party
statusboolStatus of the transaction, did it succeed or an error was raised.
hashstringHash of the transaction Transaction itself as received by the network
order_submissionvega.commands.v1.OrderSubmission
order_amendmentvega.commands.v1.OrderAmendment
order_cancellationvega.commands.v1.OrderCancellation
proposalvega.commands.v1.ProposalSubmission
vote_submissionvega.commands.v1.VoteSubmission
liquidity_provision_submissionvega.commands.v1.LiquidityProvisionSubmission
withdraw_submissionvega.commands.v1.WithdrawSubmission
delegate_submissionvega.commands.v1.DelegateSubmission
undelegate_submissionvega.commands.v1.UndelegateSubmission
liquidity_provision_cancellationvega.commands.v1.LiquidityProvisionCancellation
liquidity_provision_amendmentvega.commands.v1.LiquidityProvisionAmendment
transfervega.commands.v1.Transfer
cancel_transfervega.commands.v1.CancelTransfer
announce_nodevega.commands.v1.AnnounceNode
oracle_data_submissionvega.commands.v1.OracleDataSubmission
protocol_upgrade_proposalvega.commands.v1.ProtocolUpgradeProposal
issue_signaturesvega.commands.v1.IssueSignatures
batch_market_instructionsvega.commands.v1.BatchMarketInstructions
key_rotate_submissionvega.commands.v1.KeyRotateSubmission
ethereum_key_rotate_submissionvega.commands.v1.EthereumKeyRotateSubmission
successTransactionResult.SuccessDetails
failureTransactionResult.FailureDetails

TransactionResult.FailureDetails

NameTypeDescription
errorstringError message explaining the reason for the transaction failing processing

TransactionResult.SuccessDetails

TBD

NameTypeDescription

Transfer

NameTypeDescription
idstring
fromstring
from_account_typevega.AccountType
tostring
to_account_typevega.AccountType
assetstring
amountstring
referencestring
statusTransfer.Status
timestampint64
reasonstring
one_offOneOffTransfer
recurringRecurringTransfer

TxErrorEvent

NameTypeDescription
party_idstringUnique party ID for the related party
err_msgstringError message describing what went wrong
order_submissionvega.commands.v1.OrderSubmission
order_amendmentvega.commands.v1.OrderAmendment
order_cancellationvega.commands.v1.OrderCancellation
proposalvega.commands.v1.ProposalSubmission
vote_submissionvega.commands.v1.VoteSubmission
liquidity_provision_submissionvega.commands.v1.LiquidityProvisionSubmission
withdraw_submissionvega.commands.v1.WithdrawSubmission
delegate_submissionvega.commands.v1.DelegateSubmission
undelegate_submissionvega.commands.v1.UndelegateSubmission
liquidity_provision_cancellationvega.commands.v1.LiquidityProvisionCancellation
liquidity_provision_amendmentvega.commands.v1.LiquidityProvisionAmendment
transfervega.commands.v1.Transfer
cancel_transfervega.commands.v1.CancelTransfer
announce_nodevega.commands.v1.AnnounceNode
oracle_data_submissionvega.commands.v1.OracleDataSubmission
protocol_upgrade_proposalvega.commands.v1.ProtocolUpgradeProposal
issue_signaturesvega.commands.v1.IssueSignatures
batch_market_instructionsvega.commands.v1.BatchMarketInstructions

ValidatorRankingEvent

Event that explains the status of the validator for the coming epoch

NameTypeDescription
node_idstring
stake_scorestringStake based score - no anti-whaling
performance_scorestringPerformance base score
ranking_scorestringFinal score
previous_statusstringStatus of the validator in the previous epoch
next_statusstringStatus of the validator in the next epoch
epoch_seqstringEpoch seq for which the status is valid
tm_voting_poweruint32Tendermint voting power of the validator

ValidatorScoreEvent

ValidatorScoreEvent is the score a validator gets for a given epoch

NameTypeDescription
node_idstring
epoch_seqstring
validator_scorestring
normalised_scorestring
validator_performancestring
raw_validator_scorestring
validator_statusstring
multisig_scorestring

ValidatorUpdate

Validator update event contains information about validator node

NameTypeDescription
node_idstringNode ID of the validator node
vega_pub_keystringVega public key of validator node
ethereum_addressstringEthereum public key of validator node
tm_pub_keystringPublic key of Tendermint
info_urlstringURL with more info on the node
countrystringCountry code (ISO 3166-1 alpha-2) for the location of the node
namestringName of the validator
avatar_urlstringAvatarURL of the validator
vega_pub_key_indexuint32Vega public key derivation index
addedboolFlag indicating if the validator has been added to or removed from vega
from_epochuint64Epoch in which the announced pending node will start participating in the network
submitter_addressstringEthereum public key being used as the submitter to allow automatic signature generation
epoch_sequint64Epoch in which the node was announced or removed from the network

Enums

BusEventType

Bus event type is used to specify a type of event It has 2 styles of event: Single values (e.g. BUS_EVENT_TYPE_ORDER) where they represent one data item Group values (e.g. BUS_EVENT_TYPE_AUCTION) where they represent a group of data items

NameNumberDescription
BUS_EVENT_TYPE_UNSPECIFIED0Default value, always invalid
BUS_EVENT_TYPE_ALL1Events of ALL event types, used when filtering stream from event bus
BUS_EVENT_TYPE_TIME_UPDATE2Event for blockchain time updates
BUS_EVENT_TYPE_LEDGER_MOVEMENTS3Event for when a transfer happens internally, contains the transfer information
BUS_EVENT_TYPE_POSITION_RESOLUTION4Event indicating position resolution has occurred
BUS_EVENT_TYPE_ORDER5Event for order updates, both new and existing orders
BUS_EVENT_TYPE_ACCOUNT6Event for account updates
BUS_EVENT_TYPE_PARTY7Event for party updates
BUS_EVENT_TYPE_TRADE8Event indicating a new trade has occurred
BUS_EVENT_TYPE_MARGIN_LEVELS9Event indicating margin levels have changed for a party
BUS_EVENT_TYPE_PROPOSAL10Event for proposal updates (for governance)
BUS_EVENT_TYPE_VOTE11Event indicating a new vote has occurred (for governance)
BUS_EVENT_TYPE_MARKET_DATA12Event for market data updates
BUS_EVENT_TYPE_NODE_SIGNATURE13Event for a new signature for a Vega node
BUS_EVENT_TYPE_LOSS_SOCIALIZATION14Event indicating loss socialisation occurred for a party
BUS_EVENT_TYPE_SETTLE_POSITION15Event for when a position is being settled
BUS_EVENT_TYPE_SETTLE_DISTRESSED16Event for when a position is distressed
BUS_EVENT_TYPE_MARKET_CREATED17Event indicating a new market was created
BUS_EVENT_TYPE_ASSET18Event for when an asset is added to Vega
BUS_EVENT_TYPE_MARKET_TICK19Event indicating a market tick event
BUS_EVENT_TYPE_WITHDRAWAL20Event for when a withdrawal occurs
BUS_EVENT_TYPE_DEPOSIT21Event for when a deposit occurs
BUS_EVENT_TYPE_AUCTION22Event indicating a change in auction state, for example starting or ending an auction
BUS_EVENT_TYPE_RISK_FACTOR23Event indicating a risk factor has been updated
BUS_EVENT_TYPE_NETWORK_PARAMETER24Event indicating a network parameter has been added or updated
BUS_EVENT_TYPE_LIQUIDITY_PROVISION25Event indicating a liquidity provision has been created or updated
BUS_EVENT_TYPE_MARKET_UPDATED26Event indicating a new market was created
BUS_EVENT_TYPE_ORACLE_SPEC27Event indicating an oracle spec has been created or updated
BUS_EVENT_TYPE_ORACLE_DATA28Event indicating that an oracle data has been broadcast
BUS_EVENT_TYPE_DELEGATION_BALANCE29Event indicating that an delegation balance of a party to a node for current epoch has changed
BUS_EVENT_TYPE_VALIDATOR_SCORE30Event indicating the validator score for the given epoch
BUS_EVENT_TYPE_EPOCH_UPDATE31Event indicating the start or end of an epoch
BUS_EVENT_TYPE_VALIDATOR_UPDATE32Event indicating that validator node has been updated
BUS_EVENT_TYPE_STAKE_LINKING33Event indicating a new staking event have been processed by the network
BUS_EVENT_TYPE_REWARD_PAYOUT_EVENT34Event indicating the payout of a reward has been initiated
BUS_EVENT_TYPE_CHECKPOINT35Event indicating a new checkpoint was created
BUS_EVENT_TYPE_STREAM_START36Event indicating stream is starting
BUS_EVENT_TYPE_KEY_ROTATION37Event indicating key rotation took place
BUS_EVENT_TYPE_STATE_VAR38Event indicating state transitions in state variable consensus
BUS_EVENT_TYPE_NETWORK_LIMITS39Event indicating network limits set or updated
BUS_EVENT_TYPE_TRANSFER40Event indicating a update for a transfer
BUS_EVENT_TYPE_VALIDATOR_RANKING41Event indicating the ranking of validator and their status in Vega
BUS_EVENT_TYPE_ERC20_MULTI_SIG_SIGNER_EVENT42Event indicating a new multi sig signer event have been processed
BUS_EVENT_TYPE_ERC20_MULTI_SIG_SET_THRESHOLD43Event indicating the erc20 multi sig threshold have been updated
BUS_EVENT_TYPE_ERC20_MULTI_SIG_SIGNER_ADDED44Event indicating a new signer has been added to the ERC-20 multisig
BUS_EVENT_TYPE_ERC20_MULTI_SIG_SIGNER_REMOVED45Event indicating a signer has been removed from the ERC-20 multisig
BUS_EVENT_TYPE_POSITION_STATE46Event indicating that a party's position has changed
BUS_EVENT_TYPE_ETHEREUM_KEY_ROTATION47Event indicating Ethereum key rotation took place
BUS_EVENT_TYPE_PROTOCOL_UPGRADE_PROPOSAL48Event indicating protocol upgrade proposal updates
BUS_EVENT_TYPE_BEGIN_BLOCK49Event indicating the core is starting to process a new block
BUS_EVENT_TYPE_END_BLOCK50Event indicating the core finished to process a block
BUS_EVENT_TYPE_PROTOCOL_UPGRADE_STARTED51Event indicating the core is starting a protocol upgrade
BUS_EVENT_TYPE_SETTLE_MARKET52Event indicating the market has stopped and settled
BUS_EVENT_TYPE_TRANSACTION_RESULT53Event indicating the result of a transaction processed by the network
BUS_EVENT_TYPE_SNAPSHOT_TAKEN54Event indicating a snapshot was taken at this block height
BUS_EVENT_TYPE_PROTOCOL_UPGRADE_DATA_NODE_READY55Event data node uses to notify that it is ready to upgrade
BUS_EVENT_TYPE_DISTRESSED_ORDERS_CLOSED56Event indicating parties had orders closed because they were distressed, but were not closed out.
BUS_EVENT_TYPE_EXPIRED_ORDERS57Event indicating parties had orders closed because they were distressed, but were not closed out.
BUS_EVENT_TYPE_DISTRESSED_POSITIONS58Event indicating parties have become, or were, distressed but still have an active position.
BUS_EVENT_TYPE_MARKET101Event indicating a market related event, for example when a market opens
BUS_EVENT_TYPE_TX_ERROR201Event used to report failed transactions back to a user, this is excluded from the ALL type

ERC20MultiSigSignerEvent.Type

NameNumberDescription
TYPE_UNSPECIFIED0
TYPE_ADDED1
TYPE_REMOVED2

ProtocolUpgradeProposalStatus

NameNumberDescription
PROTOCOL_UPGRADE_PROPOSAL_STATUS_UNSPECIFIED0
PROTOCOL_UPGRADE_PROPOSAL_STATUS_PENDING1The proposal is pending
PROTOCOL_UPGRADE_PROPOSAL_STATUS_APPROVED2The proposal is approved
PROTOCOL_UPGRADE_PROPOSAL_STATUS_REJECTED3The proposal is rejected

StakeLinking.Status

NameNumberDescription
STATUS_UNSPECIFIED0Default value
STATUS_PENDING1Indicates an event waiting for confirmation from the Vega network
STATUS_ACCEPTED2Indicates an event accepted by the Vega network
STATUS_REJECTED3Indicates an event rejected by the Vega network

StakeLinking.Type

NameNumberDescription
TYPE_UNSPECIFIED0Default value
TYPE_LINK1Indicate of a stake deposit instruction
TYPE_UNLINK2Indicate of a stake remove instruction

Transfer.Status

NameNumberDescription
STATUS_UNSPECIFIED0Default value
STATUS_PENDING1Indicates a transfer still being processed
STATUS_DONE2Indicates a transfer accepted by the Vega network
STATUS_REJECTED3Indicates a transfer rejected by the Vega network
STATUS_STOPPED4Indicates a transfer stopped by the Vega network e.g: no funds left to cover the transfer
STATUS_CANCELLED5Indicates a transfer cancelled by the user