Skip to Content
Symmio Trading-SDK — the SDK surface for builders on Arbitrum
CoreNotificationsNotificationSearchResult

NotificationSearchResult

The result of searchNotifications, normalized per solver kind. It is a discriminated union on kind — narrow on it (or pass a literal solverId to searchNotifications) to reach the variant’s fields.

type NotificationSearchResult = EnigmaNotificationSearchResult | RasaNotificationSearchResult;

NotificationSearchResultByKind maps each kind to its variant ({ enigma: EnigmaNotificationSearchResult; rasa: RasaNotificationSearchResult }); indexing it by the caller’s solverId is how the searchNotifications return narrows.

EnigmaNotificationSearchResult

A page from an enigma solver — the standalone notification service’s stored documents.

kind"enigma"

Discriminant: this page came from an enigma solver.

totalnumber

Total documents matching the filter, ignoring pagination (enigma service only).

countnumber

Number of rows returned in this page.

rowsNotificationDocument[]

The matched documents for the requested start / size window.

RasaNotificationSearchResult

A page from a rasa solver — the solver’s own position-state records (POST /position-state/{start}/{size}), which are the rasa protocol’s notification history. There is no total field.

kind"rasa"

Discriminant: this page came from a rasa solver.

countnumber

Total matching rows on the solver, for paging.

rowsPositionStateResponseSchema[]

The matched position-state rows for the requested window (quote_id, counterparty_address, filled_amount_open / filled_amount_close, avg_price_open / avg_price_close, last_seen_action, action_status, timing fields, …).

NotificationDocument

A stored notification document as returned by the enigma search endpoint. Only the well-known top-level fields are typed; an index signature ([key: string]: unknown) keeps app-specific fields reachable. For trading notifications the data payload is the position wire frame (RawPositionNotification).

idstringoptional
app_namestringoptional

Publishing app / channel identity, e.g. "Arbitrum_Solver-Low-Cap_Production".

addressstringoptional

SubAccount address the notification belongs to.

primary_identifiernumberoptional
secondary_identifierstring | number | nulloptional
typestringoptional

report | alert.

create_timenumberoptional
modify_timenumberoptional

App-specific payload; the position wire frame for trading notifications.

Last updated on