Trigger Markets

Triggers when a token's price crosses your target — above, below, or equal to a value. Sourced from centralized exchange data via Stork Oracle.

At a Glance

FieldValue
Trigger IDtoken-price-cexes
CategoryMarkets
Tagsprice, token, defi, trading, alert, oracle, cex

Trigger Configuration

FieldTypeRequiredDescription
assetstringYesAsset pair symbol (e.g., BTCUSD, ETHUSD)
targetPricenumberYes-
operationstringYes-
maxTriggersstringNoTrigger frequency

Trigger Result

FieldTypeRequiredDescription
pricenumberYesPrice in USD (for condition comparison)
triggeredAtstringYesUTC timestamp in RFC3339 format (e.g., 2025-12-13T07:03:00.123456Z)
rawResponseobjectYesFull oracle price data (timestamp, signatures, price in raw format, etc.)

Workflow Root Example

json
{ "nodes": { "root": { "type": "token-price-cexes", "payload": { "asset": "ETH", "targetPrice": 1, "operation": "cross-up" }, "children": [ "log_event" ] }, "log_event": { "type": "log", "payload": { "message": "Triggered at {{$trigger.triggeredAt}}" }, "children": [] } }}

Downstream nodes can use {{$trigger.triggeredAt}} and any result fields listed above. Event triggers usually expose the raw source payload under a field such as event, body, trade, or raw.

Ask a question... ⌘I