Skip to main content

Get blocks between two timestamps. Useful for building dashboards.

GET 

/:network/chain/blocks

Get blocks between two timestamps. Useful for building dashboards.

Request

Path Parameters

    network stringrequired

    Blockchain network name or chain id

    endDate anyrequired

    End date in ISO format

    startDate anyrequired

    Start date in ISO format

Query Parameters

    start_block_height number

    Start Block number for which the balance is requested. Provide only block height or timestamp you want to check for.

    end_block_height number

    End Block number for which the balance is requested. Provide only block height or timestamp you want to check for.

    start_date string

    Start Date timestamp for which the balance is requested (ISO 8601 format). Provide only start block height or timestamp you want to check for.

    end_date string

    End Date timestamp for which the balance is requested (ISO 8601 format). Provide only block height or timestamp you want to check for.

    page number

    Page number for pagination

    limit number

    Number of blocks per page, Max 10 per page

    currency string

    The currency in which the block valuation conversion is requested.

Responses

Loading...