Home

Get global constants

GET
https://xtz-index.nownodes.io/v1/constants

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns a list of global constants.

Parameters

addressobject | nullquery

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

creationLevelobject | nullquery

Filters constants by creation level.

creationTimeobject | nullquery

Filters constants by creation time.

creatorobject | nullquery

Filters constants by creator.

refsobject | nullquery

Filters constants by number of refs.

sizeobject | nullquery

Filters constants by size in bytes.

selectobject | nullquery

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.

sortobject | nullquery

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

offsetobject | nullquery

Specifies which or how many items should be skipped

limitinteger<int32>[0, 10000]100query

Maximum number of items to return

formatinteger<int32>[0, 2]0query

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

Response

200OK

Successful response.

400Bad Request

Invalid request.