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

# Submit a batch query

> Handles batch queries for interacting with storage slot data.



## OpenAPI

````yaml /storage-proofs-api/openapi-storage-proof-api.json post /submit-batch-query
openapi: 3.0.3
info:
  title: Storage Proofs API
  description: >-
    API for submitting and managing Storage Proofs API requests across various
    blockchain networks
  version: 1.0.0
servers:
  - url: https://api.herodotus.cloud
    description: Production Server
  - url: https://staging.api.herodotus.cloud
    description: Staging Server
security: []
tags:
  - name: The one you want
    description: Probably the route you're looking for
  - name: Basic Batch Query
    description: Batch Query routes
  - name: Health check
    description: Health check routes
  - name: Info
    description: Info routes
paths:
  /submit-batch-query:
    post:
      tags:
        - Basic Batch Query
        - The one you want
      summary: Submit a batch query
      description: Handles batch queries for interacting with storage slot data.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                webhook:
                  type: object
                  properties:
                    url:
                      type: string
                      format: uri
                    headers:
                      type: object
                      additionalProperties:
                        type: string
                  required:
                    - url
                  additionalProperties: false
                destinationChainId:
                  $ref: '#/components/schemas/DestinationChainId'
                fee:
                  type: string
                data:
                  type: object
                  required:
                    - '1'
                    - '11155111'
                    - '11155420'
                    - '4801'
                    - '84532'
                  properties:
                    '1':
                      type: object
                      additionalProperties:
                        type: object
                        properties:
                          header:
                            type: array
                            items:
                              $ref: '#/components/schemas/ProvableHeaderProperty'
                          accounts:
                            type: object
                            additionalProperties:
                              type: object
                              properties:
                                props:
                                  type: array
                                  items:
                                    $ref: >-
                                      #/components/schemas/ProvableAccountProperty
                                  default: []
                                  description: Account properties
                                slots:
                                  type: array
                                  items:
                                    type: string
                                  default: []
                                  description: Storage slots
                              additionalProperties: false
                        additionalProperties: false
                    '4801':
                      type: object
                      additionalProperties:
                        type: object
                        properties:
                          header:
                            type: array
                            items:
                              $ref: '#/components/schemas/ProvableHeaderProperty'
                          accounts:
                            type: object
                            additionalProperties:
                              type: object
                              properties:
                                props:
                                  type: array
                                  items:
                                    $ref: >-
                                      #/components/schemas/ProvableAccountProperty
                                  default: []
                                  description: Account properties
                                slots:
                                  type: array
                                  items:
                                    type: string
                                  default: []
                                  description: Storage slots
                              additionalProperties: false
                        additionalProperties: false
                    '84532':
                      type: object
                      additionalProperties:
                        type: object
                        properties:
                          header:
                            type: array
                            items:
                              $ref: '#/components/schemas/ProvableHeaderProperty'
                          accounts:
                            type: object
                            additionalProperties:
                              type: object
                              properties:
                                props:
                                  type: array
                                  items:
                                    $ref: >-
                                      #/components/schemas/ProvableAccountProperty
                                  default: []
                                  description: Account properties
                                slots:
                                  type: array
                                  items:
                                    type: string
                                  default: []
                                  description: Storage slots
                              additionalProperties: false
                        additionalProperties: false
                    '11155111':
                      type: object
                      additionalProperties:
                        type: object
                        properties:
                          header:
                            type: array
                            items:
                              $ref: '#/components/schemas/ProvableHeaderProperty'
                          accounts:
                            type: object
                            additionalProperties:
                              type: object
                              properties:
                                props:
                                  type: array
                                  items:
                                    $ref: >-
                                      #/components/schemas/ProvableAccountProperty
                                  default: []
                                  description: Account properties
                                slots:
                                  type: array
                                  items:
                                    type: string
                                  default: []
                                  description: Storage slots
                              additionalProperties: false
                        additionalProperties: false
                    '11155420':
                      type: object
                      additionalProperties:
                        type: object
                        properties:
                          header:
                            type: array
                            items:
                              $ref: '#/components/schemas/ProvableHeaderProperty'
                          accounts:
                            type: object
                            additionalProperties:
                              type: object
                              properties:
                                props:
                                  type: array
                                  items:
                                    $ref: >-
                                      #/components/schemas/ProvableAccountProperty
                                  default: []
                                  description: Account properties
                                slots:
                                  type: array
                                  items:
                                    type: string
                                  default: []
                                  description: Storage slots
                              additionalProperties: false
                        additionalProperties: false
                  additionalProperties: false
              required:
                - destinationChainId
                - fee
                - data
              additionalProperties: false
            examples:
              firstExample:
                summary: Example
                value:
                  destinationChainId: SN_SEPOLIA
                  fee: '0'
                  data:
                    '11155111':
                      block:5856869:
                        header:
                          - STATE_ROOT
                          - TIMESTAMP
                      timestamp:1703799420:
                        accounts:
                          vitalik.eth:
                            slots: []
                            props:
                              - BALANCE
                              - NONCE
                              - STORAGE_ROOT
                          '0xd8da6bf26964af9d7eed9e03e53415d37aa96045':
                            slots: []
                            props:
                              - BALANCE
                      block:5030420:
                        header:
                          - PARENT_HASH
                        accounts:
                          '0x69030ef8C2744b37a096fAf2A4C78B4dAec1308b':
                            slots:
                              - >-
                                0x0000000000000000000000000000000000000000000000000000000000000001
                              - >-
                                0xe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0
                            props: []
                  webhook:
                    url: https://webhook.site/1f3a9b5d-5c8c-4e2a-9d7e-6c3c5a0a0e2f
                    headers:
                      Content-Type: application/json
        required: true
      responses:
        '201':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  internalId:
                    type: string
                required:
                  - internalId
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error: {}
                  info: {}
                  httpPart: {}
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error: {}
                additionalProperties: false
      security:
        - ApiKeyAuth: []
components:
  schemas:
    DestinationChainId:
      type: string
      enum:
        - STARKNET
        - '300'
        - '11155111'
        - '11155420'
        - SN_SEPOLIA
        - '421614'
        - '4801'
    ProvableHeaderProperty:
      type: string
      enum:
        - PARENT_HASH
        - UNCLES_HASH
        - COINBASE
        - PROPOSER
        - STATE_ROOT
        - TRANSACTIONS_ROOT
        - RECEIPTS_ROOT
        - LOGS_BLOOM
        - DIFFICULTY
        - BLOCK_NUMBER
        - GAS_LIMIT
        - GAS_USED
        - TIMESTAMP
        - EXTRA_DATA
        - MIX_HASH
        - NONCE
        - BASE_FEE_PER_GAS
        - WITHDRAWALS_ROOT
        - BLOB_GAS_USED
        - EXCESS_BLOB_GAS
        - PARENT_BEACON_BLOCK_ROOT
        - PROPOSER
    ProvableAccountProperty:
      type: string
      enum:
        - BALANCE
        - NONCE
        - CODE_HASH
        - STORAGE_ROOT
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api-key

````