openapi: 3.1.0 info: title: Polkadot REST Account Common API description: High-performance Rust REST API for Substrate/Polkadot blockchain data. Drop-in replacement for substrate-api-sidecar. contact: url: https://github.com/paritytech/polkadot-rest-api license: name: GPL-3.0-or-later version: 0.1.3 servers: - url: http://localhost:8080/v1 description: Localhost tags: - name: Common paths: /api/now: get: consumes: - application/json description: Returns the current server timestamp in Unix seconds. produces: - application/json responses: '200': description: OK schema: allOf: - $ref: '#/definitions/internal_server_http.J' - properties: data: type: integer type: object summary: Get current timestamp tags: - Common x-synonyms: - now - timestamp definitions: internal_server_http.J: properties: code: example: 0 type: integer data: {} generated_at: example: 1699600641 type: integer message: example: Success type: string type: object