Skip to Content
Symmio Trading-SDK — the SDK surface for builders on HyperEVM
CoreNotificationsnormalizeNotification

normalizeNotification

Normalize a raw wire frame into a Notification: camelCase fields, a resolved quoteId (the on-chain id when present, else the temp id), and a classified type.

watchNotifications calls it internally; reach for it directly when consuming the raw feed elsewhere — for example replaying a fixture in tests.

import { normalizeNotification } from "@symmio/trading-core"; const notification = normalizeNotification(rawFrame);

Parameters

The raw position-state frame.

Returns

The normalized, classified notification, with the original frame preserved on raw.

Last updated on