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 AggregatorAccountData;
use TryInto;
let feed_result = new?.get_result?;
let decimal: f64 = feed_result.try_into?;