Skip to main content
Skip table of contents

Tracking API - Calls

Lens

LensRequest

LensRequest

This command exists to let callers know which lens files are available command-line configured lens folder path (default [Installation folder]/Services/Tracking/lensfiles) Response is a simple list of lens file names as strings.

No params.
ReloadLensFile

ReloadLensFile

Reloads the lens file of a the specified chain id. Returns error message if incomplete command or problem with file.

Params
ChainId STRINGchain to reload lens of.
GetLensFileLocation

GetLensFileLocation

Returns the local path of the lens file folder.

No params.
GetLensFileEncoderLimits

GetLensFileEncoderLimits

Returns GetLensFileEncoderLimits result, if any of meta.encoderLimits is present a struct with those values present. If none present a failure saying that no limits were available.

No params.
GetLensFileFeatures

GetLensFileFeatures

Returns GetLensFileFeatures result: A struct containing the categories of a lens file that can be enabled, each category has a list of individual curve keys present.

No params.
SetActiveLensFile

SetActiveLensFile

Set a chain to use an 'active lens' file. If an active lens already exists for that file it will be overwritten.

Params
ChainId STRINGchain to activate lens of
Data JSONcontent of lens file Returns a status message, either error or not...

Other

ProtocolRequest

ProtocolRequest

Gives callers knowledge of supported protocols. It literally sends [Installation folder]/Services/Tracking/config/SupportedProtocols.json. This is not updated every time the SupportedProtocols.json file is added to or has changed structure.

No params.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.