Block Timestamp

Get the closest lower and upper bound blocks for a given timestamp from BlockTimestampMapping

get/v4/block-timestamp/bounds

Request

  • Base URL: https://api.merkl.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.merkl.xyz/v4/block-timestamp/bounds
  • Auth: apiKey (a scheme the document does not define)

Query parameters

chainIdnumber required

Chain ID

string integer required
OR
integer required

Unix timestamp

Response

Response for status 200

exactMatchboolean required

True when lower and upper are the same block

Changes

    • breaking

      query request parameter timestamp list-of-types was narrowed by removing types number

    • warning

      for the query request parameter timestamp, the max was set to 9007199254740991.00

    • warning

      for the query request parameter timestamp, the min was set to 0.00

    • info

      for the query request parameter timestamp, the type was generalized from number to no type