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

# Create and initialise a new `AirspaceAccount` on Solana.



## OpenAPI

````yaml /specs/infrastructure.json post /solana/airspace
openapi: 3.1.0
info:
  title: resq-api
  description: ''
  license:
    name: Apache-2.0
    identifier: Apache-2.0
  version: 0.1.0
servers: []
security: []
tags:
  - name: resq-backend
    description: ResQ Infrastructure API
  - name: auth
    description: Authentication endpoints
  - name: incidents
    description: Incident management endpoints
  - name: evidence
    description: Evidence management endpoints
  - name: blockchain
    description: Blockchain query endpoints
  - name: solana
    description: Solana program endpoints (PoD + airspace)
paths:
  /solana/airspace:
    post:
      tags:
        - solana
      summary: Create and initialise a new `AirspaceAccount` on Solana.
      operationId: initialize_airspace
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SolanaAirspaceParams'
        required: true
      responses:
        '200':
          description: Airspace initialised
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SolanaTransactionResponse'
components:
  schemas:
    SolanaAirspaceParams:
      type: object
      required:
        - property_id
        - min_alt_m
        - max_alt_m
        - poly_lat
        - poly_lon
        - policy
        - fee_lamports
        - treasury
      properties:
        property_id:
          type: string
          description: External property identifier (max 32 bytes UTF-8)
        min_alt_m:
          type: integer
          format: uint32
          description: Lower altitude bound in metres AGL
        max_alt_m:
          type: integer
          format: uint32
          description: Upper altitude bound in metres AGL
        poly_lat:
          type: array
          items:
            type: number
            format: double
          description: Polygon latitude values
        poly_lon:
          type: array
          items:
            type: number
            format: double
          description: Polygon longitude values
        policy:
          type: string
          enum:
            - open
            - permit
            - deny
            - auction
          description: Access policy
        fee_lamports:
          type: integer
          format: uint64
          description: Per-crossing fee in lamports (0 = free)
        treasury:
          type: string
          description: Base58 treasury account for crossing fees
    SolanaTransactionResponse:
      type: object
      required:
        - signature
        - slot
        - confirmation
        - fee_lamports
      properties:
        signature:
          type: string
          description: Base58-encoded transaction signature
        slot:
          type: integer
          format: uint64
          description: Slot number
        confirmation:
          type: string
          description: Confirmation status
        fee_lamports:
          type: integer
          format: uint64
          description: Transaction fee in lamports

````