get_external_data

Function get_external_data 

Source
pub fn get_external_data(eid: i64, vid: i64) -> Result<String, i64>
Expand description

Returns the data reported from the given validator index for the given external data ID. Result is OK if the validator reports data with zero return status, and Err otherwise. Must only be called during execution phase.