Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

blocks和transactions的分页api,需要多返回一个startWith,当page>1时,需要增加一个startWith参数 #14

Open
wk3368 opened this issue Aug 12, 2021 · 1 comment

Comments

@wk3368
Copy link

wk3368 commented Aug 12, 2021

这样可以保证往后翻页不会得到重复数据,往前翻页也不会丢数据。

提供startWith 可以保证api在查询时多一个where条件,和前端当前的第一页的第一个height保持一致。

starcoinorg/starcoin-explorer#80

@ssyuan
Copy link
Member

ssyuan commented Aug 18, 2021

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants