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: 4b0a00483046022100ef1a518f517e6690aba4a7e19b85bf81641dc63d7bb8758694b7cfa84f2c488002210080aaf3726c8113d33520bdf87260f326378440acf20fffe2f902926d5a9d8c4b:922c64590222798bb761d5b6d8e72950
