Notification
A normalized, classified notification the SDK delivers to consumers.
camelCase, with quoteId resolved to the on-chain id when available (falling back to the temp id), and type classified from actionStatus. The original wire frame is preserved on raw for advanced use. Both watchNotifications and normalizeNotification produce this shape.
Fields
idstringquoteIdstringOn-chain quote id as a string, or the temp id when no on-chain id exists yet.
tempQuoteIdnumberThe temp (pre-chain) quote id; negative until the on-chain id is assigned.
typeNotificationTypeClassification derived from actionStatus.
actionStatusstring | nullRaw action_status (success | failed | seen), or null.
lastSeenActionstring | nullLast solver action seen for this quote.
accountstring | nullSubAccount address this notification belongs to.
vaAddressstring | nullSolver-assigned Virtual Account address (lowcap), when present.
counterpartyAddressstringfilledAmountOpenstring | nullfilledAmountClosestring | nullavgPriceOpenstringavgPriceClosestringfailureTypestring | nullfailureMessagestring | nullerrorCodenumber | nullstateTypestring | nullcreateTimestringmodifyTimestringThe original wire frame.
Related
- RawPositionNotification — the snake_case wire frame retained on
raw. - NotificationType — the
typeclassification.