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

32 lines
837 B
YAML

id: api-alchemy
info:
name: Alchemy API Test
author: daffainfo
severity: info
description: Ethereum Node-as-a-Service Provider
reference:
- https://docs.alchemy.com/alchemy/
- https://github.com/daffainfo/all-about-apikey/tree/main/alchemy
metadata:
max-request: 1
tags: token-spray,alchemy
self-contained: true
http:
- method: POST
path:
- "https://eth-mainnet.alchemyapi.io/v2/{{token}}"
body: '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":0}'
matchers:
- type: word
part: body
words:
- '"id":'
- '"result":'
condition: and
# digest: 4a0a00473045022100d598753bed1e8d2124ca47485b1081d8c70e9693e9e2d8b3e4e5ad664741c79a0220170ed0c3090c4db34e3ad183d9772b18bfae4d002775d9cf00933ea8a3b24a35:922c64590222798bb761d5b6d8e72950