id: api-covalent

info:
  name: Covalent API Test
  author: daffainfo
  severity: info
  description: https://github.com/daffainfo/all-about-apikey/tree/main/covalent
  reference:
    - https://www.covalenthq.com/docs/api/
    - https://github.com/daffainfo/all-about-apikey/tree/main/covalent
  metadata:
    max-request: 1
  tags: token-spray,covalent

self-contained: true

http:
  - method: GET
    path:
      - "https://api.covalenthq.com/v1/3/address/balances_v2/?&key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"address":'
          - '"updated_at":'
          - '"next_update_at":'
        condition: and

# digest: 4a0a00473045022070275851f3193991afa65cf05940ad6fec232b3f2f0222da1b562741e97407c1022100fac147b8069000c48d1e48953d55ba052d76d10690be100c8b177581dc641d98:922c64590222798bb761d5b6d8e72950
