> ## Documentation Index
> Fetch the complete documentation index at: https://hedera-0c6e0218-docs--429.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get file tree (full match)

> Returns repository URLs for every file in the source tree for the desired chain and address. Searches only for full matches.



## OpenAPI

````yaml smart-contract-verification-api.yaml get /files/tree/{chain}/{address}
openapi: 3.0.0
info:
  title: Sourcify API
  version: 1.0.0
servers:
  - description: The current REST API server
    url: ''
  - description: The production REST API server
    url: https://server-verify.hashscan.io
  - description: The staging REST API server
    url: https://server-sourcify.hedera-devops.com
  - description: Local development server address on default port 5555
    url: http://localhost:5555
security: []
tags:
  - name: Stateless Verification
    description: Main verification endpoints
paths:
  /files/tree/{chain}/{address}:
    get:
      tags:
        - Repository
      summary: Get file tree (full match)
      description: >-
        Returns repository URLs for every file in the source tree for the
        desired chain and address. Searches only for full matches.
      parameters:
        - name: chain
          in: path
          required: true
          schema:
            type: string
            format: sourcify-chainId
        - name: address
          in: path
          required: true
          schema:
            type: string
            format: address
      responses:
        '200':
          description: Contract is available
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
        '404':
          description: Contract is not available
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string

````