{
  "x402Version": 2,
  "id": 37934,
  "slug": "37934",
  "resource": "https://api.teardrop.dev/tools/mcp#get_block",
  "description": "Teardrop get_block: Get block details (timestamp, gas used, base fee, miner, transaction count) for an Ethereum or Base block by number, hash, or 'latest'. Use to anchor events to a point in chain time.",
  "type": "http",
  "resourceType": "MCP Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF2Eec9De86274913F85A8aA6427Ad65a9B0bC90a",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "base_fee_gwei": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "gas_used": {
            "type": "integer"
          },
          "hash": {
            "type": "string"
          },
          "number": {
            "type": "integer"
          },
          "timestamp": {
            "type": "integer"
          },
          "transaction_count": {
            "type": "integer"
          }
        },
        "required": [
          "number",
          "hash",
          "timestamp",
          "transaction_count",
          "gas_used",
          "base_fee_gwei"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "description": "Get block details (timestamp, gas used, base fee, miner, transaction count) for an Ethereum or Base block by number, hash, or 'latest'. Use to anchor events to a point in chain time.",
          "inputSchema": {
            "properties": {
              "block_identifier": {
                "default": "latest",
                "description": "Block number, block hash, or 'latest'/'earliest'/'pending'",
                "title": "Block Identifier",
                "type": "string"
              },
              "chain_id": {
                "default": 1,
                "description": "Chain ID (1=Ethereum, 8453=Base)",
                "title": "Chain Id",
                "type": "integer"
              }
            },
            "title": "GetBlockInput",
            "type": "object"
          },
          "toolName": "get_block",
          "transport": "streamable-http",
          "type": "mcp"
        },
        "output": {
          "example": {
            "base_fee_gwei": "",
            "gas_used": 0,
            "hash": "",
            "number": 0,
            "timestamp": 0,
            "transaction_count": 0
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "description": {
                "type": "string"
              },
              "inputSchema": {
                "type": "object"
              },
              "toolName": {
                "type": "string"
              },
              "transport": {
                "enum": [
                  "streamable-http",
                  "sse"
                ],
                "type": "string"
              },
              "type": {
                "const": "mcp",
                "type": "string"
              }
            },
            "required": [
              "type",
              "toolName",
              "inputSchema"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "base_fee_gwei": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "gas_used": {
                    "type": "integer"
                  },
                  "hash": {
                    "type": "string"
                  },
                  "number": {
                    "type": "integer"
                  },
                  "timestamp": {
                    "type": "integer"
                  },
                  "transaction_count": {
                    "type": "integer"
                  }
                },
                "required": [
                  "number",
                  "hash",
                  "timestamp",
                  "transaction_count",
                  "gas_used",
                  "base_fee_gwei"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.teardrop.dev",
  "lastUpdated": "2026-10-08T00:42:21.678Z",
  "quality": {
    "calls30d": 0,
    "uniquePayers30d": 0,
    "lastCalledAt": "2026-10-05T01:30:37.211Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "description": "Get block details (timestamp, gas used, base fee, miner, transaction count) for an Ethereum or Base block by number, hash, or 'latest'. Use to anchor events to a point in chain time.",
            "inputSchema": {
              "properties": {
                "block_identifier": {
                  "default": "latest",
                  "description": "Block number, block hash, or 'latest'/'earliest'/'pending'",
                  "title": "Block Identifier",
                  "type": "string"
                },
                "chain_id": {
                  "default": 1,
                  "description": "Chain ID (1=Ethereum, 8453=Base)",
                  "title": "Chain Id",
                  "type": "integer"
                }
              },
              "title": "GetBlockInput",
              "type": "object"
            },
            "toolName": "get_block",
            "transport": "streamable-http",
            "type": "mcp"
          },
          "output": {
            "example": {
              "base_fee_gwei": "",
              "gas_used": 0,
              "hash": "",
              "number": 0,
              "timestamp": 0,
              "transaction_count": 0
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "description": {
                  "type": "string"
                },
                "inputSchema": {
                  "type": "object"
                },
                "toolName": {
                  "type": "string"
                },
                "transport": {
                  "enum": [
                    "streamable-http",
                    "sse"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "mcp",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "inputSchema"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "base_fee_gwei": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "gas_used": {
                      "type": "integer"
                    },
                    "hash": {
                      "type": "string"
                    },
                    "number": {
                      "type": "integer"
                    },
                    "timestamp": {
                      "type": "integer"
                    },
                    "transaction_count": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "number",
                    "hash",
                    "timestamp",
                    "transaction_count",
                    "gas_used",
                    "base_fee_gwei"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.teardrop.dev",
    "manifest_name": "api.teardrop.dev",
    "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": {
      "base_fee_gwei": null,
      "gas_used": 0,
      "hash": "string",
      "number": 0,
      "timestamp": 0,
      "transaction_count": 0
    },
    "type": "string"
  }
}