Docs

PayWithCryptoErrorCode

enum PayWithCryptoErrorCode {
  ChainSwitchUnderway,
  ErrorConnectingToWallet,
  ErrorSendingTransaction,
  InsufficientBalance,
  PendingSignature,
  TransactionCancelled,
  WrongChain,
}

ChainSwitchUnderway

"There is a network switch already underway";

ErrorConnectingToWallet

"Error connecting to wallet";

ErrorSendingTransaction

"Something went wrong sending transaction";

InsufficientBalance

"Insufficient ETH";

PendingSignature

"Pending Signature";

TransactionCancelled

"Transaction Cancelled";

WrongChain

"Wrong Chain Detected";