From 5a3213e9f2fc2e1382f29b79af8f6aa38938bed6 Mon Sep 17 00:00:00 2001 From: Muhammad Daffa <36522826+daffainfo@users.noreply.github.com> Date: Wed, 22 Dec 2021 19:42:15 +0700 Subject: [PATCH] Create api-block.yaml --- token-spray/api-block.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 token-spray/api-block.yaml diff --git a/token-spray/api-block.yaml b/token-spray/api-block.yaml new file mode 100644 index 0000000000..b1bc5b128e --- /dev/null +++ b/token-spray/api-block.yaml @@ -0,0 +1,23 @@ +id: api-block + +info: + name: block.io API Test + author: daffainfo + severity: info + reference: https://block.io/docs/basic + tags: token-spray,block + +self-contained: true +requests: + - method: GET + path: + - "https://block.io/api/v2/get_balance/?api_key={{token}}" + + matchers: + - type: word + part: body + words: + - '"network"' + - '"available_balance"' + - '"pending_received_balance"' + condition: and