Get contract code
GET
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns a code of the specified contract.
Parameters
addressstringrequiredpathContract address (starting with KT)
levelinteger<int32>0queryLevel at which contract code should be taken. If 0 or not specified, the current value will be returned.
formatinteger<int32>[0, 2]0queryCode format (0 - micheline, 1 - michelson, 2 - bytes (base64))
Response
200OK
Successful response.
400Bad Request
Invalid request.