Get assets balance in TEAL code

Hello! I’m wondering if it’s possible to get the balance of assets (USDT/USDC) by the wallet address in the TEAL code? Thank you!

yes, please explore the use of the asset_holding_get f opcode:

1 Like

Thanks for the answer! Perhaps there are TEAL code examples of how to use this opcode to check the balance? Thank you