Pagination
Pagination with cursor
You can fetch transactions with page_size
and cursor: gen_utime__gt
or lt__gt
For raw_transactions you can use gen_utime__gte / lt__gte / gen_utime__lte / lt__lte
Be careful, with
gte
you need to store transactionhash
, and next request must be processed afterhash
column appearsFor account_states you can also use
lt__gte
but if some accounts will be updated you will get duplicatedworkchain
/address
(with biggerlt
than previous) so it's better to use dict and update result in dict forworkchain:address
key
Pagination with page (not stable, deprecated)
We use pagination in every table, to use it, please, use page
and page_size
parameters.
Max value for page_size
in any table is 150.
page
parameter started from 0
Example usage:
Last updated