Home

RPC call

POST
wss://ethbook-sepolia.nownodes.io/wss/{api_key}

Calls the rpcCall method over a WebSocket connection.

Connection URL:

Copied!
wss://ethbook-sepolia.nownodes.io/wss/{{api_key}}

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

Example:

Copied!
wscat -c 'wss://ethbook-sepolia.nownodes.io/wss/YOUR_API_KEY'
> {"id":"28","method":"rpcCall","params":{"to":"0x55Cc481D28Db3f1ffc9347745AA6fbB940505BdD","data":"0x18160ddd"}}

Passthrough for eth_call: send the contract address in to and the ABI-encoded call in data. The example above calls totalSupply().

Body

application/json
object

Parameters

api_keystringrequiredpath

Your NOWNodes API key.

Response

200OK

A successful response.