Home

Retrieve a contract's bytecode

GET
https://vet.nownodes.io/accounts/{address}/code

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

If the provided address is not a contract, empty bytecode is returned.

Parameters

addressstring<hex>requiredpath

The address of the account/ contract

revisionstringquery

Specify either best, a block number or block ID. If omitted, the best block is assumed.

Response

200OK

OK

400Bad Request

Bad Request