pub async fn get_bonding_total_supply(token_id: TokenId) -> Result<U256, Error>
Expand description

This get function can only be called from a pure query, not inside a txn. If it’s inside a txn, we’ll need to use read_bonding_total_supply with a token_ctx as a parameter.