Skip to main content

get_usdh_currency

Function get_usdh_currency 

Source
pub fn get_usdh_currency() -> Currency
Expand description

Returns the HIP-4 outcome settlement currency, registering it on first call.

Outcome markets settle in USDH (token index 360 on the USDH/USDC spot pair @230), not USDC. The registration is explicit so the precision is deterministic rather than dependent on whichever caller first triggers get_currency’s auto-register path.