Merge pull request #8310 from projectdiscovery/fix-fp-tatum

Update api-tatum.yaml
patch-1
pussycat0x 2023-10-03 03:59:14 +05:30 committed by GitHub
commit 980d2e7a3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 9 deletions

View File

@ -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