Update api-etherscan.yaml

patch-1
Muhammad Daffa 2021-11-06 16:23:44 +07:00 committed by GitHub
parent bfa7fb10ed
commit 48b1bdb9d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -15,9 +15,17 @@ requests:
path: path:
- "https://api.etherscan.io/api?module=account&action=balance&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&tag=latest&apikey={{token}}" - "https://api.etherscan.io/api?module=account&action=balance&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&tag=latest&apikey={{token}}"
matchers-condition: and
matchers: matchers:
- type: word - type: word
part: body part: body
negative: true negative: true
words: words:
- 'Invalid API Key' - 'Invalid API Key'
- type: word
part: body
words:
- '"status":'
- '"message":"OK"'
condition: and