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

# Batch Info by Id

> Fetches detailed information about a batch, including metadata, logs, transactions, and block details.



## OpenAPI

````yaml get /eigenda/batch-by-id
openapi: 3.0.1
info:
  title: OpenAPI Rescan Explorer
  description: Api reference for the Rescan Explorer
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.blockflow.network/rest
security: []
paths:
  /eigenda/batch-by-id:
    get:
      summary: Batch Info by Id
      description: >-
        Fetches detailed information about a batch, including metadata, logs,
        transactions, and block details.
      operationId: getBatchDetails
      parameters:
        - name: network
          in: query
          schema:
            type: string
            enum:
              - ethereum
              - holesky
            default: holesky
          required: true
          description: Select the network you want to track.
        - name: batchId
          in: query
          required: true
          schema:
            type: number
            description: The unique identifier for the batch.
      responses:
        '200':
          description: Successfully fetched batch data
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      batchId:
                        type: string
                      batchHeaderHash:
                        type: string
                      blobsLength:
                        type: integer
                      quorumNumbers:
                        type: array
                        items:
                          type: integer
                      blobHeadersRoot:
                        type: string
                      referenceBlockNumber:
                        type: integer
                      signedStakeForQuorums:
                        type: array
                        items:
                          type: integer
                      transactionHash:
                        type: string
                      blockTimestamp:
                        type: string
                        format: date-time
                      blockNumber:
                        type: integer
                      batchMetadata:
                        type: object
                        properties:
                          apkG2:
                            type: string
                          sigma:
                            type: string
                          quorumApks:
                            type: array
                            items:
                              type: string
                          quorumApkIndices:
                            type: array
                            items:
                              type: integer
                          nonSignerPubkeys:
                            type: array
                            items:
                              type: string
                          totalStakeIndices:
                            type: array
                            items:
                              type: integer
                          nonSignerStakeIndices:
                            type: array
                            items:
                              type: integer
                          nonSignerQuorumBitmapIndices:
                            type: array
                            items:
                              type: integer
                      operators:
                        type: object
                        properties:
                          signers:
                            type: string
                          nonSigners:
                            type: string
                      signers:
                        type: array
                        items:
                          type: string
                      nonSigners:
                        type: array
                        items:
                          type: string
                      quorumStakes:
                        type: object
                        properties:
                          quorumNumber:
                            type: string
                          stake:
                            type: string
                      signatoryRecordHash:
                        type: string
                      logs:
                        type: array
                        items:
                          type: object
                          properties:
                            logIndex:
                              type: string
                            logTransactionHash:
                              type: string
                            logTransactionIndex:
                              type: string
                            logAddress:
                              type: string
                            logData:
                              type: string
                            topics:
                              type: array
                              items:
                                type: string
                      transactions:
                        type: array
                        items:
                          type: object
                          properties:
                            transactionHash:
                              type: string
                            nonce:
                              type: integer
                            index:
                              type: integer
                            fromAddress:
                              type: string
                            toAddress:
                              type: string
                            value:
                              type: string
                            gas:
                              type: integer
                            gasPrice:
                              type: string
                            receiptCumulativeGasUsed:
                              type: integer
                            receiptGasUsed:
                              type: integer
                            receiptStatus:
                              type: string
                            effectiveGasPrice:
                              type: string
                      block:
                        type: object
                        properties:
                          blockNumber:
                            type: integer
                          blockHash:
                            type: string
                          parentHash:
                            type: string
                          nonce:
                            type: string
                          sha3Uncles:
                            type: string
                          logsBloom:
                            type: string
                          transactionsRoot:
                            type: string
                          stateRoot:
                            type: string
                          receiptsRoot:
                            type: string
                          miner:
                            type: string
                          difficulty:
                            type: integer
                          totalDifficulty:
                            type: integer
                          size:
                            type: integer
                          extraData:
                            type: string
                          gasLimit:
                            type: integer
                          gasUsed:
                            type: integer
                          transactionCount:
                            type: integer
                  metadata:
                    type: object
                    properties:
                      batchId:
                        type: string
                      blockNumber:
                        type: integer
                      timestamp:
                        type: string
                        format: date-time
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '422':
          $ref: '#/components/responses/422'
        '429':
          $ref: '#/components/responses/429'
        '500':
          $ref: '#/components/responses/500'
components:
  responses:
    '400':
      description: >-
        The server cannot or will not process the request due to something that
        is perceived to be a client error (e.g., malformed request syntax,
        invalid request message framing, or deceptive request routing).
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                      - bad_request
                    description: A short code indicating the error code returned.
                    example: bad_request
                  message:
                    type: string
                    description: A human readable explanation of what went wrong.
                    example: The requested resource was not found.
                  doc_url:
                    type: string
                    description: >-
                      A link to our documentation with more details about this
                      error code
                    example: >-
                      https://docs.rescan.dev.com/api-reference/errors#bad_request
                required:
                  - code
                  - message
            required:
              - error
    '401':
      description: >-
        Although the HTTP standard specifies "unauthorized", semantically this
        response means "unauthenticated". That is, the client must authenticate
        itself to get the requested response.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                      - unauthorized
                    description: A short code indicating the error code returned.
                    example: unauthorized
                  message:
                    type: string
                    description: A human readable explanation of what went wrong.
                    example: The requested resource was not found.
                  doc_url:
                    type: string
                    description: >-
                      A link to our documentation with more details about this
                      error code
                    example: >-
                      https://docs.rescan.dev.com/api-reference/errors#unauthorized
                required:
                  - code
                  - message
            required:
              - error
    '403':
      description: >-
        The client does not have access rights to the content; that is, it is
        unauthorized, so the server is refusing to give the requested resource.
        Unlike 401 Unauthorized, the client's identity is known to the server.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                      - forbidden
                    description: A short code indicating the error code returned.
                    example: forbidden
                  message:
                    type: string
                    description: A human readable explanation of what went wrong.
                    example: The requested resource was not found.
                  doc_url:
                    type: string
                    description: >-
                      A link to our documentation with more details about this
                      error code
                    example: https://docs.rescan.dev.com/api-reference/errors#forbidden
                required:
                  - code
                  - message
            required:
              - error
    '404':
      description: The server cannot find the requested resource.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                      - not_found
                    description: A short code indicating the error code returned.
                    example: not_found
                  message:
                    type: string
                    description: A human readable explanation of what went wrong.
                    example: The requested resource was not found.
                  doc_url:
                    type: string
                    description: >-
                      A link to our documentation with more details about this
                      error code
                    example: https://docs.rescan.dev.com/api-reference/errors#not_found
                required:
                  - code
                  - message
            required:
              - error
    '422':
      description: >-
        The request was well-formed but was unable to be followed due to
        semantic errors.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                      - unprocessable_entity
                    description: A short code indicating the error code returned.
                    example: unprocessable_entity
                  message:
                    type: string
                    description: A human readable explanation of what went wrong.
                    example: The requested resource was not found.
                  doc_url:
                    type: string
                    description: >-
                      A link to our documentation with more details about this
                      error code
                    example: >-
                      https://docs.rescan.dev.com/api-reference/errors#unprocessable_entity
                required:
                  - code
                  - message
            required:
              - error
    '429':
      description: >-
        The user has sent too many requests in a given amount of time ("rate
        limiting")
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                      - rate_limit_exceeded
                    description: A short code indicating the error code returned.
                    example: rate_limit_exceeded
                  message:
                    type: string
                    description: A human readable explanation of what went wrong.
                    example: The requested resource was not found.
                  doc_url:
                    type: string
                    description: >-
                      A link to our documentation with more details about this
                      error code
                    example: >-
                      https://docs.rescan.dev.com/api-reference/errors#rate_limit_exceeded
                required:
                  - code
                  - message
            required:
              - error
    '500':
      description: The server has encountered a situation it does not know how to handle.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                      - internal_server_error
                    description: A short code indicating the error code returned.
                    example: internal_server_error
                  message:
                    type: string
                    description: A human readable explanation of what went wrong.
                    example: The requested resource was not found.
                  doc_url:
                    type: string
                    description: >-
                      A link to our documentation with more details about this
                      error code
                    example: >-
                      https://docs.rescan.dev.com/api-reference/errors#internal_server_error
                required:
                  - code
                  - message
            required:
              - error

````