high-gas-agent
v0.0.5
Published
Forta Agent in Python that detects high gas usage in transactions
Downloads
13
Readme
High Gas Agent
Description
This agent detects transactions with high gas used
Supported Chains
- Ethereum
Alerts
- HAL-HIGH-GAS
- Fired when a transaction uses more than 1000000 gas
- Severity is always set to "medium" if gas above 1000000, "high" if above 3000000, "critical" if above 7000000
- Type is always set to "suspicious"
- Metadata "gas_used" field contains amount of gas used
Test Data
The agent behaviour can be verified with the following transactions:
- 0xd42c2a97d14d1faaf9037445bd5b0d117e9d077455ec188a9cca89239cbcc59e (gas used 1417648)
- 0x30e07979f663aa50823c6d6d760cf0eb8caba1c0ef92aa0e26173a0419faac34 (gas used 1088194)
