Inner transaction to deleted account

Hi, If I write a smart contract with an inner tranasaction to a fixed address but that address after some time deletes his account, the smart contract will fail? How can I check if an account is asmissible to pay txs?
Is checking the algo balance a right procedure?

You can always make pay transactions to any account (assuming the app account has the funds) but things like asset transfers may fail in the case the user is not opted in


1 Like

Oh ok thanks, didn’t know that. Yes for assets I check if the user is opred in first. In pyteal I check if AssetHolding.balance has not value, is it right?

1 Like