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

# Attester slashings for a slot

> Retrieve all attester slashing operations included in the beacon block for a specific slot. You can provide a slot number or the keyword `latest` to fetch from the most recently processed slot. Each item contains the two conflicting attestations that triggered the slashing and the block inclusion metadata.



## OpenAPI

````yaml /api/v1/bundled.yaml get /api/v1/slot/{slot}/attesterslashings
openapi: 3.0.4
info:
  title: beaconcha.in API Documentation
  license:
    name: GPL-3.0
    url: https://www.gnu.org/licenses/gpl-3.0.en.html
  description: >-
    > ⚠️ No new features or endpoints will be added to V1. We recommend the [V2
    API](/api/overview) for all new projects. See the [migration
    guide](/api/v1-to-v2-migration).

    ## Introduction

    **Advanced and reliable API for accessing comprehensive Ethereum blockchain
    data.**


    - **Free Usage Policy:** The API is free to use under a fair use policy,
    with rate limits of 10 requests per minute per IP.

    - **Caching:** All responses are cached for 1 minute.

    - **Higher Usage Plans:** For higher usage plans, visit:
    [https://beaconcha.in/pricing](https://beaconcha.in/pricing). An API key is
    required to use these plans.


    ### API Key Usage

    API keys can be obtained at
    [/user/settings](https://beaconcha.in/user/settings) and must be included in
    requests either as a query string parameter or in the request header.


    #### Example: Query String Parameter

    ```bash

    curl https://beaconcha.in/api/v1/slot/1?apikey=<your_key>

    ```


    #### Example: Request Header

    ```bash

    curl -H 'apikey: <your_key>' https://beaconcha.in/api/v1/slot/1

    ```
  contact: {}
  version: '1.1'
servers:
  - url: https://beaconcha.in
    description: Ethereum mainnet
  - url: https://hoodi.beaconcha.in
    description: Hoodi Ethereum testnet
security:
  - ApiKeyAuthQuery: []
  - ApiKeyAuthHeader: []
tags:
  - name: Epoch
    description: Data related to consensus layer epochs
  - name: Slots
    description: Data related to consensus layer slots
  - name: Validators
    description: Data related to consensus layer validators
  - name: Rewards
    description: Data related to validator rewards
  - name: Sync Committees
    description: Data related to sync committees
  - name: Rocketpool
    description: Data related to the rocketpool protocol
  - name: ETH.Store®
    description: Data related to the ETH.Store® metric
  - name: Validator deposits
    description: Data related to execution layer validator deposits
  - name: Blocks
    description: Data related to execution layer blocks
  - name: Gas
    description: Data related to gas prices
  - name: Address
    description: Data related to ethereum addresses
  - name: Network
    description: Network data
  - name: Misc
    description: Miscellaneous data
  - name: User
    description: User data
  - name: Machine Metrics
    description: Submit machine, beacon-node, and validator-client monitoring metrics
paths:
  /api/v1/slot/{slot}/attesterslashings:
    get:
      tags:
        - Slots
      summary: Attester slashings for a slot
      description: >-
        Retrieve all attester slashing operations included in the beacon block
        for a specific slot. You can provide a slot number or the keyword
        `latest` to fetch from the most recently processed slot. Each item
        contains the two conflicting attestations that triggered the slashing
        and the block inclusion metadata.
      operationId: listSlotAttesterSlashings
      parameters:
        - name: slot
          in: path
          description: >-
            The slot to fetch. Provide an integer slot number (>= 0) or the
            special tag `latest` for the most recently processed slot.
          required: true
          style: simple
          explode: false
          schema:
            oneOf:
              - type: integer
                minimum: 0
                description: Slot number (>= 0)
                example: 12751688
              - type: string
                enum:
                  - latest
                description: Latest processed slot
                example: latest
      responses:
        '200':
          description: >-
            The slot was found and its attester slashings are returned in the
            `data` array. If the slot has no attester slashings, the array is
            empty.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/types.ApiResponse'
                  - type: object
                    properties:
                      data:
                        type: array
                        items:
                          $ref: >-
                            #/components/schemas/types.APIAttesterSlashingResponse
        '400':
          description: >-
            The request is invalid (for example, a negative slot or a slot in
            the future).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/types.ApiErrorResponse'
              examples:
                invalidSlot:
                  summary: Invalid slot parameter
                  value:
                    status: 'ERROR: invalid slot parameter'
                    data: null
                slotInFuture:
                  summary: Slot in the future
                  value:
                    status: 'ERROR: slot is in the future'
                    data: null
        '500':
          description: An unexpected server error occurred while processing your request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/types.ApiErrorResponse'
              examples:
                serverError:
                  summary: Internal error
                  value:
                    status: 'ERROR: internal server error'
                    data: null
components:
  schemas:
    types.ApiResponse:
      type: object
      description: Standard success envelope used by all API endpoints.
      properties:
        status:
          type: string
          description: >-
            HTTP-independent status of the API operation. For successful
            responses this is always "OK".
          enum:
            - OK
        data:
          description: Response payload specific to the endpoint.
          nullable: true
          x-omitempty: true
    types.APIAttesterSlashingResponse:
      type: object
      description: >-
        Attester slashing operation included in a beacon block. Contains two
        conflicting attestations (attestation1 and attestation2) that prove a
        slashable offense, plus block inclusion metadata.
      properties:
        attestation1_beaconblockroot:
          type: string
          description: >-
            Root of the beacon block being voted on by attestation1
            (0x-prefixed, 32-byte hex).
          example: '0x4b50f7112f30b4fe9ff61324d9282308b8104874991f796f181cd58511fc67d5'
        attestation1_index:
          type: integer
          description: Committee index within the epoch for attestation1 (>= 0).
          minimum: 0
          example: 0
        attestation1_indices:
          type: array
          description: >-
            List of validator indices whose signatures are included in
            attestation1.
          items:
            type: integer
            minimum: 0
          example:
            - 0
            - 1
            - 2
            - 3
        attestation1_signature:
          type: string
          description: >-
            Aggregated BLS signature over the attestation1 data (96 bytes;
            0x-prefixed hex with 192 hex characters).
          example: '0xaa'
        attestation1_slot:
          type: integer
          description: Slot that attestation1 attests to.
          minimum: 0
          example: 12571716
        attestation1_source_epoch:
          type: integer
          description: Source checkpoint epoch of attestation1 (>= 0).
          minimum: 0
          example: 392865
        attestation1_source_root:
          type: string
          description: >-
            Root of the source checkpoint referenced by attestation1
            (0x-prefixed, 32-byte hex).
          example: '0x1b3891944d7c2fdac53dff9410f18992487e31b1f68d995c1429548effa47268'
        attestation1_target_epoch:
          type: integer
          description: Target checkpoint epoch of attestation1 (>= 0).
          minimum: 0
          example: 392866
        attestation1_target_root:
          type: string
          description: >-
            Root of the target checkpoint referenced by attestation1
            (0x-prefixed, 32-byte hex).
          example: '0x1898ff52ee440f1ac1ed328becaaa2672c6c50976203d42f672beb5c495c8116'
        attestation2_beaconblockroot:
          type: string
          description: >-
            Root of the beacon block being voted on by attestation2
            (0x-prefixed, 32-byte hex).
          example: '0x2c262c5cdbddd4b4a673c3a112b8a0d1ca539c15cac2a95e0094c0d28a008e88'
        attestation2_index:
          type: integer
          description: Committee index within the epoch for attestation2 (>= 0).
          minimum: 0
          example: 0
        attestation2_indices:
          type: array
          description: >-
            List of validator indices whose signatures are included in
            attestation2.
          items:
            type: integer
            minimum: 0
          example:
            - 0
            - 1
            - 2
            - 3
        attestation2_signature:
          type: string
          description: >-
            Aggregated BLS signature over the attestation2 data (96 bytes;
            0x-prefixed hex with 192 hex characters).
          example: '0xaa'
        attestation2_slot:
          type: integer
          description: Slot that attestation2 attests to.
          minimum: 0
          example: 12571716
        attestation2_source_epoch:
          type: integer
          description: Source checkpoint epoch of attestation2 (>= 0).
          minimum: 0
          example: 392865
        attestation2_source_root:
          type: string
          description: >-
            Root of the source checkpoint referenced by attestation2
            (0x-prefixed, 32-byte hex).
          example: '0x1b3891944d7c2fdac53dff9410f18992487e31b1f68d995c1429548effa47268'
        attestation2_target_epoch:
          type: integer
          description: Target checkpoint epoch of attestation2 (>= 0).
          minimum: 0
          example: 392866
        attestation2_target_root:
          type: string
          description: >-
            Root of the target checkpoint referenced by attestation2
            (0x-prefixed, 32-byte hex).
          example: '0x1898ff52ee440f1ac1ed328becaaa2672c6c50976203d42f672beb5c495c8116'
        block_index:
          type: integer
          description: >-
            Zero-based index of this attester slashing within the including
            block’s attester_slashings list.
          minimum: 0
          example: 0
        block_root:
          type: string
          description: >-
            Root of the beacon block that included this attester slashing
            (0x-prefixed, 32-byte hex).
          example: '0x3381dd071cb6a020144bb980758a3a844129a62d74146b0fcdd82c4125cc8d66'
        block_slot:
          type: integer
          description: Slot number of the block that included this attester slashing.
          minimum: 0
          example: 12571718
    types.ApiErrorResponse:
      type: object
      description: Standard error envelope returned when a request fails.
      properties:
        status:
          type: string
          description: >-
            Human-readable error indicator and message. The value begins with
            "ERROR:" followed by details.
          example: 'ERROR: <Message>'
        data:
          type: string
          description: Optional additional context for the error. Null in most cases.
          nullable: true
          default: null
  securitySchemes:
    ApiKeyAuthQuery:
      type: apiKey
      in: query
      name: apikey
      description: ''
    ApiKeyAuthHeader:
      type: apiKey
      in: header
      name: apikey
      description: ''

````