Constants

Get global constant by address

Returns global constant with specified address (expression hash).

get/v1/constants/{address}

Request

  • Base URL
    https://api.tzkt.io
  • URL
    https://api.tzkt.io/v1/constants/{address}
  • Auth
    none declared

Path parameters

addressstring required

Global address (starts with expr..)

Query parameters

formatinteger

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

Response

addressstring required

Global address (expression hash)

valueunknown required
sizeinteger

Constant size in bytes

refsinteger

Number of contracts referencing this constant

creationLevelinteger

Level of the first block baked with this software

creationTimestring date-time

Datetime of the first block baked with this software

extrasunknown

Changes

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