What's the quickest way through RPC call to check if an address need 0.257 xtz burnt in order to pay for storage?
1 Answer
If the balance is exactly 0, then it needs the burn.
/chains/main/blocks/head/context/contracts/${addr}/balance
-
Do I need to check also if it's been at least a cycle with balance 0? Or is it immediately inactive and needs the burn? Mar 31, 2020 at 16:20
-
According to the other question you asked, immediately inactive. You can test this by using the
tezos-client
in--dry-run
mode and see if the client adds an additional fee.– utdrmac ♦Apr 1, 2020 at 16:07 -
1If the balance is exactly 0 AND it's not a delegate and not a
KT
address ;)– GroxanApr 16, 2020 at 10:13