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

# Get the current veto window

> Returns `null` for coins with veto off.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/tokens/{mint}/veto
openapi: 3.1.0
info:
  title: Veto API
  version: 1.0.0
  description: >-
    Public API behind veto.fun. Coins, payouts, wallets, launches, trades and
    vetoes.
servers:
  - url: https://api.veto.fun
    description: Production
  - url: http://localhost:4000
    description: Local development
security: []
tags:
  - name: Platform
  - name: Coins
  - name: Payouts
  - name: Veto
  - name: Launch and trade
paths:
  /api/tokens/{mint}/veto:
    get:
      tags:
        - Veto
      summary: Get the current veto window
      description: Returns `null` for coins with veto off.
      operationId: getVeto
      parameters:
        - $ref: '#/components/parameters/Mint'
      responses:
        '200':
          description: The current window, or null.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/VetoState'
                  - type: 'null'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    Mint:
      name: mint
      in: path
      required: true
      description: The coin's mint address.
      schema:
        type: string
  schemas:
    VetoState:
      type: object
      required:
        - epoch
        - endsAt
        - thresholdPct
        - weightPct
        - voters
        - escrow
        - escrowSol
      properties:
        epoch:
          type: integer
          description: >-
            The current 24-hour window, starting at 0 at launch. Sign this
            number.
        endsAt:
          type: string
          format: date-time
        thresholdPct:
          type: number
          description: Share of supply needed to veto.
        weightPct:
          type: number
          description: Share of supply held by wallets that signed so far.
        voters:
          type: integer
        escrow:
          type: number
          description: Creator cut held for this window, in the pair asset.
        escrowSol:
          type: number
          description: The escrow's SOL value at current prices.
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: A message you can show to users as-is.
  responses:
    NotFound:
      description: Not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Token not found

````

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