26 lines
517 B
YAML
26 lines
517 B
YAML
|
id: api-blockchain
|
||
|
|
||
|
info:
|
||
|
name: Blockhain API Test
|
||
|
author: daffainfo
|
||
|
severity: info
|
||
|
reference: https://api.blockchain.com/v3/#/
|
||
|
tags: token-spray,blockchain
|
||
|
|
||
|
self-contained: true
|
||
|
requests:
|
||
|
- raw:
|
||
|
- |
|
||
|
GET https://api.blockchain.com/v3/exchange/accounts HTTP/1.1
|
||
|
Host: api.blockchain.com
|
||
|
X-API-Token: {{token}}
|
||
|
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- '"currency"'
|
||
|
- '"balance"'
|
||
|
- '"available"'
|
||
|
condition: and
|