You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user is presented with a transaction to sign that has a postcondition to spend more than the available balance (for example STX), we can warn the user that the transaction will likely fail, check if they still want to sign the transaction.
When a user is presented with a transaction to sign that has a postcondition to spend more than the available balance (for example STX), we can warn the user that the transaction will likely fail, check if they still want to sign the transaction.
I believe in this case it happened because the dapp checked the STX balance, but not the unlocked balance. It tried to spend about 1200 STX while there was only 92 available/unlocked (total was ~30,000, most of which was stacking).
https://explorer.hiro.so/txid/0xc3e58d2b0f6f8d2437b36ccde7024e2d77f86e66e4851ca329114d6d4becf593?chain=mainnet
The transaction failed

I believe we could have used the post-conditions to warn the user
The user send the same transaction 4 times, likely not understanding what was causing the issue. A warning in Leather could have helped.