Quicknode 为您的 RPC 端点Quicknode 错误日志。您可直接在仪表盘中查看详细的错误信息,从而轻松识别并解决问题。
HTTP 错误代码
Let's look at the common HTTP errors you can encounter, what they mean and what you can do to prevent them.
HTTP 错误代码示例
下面的代码片段是一个错误代码429 的示例。
{
"jsonrpc": "2.0",
"error": {
"code": 429,
"message": "The requests per second (RPS) of your requests are higher than your plan allows."
},
"id": 1
}
EVM RPC Error Codes
Let's look at the common EVM errors you can encounter, what they mean and what you can do to prevent it.
EVM RPC Error Code Example
下面的代码片段是错误代码-32601 的示例。
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32601,
"message": "the method eth_randomMethod does not exist/is not available"
}
}
上述定义的 RPC 错误是一组在 ETH、BSC、Polygon 等链上进行开发时可能遇到的常见错误。这些链运行在多个客户端上,且各客户端拥有各自的错误定义。您也可以在此处查看节点客户端源代码中提到的错误:
如果您遇到其他错误代码,请通过提交工单告知我们。我们非常乐意为您提供帮助。