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