> ## Documentation Index
> Fetch the complete documentation index at: https://dexbuilder.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 查询服务器时间

> 查询服务器时间

查询服务器时间。

> [!NOTE]
>
> 该接口为公开接口，不需要认证。


## OpenAPI

````yaml openapi/event-contracts.yaml GET /api/v4/event_contracts/time
openapi: 3.0.3
info:
  title: DexBuilder Event Contracts API
  version: 1.0.0
  description: DexBuilder 事件合约 REST API
servers:
  - url: https://api.dexbuilder.com
security: []
paths:
  /api/v4/event_contracts/time:
    get:
      summary: 查询服务器时间
      description: 查询服务器时间
      operationId: query_server_time
      responses:
        '200':
          description: 请求成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerTimeResponse'
        '400':
          description: 请求参数错误
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: 服务暂时不可用
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ServerTimeResponse:
      type: object
      properties:
        server_time:
          type: integer
      description: 响应对象。
    Error:
      type: object
      description: 错误响应。
      properties:
        label:
          type: string
          example: INVALID_ARGUMENT
        message:
          type: string
          example: invalid request

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.