Query Parameters
Your Etherscan API key.
Chain ID you query, eg
1 for Ethereum, 8453 for Base from our supported chains.Set to
block for this endpoint.Set to
getblocknobytime for this endpoint.Unix timestamp in seconds.
Closest available block to the provided timestamp, either
before or after.