RELAY_ERRORS
constRELAY_ERRORS:object
Defined in: relay.ts:35
Type Declaration
Section titled “Type Declaration”chainDisconnected
Section titled “chainDisconnected”
readonlychainDisconnected:4901=4901
chainNotAdded
Section titled “chainNotAdded”
readonlychainNotAdded:4902=4902
EIP-3326/3085: the chain is not in the wallet (wallet_switchEthereumChain → suggest wallet_addEthereumChain).
disconnected
Section titled “disconnected”
readonlydisconnected:4900=4900
internal
Section titled “internal”
readonlyinternal:-32603=-32603
invalidParams
Section titled “invalidParams”
readonlyinvalidParams:-32602=-32602
invalidRequest
Section titled “invalidRequest”
readonlyinvalidRequest:-32600=-32600
limitExceeded
Section titled “limitExceeded”
readonlylimitExceeded:-32005=-32005
EIP-1474: this origin has too many requests waiting.
resourceUnavailable
Section titled “resourceUnavailable”
readonlyresourceUnavailable:-32002=-32002
EIP-1474: a request of the same kind from this origin is already waiting (MetaMask’s “already pending”).
unauthorized
Section titled “unauthorized”
readonlyunauthorized:4100=4100
unsupportedMethod
Section titled “unsupportedMethod”
readonlyunsupportedMethod:4200=4200
userRejected
Section titled “userRejected”
readonlyuserRejected:4001=4001