hypha-dao / hashed-wallet

Hashed Wallet
MIT License
3 stars 3 forks source link

Check low balance before send #192

Closed n13 closed 1 year ago

n13 commented 1 year ago

Check balance before sending transaction

https://github.com/w3f/Grant-Milestone-Delivery/pull/713#issuecomment-1426085300

Steps:

Expected: Should alert user of low balance Actual: Tries transaction

n13 commented 1 year ago

Reference: https://polkadot.js.org/docs/api/start/api.tx.subs/#payment-information

the illogically named "partialFee" is actually ... the fee.

n13 commented 1 year ago

Simulator Screen Shot - iPhone 14 - 2023-02-20 at 20 10 46

takahser commented 1 year ago

In my case, this didn't work as expected.

EDIT: