coinbase / coinbase/onchainkit
Feature Request: TransactionStatusLabel should show user friendly message for the common error cases/codes
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 520
- Avg merge
- 32m
- Merged PRs (30d)
- 2
Description
### Describe the solution you'd like
Right now, the **TransactionStatusLabel** and **TransactionStatusAction** components display the text "Something went wrong. Please try again." regardless of the type of error encountered.
It would be nice if it could be updated to automatically handle common error cases/codes, such as this error message when the account does not have enough ETH to cover the expected cost of gas + value for the transaction:

There's probably others too I'll run into as I use this more!
### Describe alternatives you've considered.
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.