@armada/sdk / index / parseQuickSync
Function: parseQuickSync()
parseQuickSync(
raw):object
Defined in: src/sync/quick-sync-wire.ts:290
Validate + decode a quick-sync response into the scanner's native DecodedPoolEvents plus the indexer's syncedThroughBlock. Throws QuickSyncSchemaError (code QUICK_SYNC_SCHEMA) on any version/shape/type violation — the SDK then falls back to an RPC scan rather than trusting garbage.
Parameters
raw
unknown
Returns
object
events
events:
DecodedPoolEvents
syncedThroughBlock
syncedThroughBlock:
number