> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_sign

> The sign method calculates an Ethereum specific signature with: sign(keccak256("Ethereum Signed Message: " + len(message) + message))).

### Parameters

**chainId** `string` *required* (default: 10200)

Unique identifier for a blockchain network.

**id** `number` *required* (default: 1)

Request identifier used to match responses.

**jsonrpc** `string` *required* (default: 2.0)

JSON-RPC version.

**method** `string` *required* (default: eth\_sign)

JSON-RPC method name.

**params** `object` *required*

Parameters for eth\_sign: \[address, data].

Positional parameters for `eth_sign`:

<ul>
  <li>`params[0]`: The address.</li>
  <li>`params[1]`: Data which hash to sign.</li>
</ul>

### Returns

**result** `string`

Data - Signed data. Example: `"0xb1092cb5b23c2aa55e5b5787729c6be812509376de99a52bea2b41e5a5f8601c5641e74d01e4493c17bf1ef8b179c49362b2c721222128d58422a539310c6ecd1b"`.

```bash Curl theme={null}
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=10200 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_sign",
    "params": [
      "0xcd2a3d9f938e13cd947ec05abc7fe734df8dd826",
      "0x5363686f6f6c627573"
    ]
  }'
```

```json Success theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0xb1092cb5b23c2aa55e5b5787729c6be812509376de99a52bea2b41e5a5f8601c5641e74d01e4493c17bf1ef8b179c49362b2c721222128d58422a5..."
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.