Returns the block number that is closest to the provided Unix timestamp.
- 服务商
- Etherscan(以太坊浏览器)
- 输入摘要
- {"name":"chainid","type":"integer","required":true,"description":"The chain ID of the Ethereum network (e.g., 1 for mainnet)."}, {"name":"module","type":"string","required":true,"description":"The module name for the API action.","enum":["block"]}, {"name":"action","type":"string","required":true,"description":"The specific action to perform within the module.","enum":["getblocknobytime"]}, {"name":"timestamp","type":"integer","required":true,"description":"Unix timestamp (in seconds) to find the closest block number for."}, {"name":"closest","type":"string","required":true,"description":"Whether to return the block before or after the given timestamp.","enum":["before","after"]}
- 输出摘要
- 暂无公开信息
- 计费规则
- 1
- 数据更新时间
- 暂无公开信息
- 验证状态
- 暂无公开信息