Get latest G$ Price
The primary G$ price can be queried directly from the reserve smart contract or fetched from GoodDollar ethereum subgraph.
Use the following query to get the latest price:
// graphql query
{
reserveHistories(first: 1 orderBy:block orderDirection:desc) {
blockTimestamp
closePriceDAI
openPriceDAI
}
Fill out this form to request support:
Last modified 1mo ago