Get contract info
POST
Calls the getContractInfo 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":"27","method":"getContractInfo","params":{"contract":"0x55Cc481D28Db3f1ffc9347745AA6fbB940505BdD"}}Body
application/json
object
Parameters
api_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.