Pagination

Pagination with cursor

You can fetch transactions with page_size and cursor: gen_utime_gt or lt_gt

{
  transactions(
    workchain: -1
    address: "5555555555555555555555555555555555555555555555555555555555555555"
    order_by: "lt"
    order_desc: true
    lt_gt: "40379620000003" # pass last lt from prev request here
    page_size: 150 # max transactions per 1 request
  ) {
    address
    workchain
    lt
  }
}

Pagination with page (not stable)

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:

{
  blocks(page: 0, page_size: 150) {
    gen_utime
    seqno
    workchain
    shard
  }
}

Last updated