arm_price_trigger
Arm a price trigger with webhook delivery. Arms a single-fire price trigger. NythosX checks the price every minute and POSTs a JSON event to your HTTPS webhook on the first crossing, signed with HMAC-SHA256 (header X-NythosX-Signature: sha256= over the raw body, key = returned secret). Expires after ttl_hours (default 168, max 720). Check status free at GET /api/v1/triggers/status?id=. Costs $0.02 USDC per call (x402).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| symbol | Yes | Instrument symbol | |
| direction | Yes | ||
| ttl_hours | No | ||
| webhook_url | Yes | Public HTTPS URL that receives the signed trigger.fired event |