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

data.proto

path vega/data/v1/data.proto

package vega.data.v1


Messages

Data

Data describes valid source data that has been received by the node. It represents both matched and unmatched data.

NameTypeDescription
signersSigner
dataPropertyData holds all the properties of the data
matched_spec_idsstring`matched_specs_ids` lists all the specs that matched this data. When the array is empty, it means no spec matched this data.
broadcast_atint64`broadcast_at` is the time at which the data was broadcast to the markets with a matching spec. It has no value when the date did not match any spec. The value is a Unix timestamp in nanoseconds.

ETHAddress

NameTypeDescription
addressstring

ExternalData

NameTypeDescription
dataData

Property

Property describes one property of data spec with a key with its value.

NameTypeDescription
namestringName of the property.
valuestringValue of the property.

PubKey

PubKey is the public key that signed this data. Different public keys coming from different sources will be further separated.

NameTypeDescription
keystring

Signer

NameTypeDescription
pub_keyPubKeyList of authorized public keys that signed the data for this source. All the public keys in the data should be contained in these public keys.
eth_addressETHAddressIn case of an open oracle - Ethereum address will be submitted