# Eth\_sign

## Sign arbitrary data using eth\_sign

> Sends a JSON-RPC request to sign arbitrary data using the specified account's private key.\
> Returns the signature as a hex string that can be used for verification off-chain.<br>

```json
{"openapi":"3.0.0","info":{"title":"Ethereum JSON-RPC","version":"1.0.0"},"servers":[{"url":"https://arbitrum.nownodes.io"}],"security":[{"api-keyAuth":[]}],"components":{"securitySchemes":{"api-keyAuth":{"type":"apiKey","in":"header","name":"api-key"}}},"paths":{"/":{"post":{"tags":["eth_sign"],"summary":"Sign arbitrary data using eth_sign","operationId":"ethSign","description":"Sends a JSON-RPC request to sign arbitrary data using the specified account's private key.\nReturns the signature as a hex string that can be used for verification off-chain.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","method","params","id"],"properties":{"jsonrpc":{"type":"string"},"method":{"type":"string"},"params":{"type":"array","description":"[address, data]\n- address: The account that will sign the data\n- data: The data to be signed (must be a hex string)\n","minItems":2,"maxItems":2,"items":{"type":"string"}},"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Returns the signature of the message","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string"},"id":{"type":"integer"},"result":{"type":"string","description":"Signature of the input data"}}}}}}}}}}}
```
