switchboard-aggregator
A Rust library to interact with Switchboard V2's hosted data feeds.
Description
This package can be used to manage Switchboard data feed account parsing.
Specifically, this package will return the most recent confirmed round result from a provided data feed AccountInfo.
Usage
use get_aggregator_result;
use SwitchboardDecimal;
use TryInto;
let aggregator_result: SwitchboardDecimal = get_aggregator_result?;
let decimal: f64 = .try_into.unwrap;