Tools
Signature inspector
Paste a signed request, or pick a signing test case and a common mistake. The inspector rebuilds the EIP-712 digest from the contract in your browser, recovers the signer and names the error the server would return.
Errors it explains
| Code | Name | What usually causes it |
|---|---|---|
1012 | ErrInvalidSignatureChainID | The signature's chain_id is not the environment's (testnet 326, production 325). |
2000 | SignerUnauthorized | The signature is valid, but the signer is not an API key or wallet allowed on this sub-account. |
2001 | SignatureExpired | Expiration is in the past, often because it was written in milliseconds or seconds instead of nanoseconds. |
2002 | SignatureDoesNotMatchPayload | The digest the server rebuilds differs from yours: a scaled field (size, price) with the wrong decimals, the wrong signed type (builder variant), enum names instead of codes, or legs reordered. |
2005 | SignatureInvalidV | v must be 27 or 28; some libraries return 0 or 1. |
2006 | SignatureInvalidRSLength | r and s must be 32 bytes each, 0x-prefixed in the request. |
2007 | SignatureSIsNotCurveLowerHalf | s must be in the lower half of the curve; normalise high-s signatures. |
2008 | SignatureExpirationTooLong | Expiration is too far in the future (more than the allowed duration). |
Nothing you paste leaves the browser. Background: Signing, Order type, all error codes.