getDateToBlock
Convert a specific date to the closest blockchain block number using Moralis MCP Server. Input a Unix timestamp or date string to retrieve accurate block data for blockchain applications.
Instructions
Get the closest block given the date.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
date | No | Unix date in milliseconds or a datestring (format in seconds or datestring accepted by momentjs) |