ErrorEnvelope
Standard error response envelope. Returned for every failure regardless of status code, so branch on success rather than on the HTTP status.
successbooleanrequired
Possible values: [false]
error objectrequired
Machine-readable failure detail. code is stable and safe to branch on; message is for humans and may change.
codestringrequired
Machine-readable error code
Example:
MISSING_PARAMmessagestringrequired
Human-readable error message
Example:
Missing required parameter: chainIddetails
Additional error context (varies by error code)
ErrorEnvelope
{
"success": false,
"error": {
"code": "MISSING_PARAM",
"message": "Missing required parameter: chainId"
}
}