POST/v1/bots/:botId/historical-blocks

Process Historical Blocks

Submit specific block numbers for historical analysis. This endpoint allows you to process historical blockchain blocks and is the first step in the historical analysis workflow. Use this to analyze past transactions that match your bot's watch rules.

Endpoint Details

POST

https://api.monitor.getfailsafe.com/server

https://api.monitor.getfailsafe.com/server/v1/bots/:botId/historical-blocks

Request Body Schema

Block processing configuration including chain ID and specific block numbers to analyze

{
  "chainId": 1,
  "blocks": [
    18500000,
    18500001,
    18500002
  ]
}