Check whether an error indicates that the signer does not have enough native
currency to pay for gas. Applies to errors from ethers.js, on-chain calls,
or the API (e.g. ApiError with codeINSUFFICIENT_FUNDS or a
matching message).
Parameters
error: unknown
The error to check
Returns boolean
true if the error indicates insufficient funds for gas
Check whether an error indicates that the signer does not have enough native currency to pay for gas. Applies to errors from ethers.js, on-chain calls, or the API (e.g. ApiError with
codeINSUFFICIENT_FUNDSor a matching message).