Checking the balance of an address inside a loop of a smart contract constantly:
A. doesn't cost any gas.
B. cost gas every time we check the balance.
Checking the balance of an address inside a loop of a smart contract constantly:
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Checking the balance of an address inside a loop of a smart contract constantly:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!