Sign arbitrary data
deprecatedPOST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Signs arbitrary data with a key held in the node's keystore, using the \x19Ethereum Signed Message prefix.
Not usable on this endpoint.
eth_sign signs with a key from the node's keystore. Our nodes hold no keys - eth_accounts returns [] - so every call fails with -32000 unknown account. Sign the transaction on your side and broadcast it with eth_sendRawTransaction.
Body
application/json
jsonrpcstringrequiredmethodstringrequiredparamsArray<string>required[address, data]
- address: The account that will sign the data
- data: The data to be signed (must be a hex string)
idintegerrequiredResponse
200OK
Not reachable on this endpoint: the call always fails with -32000 unknown account
405Method Not Allowed
Method not served by this endpoint. The body is the plain-text string
Method Not Allowed, not JSON.
422Unprocessable Entity
Missing API key - the api-key header was absent. The body is the
plain-text string Missing API_key, not JSON.