diff --git a/http/token-spray/api-tatum.yaml b/http/token-spray/api-tatum.yaml index 4562aa752a8..43b2ed60c1a 100644 --- a/http/token-spray/api-tatum.yaml +++ b/http/token-spray/api-tatum.yaml @@ -13,18 +13,27 @@ info: self-contained: true http: - - method: POST - path: - - "https://api-eu1.tatum.io/v3/blockchain/node/ETH/{{token}}" - headers: - Content-Type: application/json - body: "{\"jsonrpc\":\"2.0\",\"method\":\"web3_clientVersion\",\"params\":[ ],\"id\":1}" + - raw: + - | + GET https://api.tatum.io/v3/tatum/version HTTP/1.1 + Host: api.tatum.io + x-api-key: {{token}} + matchers-condition: and matchers: - type: word part: body words: - - '"id":' - - '"result":' - - '"jsonrpc":' + - '"baseCommit":' + - '"planName":' + - '"creditLimit":' condition: and + + - type: word + part: header + words: + - 'application/json' + + - type: status + status: + - 200