Hive Intelligence

Get Block By Timestamp

Get the block number closest to a given timestamp for a specific chain.

Tool Name: get_block_by_timestamp

Category Endpoint: POST /hive_network_infrastructure/mcp

Data Source: DeFiLlama


Overview

This tool is documented under the Network & Infrastructure category.

For schemas and the complete live catalog, also use:

  • GET /api/v1/tools
  • hive://tools
  • get_api_endpoint_schema from the root MCP endpoint

Quick Example

curl -X POST https://mcp.hiveintelligence.xyz/api/v1/execute \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_HIVE_API_KEY" \
  -d '{
  "tool": "get_block_by_timestamp",
  "args": {
    "chain": "ethereum",
    "timestamp": 1710000000
  }
}'

Required fields in the current live schema: chain, timestamp.