Check whether an error indicates insufficient native currency for a
transaction's total cost. Matches viem errors (InsufficientFundsError),
raw RPC errors (insufficient funds for gas * price + value), and Salt
API errors (ApiError with codeINSUFFICIENT_FUNDS).
Used internally to translate low-level failures into
InsufficientFunds; also exported for consumers who need to
classify errors from their own viem or API calls.
Check whether an error indicates insufficient native currency for a transaction's total cost. Matches viem errors (
InsufficientFundsError), raw RPC errors (insufficient funds for gas * price + value), and Salt API errors (ApiError withcodeINSUFFICIENT_FUNDS).Used internally to translate low-level failures into InsufficientFunds; also exported for consumers who need to classify errors from their own viem or API calls.