API reference > @kontsedal/olas-router > RouteParamsScope
RouteParamsScope variable
Route URL params. Shape matches what a typical router exposes:{ userId: '42', tab: 'profile' } etc. Values are string | undefined —undefined for an optional segment not present in the current URL (matches React Router). If your router parses them to other types, do that in the consumer controller (computed(() => Number(params.value.id))), and guard the undefined (e.g. enabled: () => params.value.id !== undefined).
Signature:
typescript
RouteParamsScope: Scope<ReadSignal<Record<string, string | undefined>>>