id: api-bitquery

info:
  name: Bitquery API Test
  author: daffainfo
  severity: info
  description: Onchain GraphQL APIs & DEX APIs
  reference:
    - https://graphql.bitquery.io/ide
    - https://github.com/daffainfo/all-about-apikey/tree/main/bitquery
  metadata:
    max-request: 1
  tags: token-spray,bitquery

self-contained: true

http:
  - raw:
      - |
        POST https://graphql.bitquery.io HTTP/1.1
        Host: graphql.bitquery.io
        X-API-KEY: {{token}}

    matchers:
      - type: word
        part: body
        words:
          - '"message": "No query string was present"'
# digest: 4a0a004730450220745faf73a41aa49637ebe414435e3157786fc1ae83661b5722524b731de72225022100b35626c587540671f1beb65e34767f9043a6a43776ddfaf927bdc125878abf56:922c64590222798bb761d5b6d8e72950