Create an AsyncIterable that iterates across pages using the provided fetcher.
Optional
// Example: stream recent blocks using GET /blocks?limit=5&before=HEIGHTconst firstPage = await client.listBlocks({ limit: 5 });for await (const b of firstPage.asIterable()) { console.log(b.height, b.hash);} Copy
// Example: stream recent blocks using GET /blocks?limit=5&before=HEIGHTconst firstPage = await client.listBlocks({ limit: 5 });for await (const b of firstPage.asIterable()) { console.log(b.height, b.hash);}
Create an AsyncIterable that iterates across pages using the provided fetcher.