Skip to main content
GET
Get block number by time stamp

Query Parameters

apiKey
string
required
module
enum<string>
required
Available options:
block
action
enum<string>
required
Available options:
getblocknobytime
timestamp
integer
required

Integer representing the Unix timestamp in seconds.

closest
enum<string>
required

Closest block to the provided timestamp, either before or after.

Available options:
before,
after

Response

200 - application/json

OK

message
string
result
object
status
string