## syncstate genSyncSpec(raw: `bool`): `Json` - **interface**: `syncstate.genSyncSpec` - **jsonrpc**: `sync_state_genSyncSpec` - **summary**: Returns the json-serialized chainspec running the node, with a sync state.