Error

Rate Limit

Wetez has two dimensional rate limits: secondly, daily.

If request count exceeded the threshold you may got this message:

{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": 429,
    "message": "Too many requests",
  }
}

Unauthorized

When the api key provided in request is invalid.

{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": 401,
    "message": "Unauthorized",
  }
}

Unsupported method

We support all web3 methods, but not all methods on the chain. Some methods are related to node or other securities, you will get an error message as long as you call unsupported methods.

{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32601,
    "message": "Unsupported method",
  }
}

Parse Error

If the request format is invalid, an error will occur.{

{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32700,
    "message": "Parse error",
  }
}

Last updated