id: api-nownodes

info:
  name: Nownodes API Test
  author: daffainfo
  severity: info
  description: Blockchain-as-a-service solution that provides high-quality connection via API
  reference:
    - https://nownodes.io/
    - https://github.com/daffainfo/all-about-apikey/tree/main/nownodes
  metadata:
    max-request: 1
  tags: token-spray,nownodes

self-contained: true

http:
  - raw:
      - |
        GET https://bsc-blockbook.nownodes.io/api HTTP/1.1
        Host: bsc-blockbook.nownodes.io
        api-key: {{token}}
        Content-Type: application/json

    matchers:
      - type: word
        part: body
        words:
          - '"coin":'
          - '"host":'
          - '"version":'
        condition: and
# digest: 4a0a004730450220402d747ef4d8ec71d9b6b76cc03075a434f8e2cf76096faafcd385bee33947ae022100d2292dca86c81a55468ecd83331b0a160ab9c1569bead79787abd95c64a9b2b0:922c64590222798bb761d5b6d8e72950