Block Timestamp

Get the closest timestamp to a given block number on a specific chain

get/v4/block-timestamp/timestamp

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/timestamp
  • Auth: apiKey (a scheme the document does not define)

Query parameters

chainIdnumber required

Chain ID

string integer required
OR
integer required

Block number

Response

Response for status 200

timestampnumber required

Closest timestamp

Changes

    • breaking

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

    • warning

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

    • warning

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

    • info

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