web-sdk icon indicating copy to clipboard operation
web-sdk copied to clipboard

eth.signTransaction is rejected when Ether balance is zero

Open kostysh opened this issue 4 years ago • 1 comments

Normally, the calling of web3.eth.signTransaction should result in the signature dialogue. But if a balance of the account is insufficient to pay a gas fee then the Portis wallet does not allow to sign a transaction and showing a regular wallet window (not confirmation or signature dialogue). This behaviour is not logical because I do not want to send a transaction but just sign it for later use. Here is how the Portis signTransaction dialogue look like in case of insufficient funds. Screenshot from 2020-08-21 14-53-45

kostysh avatar Aug 20 '20 16:08 kostysh

@kostysh Can you please provide an example of a well-known web3 provider that allows such behavior? (signing txs when a user has insufficient funds).

tomteman avatar Sep 06 '20 18:09 tomteman