Home

eth_sign

POST
wss://optimism.nownodes.io/wss/{api_key}

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

Connection URL:

Copied!
wss://optimism.nownodes.io/wss/{{api_key}}

Open the connection, then send the message below as a text frame.

Example:

Copied!
wscat -c 'wss://optimism.nownodes.io/wss/YOUR_API_KEY'
> {"jsonrpc":"2.0","method":"eth_sign","params":["0x9b2055d370f73ec7d8a03e965129118dc8f5bf83","0xdeadbeaf"],"id":1}

Body

application/json
object

Parameters

api_keystringrequiredpath

Your NOWNodes API key.

Response

200OK

A successful response.