1

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 1

1

If the balance is exactly 0, then it needs the burn. /chains/main/blocks/head/context/contracts/${addr}/balance

3
  • 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
  • 1
    If the balance is exactly 0 AND it's not a delegate and not a KT address ;)
    – Groxan
    Apr 16, 2020 at 10:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.