Solutionunvalidated
const { searchParams } = req.nextUrl — export async function GET(req: NextRequest). Tension: All I want is to be able to use this string in my component. Outcome: const { address, startBlock, endBlock, sort, page, offset } = Object.fromEntries(searchParams.entries()).
7db7c26e-8aa1-4445-b9c2-417ede9737bb
const { searchParams } = req.nextUrl — export async function GET(req: NextRequest). Tension: All I want is to be able to use this string in my component. Outcome: const { address, startBlock, endBlock, sort, page, offset } = Object.fromEntries(searchParams.entries()).