Contracts

Get contract code

Returns a code of the specified contract.

get/v1/contracts/{address}/code

Path parameters

addressstring required

Contract address (starting with KT)

Query parameters

levelinteger

Level at which contract code should be taken. If 0 or not specified, the current value will be returned.

formatinteger

Code format (0 - micheline, 1 - michelson, 2 - bytes (base64))

Changes

No recorded changes to this endpoint across all 1 revision of this API.