HTTP status codes
| Code | Meaning | Common cause |
|---|---|---|
200 OK | Success | Request completed successfully |
400 Bad Request | Invalid parameters | Malformed address, invalid block number, or missing required parameter |
404 Not Found | Resource not found | Address has no data, block doesn’t exist, or transaction hash not found |
422 Unprocessable Entity | Validation error | Parameter value is out of range or wrong type |
429 Too Many Requests | Rate limited | Too many requests in a short period |
500 Internal Server Error | Server error | Retry with backoff |
Error response format
All error responses return a JSON body with amessage field:
Common errors
400 — Invalid address format
0x..., 40 hex characters). Use ethers.getAddress(address) to checksum an address.