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: 490a0046304402202a09ebe69d2b19b4d3ea51a393794f99b92a237b4350dd2d02a46df0ea7f312802207bd2836ebf69455d3afe190ac32aceedd6cf7cc63f02f3f5c3f3c3524d6d0b98:922c64590222798bb761d5b6d8e72950
