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

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
signersrepeated Signer
datarepeated PropertyData holds all the properties of the data
matched_spec_idsrepeated string`matched_specs_ids` lists all the specs that matched this data. When the array is empty, it means no spec matched this data.
broadcast_atint64Timestamp in Unix nanoseconds for when the data was broadcast to the markets with a matching spec. It has no value when the data did not match any spec.
meta_datarepeated PropertyHolds all metadata properties
erroroptional stringError message if the data could not be sourced.

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.