Location string of the DEX pool (e.g. "uni").
Address of the DEX pool.
Address of the token.
The DEX token price in WEI.
The synth identifier.
The synth info from the assets.json
.
The pool location to help choose the right subgraph endpoint.
The pool address you want to get the data from.
The token of which you want to get the price.
An array of token market data.
The network / chain id of the synth deployment.
The most recent synth market data.
An object with the synth market data.
Array of networks that the user wants to query.
The total synths market data.
The DEX pool address.
The rewards for the given pool.
The number to round.
The number of decimals to round to.
The rounded number.
Generated using TypeDoc
Helper function to get the current DEX token price.