Skip to main content

Get blocks from time to time

Get blocks from time to time

Query Parameters
    from_time string required

    The start time in seconds or a time string ('YYYY-MM-DD hh:mm:ss')

    to_time string required

    The end time in seconds or a time string ('YYYY-MM-DD hh:mm:ss')

    cursor string

    The cursor returned in the previous response (used for getting the next page).

    limit number

    Number of items returned, default: 20

Responses

200 Successful


Schema
  • Array [
  • cursor string

    The cursor returned in the previous response (used for getting the next page)

    page number required

    Page of results

    limit number required

    Limit of results

    total_items number required

    Total returned result items

    data object[] required

    Blocks

  • Array [
  • block_height number required

    blockHeight

    block_hash string required

    blockHash

    block_time date-time required

    blockTime

    timestamp number required

    timestamp

    first_version number required

    firstVersion

    last_version number required

    lastVersion

    epoch number required

    epoch

    round number required

    round

    total_transactions number required

    total_transactions

    proposer string required

    proposer

  • ]
  • ]
Loading...