There are currently two ways to obtain the conversion rate between stgUSD and tgUSD:
stgUSD
tgUSD
On-chain: Send an OP_PROVIDE_CURRENT_QUOTE message to the tgUSD Staking contract.
OP_PROVIDE_CURRENT_QUOTE
Off-chain: Use a get-method to fetch the relevant data and calculate the rate manually.
get-method
Last updated 8 months ago