Event payload
This example is an explicitly selected spot event. Default followers now receive 30-second and 60-second TWAP events with the same shape and different identity fields. See Chainlink Spot and TWAP Prices for the subscription filters.Fields
Feed name (e.g.
"BTC/USD", "ETH/USD"). Top-level convenience field, same value as data.feed.Observation timestamp in Unix seconds. Top-level convenience field, same value as
data.timestamp.Notes
- Update rate: approximately 1 update per second per feed.
- No snapshot: unlike settlement subscriptions, price feed subscriptions do not include an initial snapshot. The first event arrives with the next price observation (~1 second after subscribing).
- TWAP windows: when you subscribe to both windows, key state by
feedandtwap_window_seconds. See Chainlink Spot and TWAP Prices. - Deduplication: include
feed,twap_window_seconds, andtimestampin a TWAP deduplication key.

