Re: Working with bookmarks #bookmark #fabric-chaincode


Pratik Sanjay Patil <pratikspatil024@...>
 

Hi,

If you want to get the next bookmark then the below code example should work:

```
const temp = await ctx.stub.getStateByRangeWithPagination("", "", pageSize, bookmark);
// bookmark to get the next page
let next_bookmark= temp.metadata.bookmark;
```

Thanks,
Pratik Sanjay Patil

Join {fabric@lists.hyperledger.org to automatically receive all group messages.