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

# Get JSON block by hash

> Get JSON internal block data by hash.



## OpenAPI

````yaml /api-reference/gateway-openapi.json get /internal/{shard}/json/block/by-hash/{hash}
openapi: 3.1.0
info:
  title: MultiversX Proxy API
  description: >-
    Rust proxy for MultiversX blockchain observer nodes. Forwards HTTP requests
    to shard observers (including metachain, shard id 4294967295).
  version: 1.0.0
servers: []
security: []
tags:
  - name: address
    description: Account and address endpoints
  - name: transaction
    description: Transaction endpoints
  - name: network
    description: Network information
  - name: block
    description: Block queries
  - name: blocks
    description: Blocks by round
  - name: hyperblock
    description: Hyperblock queries
  - name: internal
    description: Internal block data (raw/json)
  - name: validator
    description: Validator statistics and auction
  - name: vm-values
    description: Virtual machine queries
  - name: proof
    description: Merkle proof verification
  - name: node
    description: Node information and heartbeat
  - name: status
    description: Proxy status and metrics
  - name: about
    description: Proxy version info
  - name: actions
    description: Admin actions (secured)
paths:
  /internal/{shard}/json/block/by-hash/{hash}:
    get:
      tags:
        - internal
      summary: Get JSON block by hash
      description: Get JSON internal block data by hash.
      parameters:
        - name: shard
          in: path
          description: Shard ID
          required: true
          schema:
            type: string
        - name: hash
          in: path
          description: Block hash (hex)
          required: true
          schema:
            type: string
        - name: withTxs
          in: query
          description: Include transactions in the block
          required: false
          schema:
            type: boolean
        - name: withLogs
          in: query
          description: Include logs in the block
          required: false
          schema:
            type: boolean
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request — invalid parameters
        '500':
          description: Internal error or observer unavailable

````