For AssetHolding - to get token balance of a particular asset in my smartcontract, this is what I’m trying:
Global.current_application_address() = Current Contract Address
Assert(AssetHolding.balance(Global.current_application_address(), _token).hasValue() == Int(1)),
_balance.store(AssetHolding.balance(Global.current_application_address(), _token).value()),
But it gives me this error:
(Attached screenshot)

