Skip to main content

priceAggregators sub-class

The following readme describes all the functions and their parameters exposed by the priceAggregators class of the KETH SDK. This sub-class exposes the values returned by priceAggregators individually.

latestRoundDataYETH function

This function returns the latest round data for the yETH token.

Using latestRoundDataYETH function

await sdk.priceAggregators.latestRoundDataYETH();

Return Parameter

Returns the latest round data for the yETH token.