Blockchain utils

Estimate the block height for a future point in time

/v3/blockchain/auction/time/{chain}/{date}

1 credit per API call

Get an estimated block height (number) for some future point in time.

Note that this API returnes an estimation of what the block height might be and not the exact block height.

This API is supported for the following blockchains:

  • BNB Smart Chain
  • Celo
  • Ethereum
  • Harmony
  • Klaytn
  • Polygon
get/v3/blockchain/auction/time/{chain}/{date}

Request

  • Base URL
    https://api.tatum.io
  • URL
    https://api.tatum.io/v3/blockchain/auction/time/{chain}/{date}
  • Auth
    API key in header x-api-key

Path parameters

chain'BSC' | 'CELO' | 'ETH' | 'KLAY' | 'MATIC' | 'ONE' required

The blockchain to work with

datestring required
Example:2021-09-17T07:55:54Z

The date and time in the ISO 8601 standard format

Response

OK

number required

The estimated block hight (number)

Example response

15795762

Changes

No recorded changes to this operation across all 1 revision of this API.