Get Contract Bytecode at Address
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns EVM bytecode at address at the requested block. An EOA or undeployed contract returns 0x.
Historical state queries may require an archive-capable backend; latest state does not. NOWNodes archive availability was not tested.
Example response values are illustrative unless explicitly described as protocol constants; they are not authenticated live NOWNodes responses.
Body
JSON-RPC 2.0 request body. Send as HTTP POST to the endpoint root (/).
jsonrpcstring2.0requiredmethodstringeth_getCoderequiredparamsArray<string>requiredJSON-RPC positional parameters; see example and method description.
idintegerrequiredClient-selected JSON-RPC request identifier.
Response
HTTP response containing a JSON-RPC result or a JSON-RPC error object.
JSON-RPC protocol or execution error; may still be delivered with HTTP 200.