Home

eth_getCode

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

Returns code at a given address.

Connection URL:

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

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

Example:

Copied!
wscat -c 'wss://avax.nownodes.io/wss/YOUR_API_KEY'
> {"jsonrpc":"2.0","method":"eth_getCode","params":["0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b","latest"],"id":1}

Body

application/json
object

Parameters

api_keystringrequiredpath

Your NOWNodes API key.

Response

200OK

A successful response.