Constants

Get global constants

get

Returns a list of global constants.

Query parameters
addressone of | nullableOptional

Filters constants by global address (starts with expr..).

creationLevelone of | nullableOptional

Filters constants by creation level.

creationTimeone of | nullableOptional

Filters constants by creation time.

creatorone of | nullableOptional

Filters constants by creator.

refsone of | nullableOptional

Filters constants by number of refs.

sizeone of | nullableOptional

Filters constants by size in bytes.

selectone of | nullableOptional

Specify comma-separated list of fields to include into response or leave it undefined to return full object. If you select single field, response will be an array of values in both .fields and .values modes.

sortone of | nullableOptional

Sorts delegators by specified field. Supported fields: id (default), creationLevel, size, refs.

offsetone of | nullableOptional

Specifies which or how many items should be skipped

limitinteger · int32 · max: 10000Optional

Maximum number of items to return

Default: 100
formatinteger · int32 · max: 2Optional

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

Default: 0
Responses
200Success
application/json
get
GET /v1/constants HTTP/1.1
Host: xtz-index.nownodes.io
Accept: */*
200Success
[
  {
    "address": "text",
    "value": null,
    "size": 1,
    "refs": 1,
    "creator": {
      "alias": "text",
      "address": "text"
    },
    "creationLevel": 1,
    "creationTime": "2025-07-14T04:20:39.800Z",
    "extras": null,
    "metadata": null
  }
]

Get global constant by address

get

Returns global constant with specified address (expression hash).

Path parameters
addressstringRequired

Global address (starts with expr..)

Query parameters
formatinteger · int32 · max: 2Optional

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

Default: 0
Responses
200Success
application/json
get
GET /v1/constants/{address} HTTP/1.1
Host: xtz-index.nownodes.io
Accept: */*
200Success
{
  "address": "text",
  "value": null,
  "size": 1,
  "refs": 1,
  "creator": {
    "alias": "text",
    "address": "text"
  },
  "creationLevel": 1,
  "creationTime": "2025-07-14T04:20:39.800Z",
  "extras": null,
  "metadata": null
}