{
  "x402Version": 2,
  "id": 37371,
  "slug": "37371",
  "resource": "https://api.vextorium.com/bloque-por-fecha-pago",
  "description": "Block number closest to a date and time on EVM chains (ethereum, base, arbitrum, optimism, polygon, bsc, avax...), with the block's own timestamp. For historical state queries and event filters.",
  "type": "http",
  "serviceName": "Vextorium",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "3000",
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "3000",
      "maxTimeoutSeconds": 604900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "bloque": {
            "type": [
              "number",
              "null"
            ]
          },
          "cadena": {
            "type": [
              "string",
              "null"
            ]
          },
          "diferencia_segundos": {
            "type": [
              "number",
              "null"
            ]
          },
          "fecha_pedida": {
            "type": [
              "string",
              "null"
            ]
          },
          "fuente": {
            "type": [
              "string",
              "null"
            ]
          },
          "momento_bloque": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": [
          "object",
          "null"
        ]
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "cadena": "base",
            "fecha": "2025-01-01"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "bloque": 24450127,
            "cadena": "base",
            "diferencia_segundos": 1,
            "fecha_pedida": "2025-01-01T00:00:00+00:00",
            "fuente": "DefiLlama",
            "momento_bloque": "2025-01-01T00:00:01+00:00"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "cadena": {
                    "description": "Chain, e.g. ethereum, base, arbitrum",
                    "type": "string"
                  },
                  "fecha": {
                    "description": "YYYY-MM-DD, ISO 8601 or Unix timestamp",
                    "type": "string"
                  }
                },
                "required": [
                  "cadena",
                  "fecha"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "bloque": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "cadena": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "diferencia_segundos": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "fecha_pedida": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "fuente": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "momento_bloque": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "block",
    "timestamp",
    "evm",
    "devtools",
    "history",
    "bazaar"
  ],
  "sourceHost": "api.vextorium.com",
  "lastUpdated": "2026-10-06T11:42:12.473Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-06T11:42:11.973Z"
  },
  "metadata": {
    "serviceName": "Vextorium",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "cadena": "base",
              "fecha": "2025-01-01"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "bloque": 24450127,
              "cadena": "base",
              "diferencia_segundos": 1,
              "fecha_pedida": "2025-01-01T00:00:00+00:00",
              "fuente": "DefiLlama",
              "momento_bloque": "2025-01-01T00:00:01+00:00"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "cadena": {
                      "description": "Chain, e.g. ethereum, base, arbitrum",
                      "type": "string"
                    },
                    "fecha": {
                      "description": "YYYY-MM-DD, ISO 8601 or Unix timestamp",
                      "type": "string"
                    }
                  },
                  "required": [
                    "cadena",
                    "fecha"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "bloque": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadena": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "diferencia_segundos": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "fecha_pedida": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "fuente": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "momento_bloque": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.vextorium.com",
    "manifest_name": "api.vextorium.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "bloque": 0,
      "cadena": "string",
      "diferencia_segundos": 0,
      "fecha_pedida": "string",
      "fuente": "string",
      "momento_bloque": "string"
    },
    "type": "string"
  }
}