nuclei-templates/http/token-spray/api-blockfrost.yaml

30 lines
671 B
YAML

id: api-blockfrost
info:
name: Blockfrost API Test
author: daffainfo
severity: info
description: Interaction with the Cardano mainnet and several testnets
reference:
- https://docs.blockfrost.io/
- https://github.com/daffainfo/all-about-apikey/tree/main/blockfrost
tags: token-spray,blockfrost
metadata:
max-request: 1
self-contained: true
http:
- raw:
- |
GET https://cardano-mainnet.blockfrost.io/api/v0/ HTTP/1.1
Host: cardano-mainnet.blockfrost.io
project_id: {{token}}
matchers:
- type: word
part: body
words:
- '"url":'
- '"version":'
condition: and