pub fn get_balance(
owner: SuiAddress,
child_object_resolver: &dyn ChildObjectResolver,
currency_type: TypeTag,
) -> SuiResult<u64>Expand description
Get the balance for a given owner address (which can be a wallet or an object) and currency type (e.g. 0x2::sui::SUI)