Contracts
Get contract code
Returns a code of the specified contract.
get/v1/contracts/{address}/code
Request
- Base URLhttps://api.tzkt.io
- URLhttps://api.tzkt.io/v1/contracts/{address}/code
- Authnone declared
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 operation across all 1 revision of this API.