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

> Get list of all transaction IDs included in a specific Bitcoin block for efficient block analysis.

# Block Transaction IDs



## OpenAPI

````yaml bitcoin/esplora-api/openapi.json get /block/{hash}/txids
openapi: 3.0.3
info:
  title: Bitcoin - Esplora API
  version: 1.0.0
  description: >
    OpenAPI spec for core Esplora endpoints: blocks, transactions, addresses,
    mempool, fees, UTXO data and more.
servers:
  - url: https://xbt-mainnet.gomaestro-api.org/v0/esplora
  - url: https://xbt-testnet.gomaestro-api.org/v0/esplora
security:
  - api-key: []
paths:
  /block/{hash}/txids:
    get:
      tags:
        - Blocks
      summary: Block Transaction IDs
      description: Returns a list of all txids in the block.
      parameters:
        - name: hash
          in: path
          required: true
          schema:
            type: string
            example: 00000000000000000001b9dca5d168a8e959df258814beec486572e843fddee5
          description: The hash of the block to query.
      responses:
        '200':
          description: Array of transaction IDs in the block.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlockTxids'
        '400':
          description: Invalid block hash.
        '404':
          description: Block not found.
components:
  schemas:
    BlockTxids:
      type: array
      items:
        type: string
        description: A transaction ID (txid)
      example:
        - 5a7a9fe2c911c482c89a7ea1dbf35a7c9b68892ec5b2d92e93858a9f4a85b08e
        - b1fea5241d34b276c3f8a5a934ae9e5e2bb23ecad1c7426ec1dfde3e07aa55a9
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: api-key
      description: Project API Key

````