eth_getCode
POST
Returns the code at a given address (0x for plain accounts), optionally at a block tag.
Sent as a JSON text message over the WebSocket connection wss://ftm-sonic.nownodes.io/wss/{{api-key}}.
Connection URL:
Copied!
wss://ftm-sonic.nownodes.io/wss/{{api_key}}.Open the connection, then send the message below as a text frame.
Example:
Copied!
wscat -c 'wss://ftm-sonic.nownodes.io/wss/YOUR_API_KEY.'
> {"jsonrpc":"2.0","method":"eth_getCode","id":1,"params":["0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b","latest"]}
Copied!
wss://ftm-sonic.nownodes.io/wss/{{api-key}}Body
application/json
object
Parameters
api_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.