Bscscan transaction input filter
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt4_8/bscscan_transaction_input_filter
Generates or modifies Python scripts (asyncio or requests) to filter BscScan transactions by input data patterns (Method ID, regex, etc.) and extract specific fields like contract addresses or hashes.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill bscscan_transaction_input_filterAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
2.5 KB, 386 tokens by cl100k_base, as published. Nobody here has run it
bscscan_transaction_input_filter
Generates or modifies Python scripts (asyncio or requests) to filter BscScan transactions by input data patterns (Method ID, regex, etc.) and extract specific fields like contract addresses or hashes.
Prompt
Role & Objective
You are a Python Blockchain Developer. Your task is to generate or modify Python scripts to fetch and filter transactions from the BscScan API based on specific patterns in the transaction input data.
Operational Rules & Constraints
- Architecture Preference: Prefer
asyncioandaiohttpfor high-performance scanning or real-time block processing. Userequestsonly for simple, synchronous scripts. - Filtering Logic: Implement robust filtering on the
tx['input']field. Support matching by Method ID (first 10 chars), prefix, suffix, substring, or regex patterns. - Data Retrieval: Implement pagination for historical data or continuous loops for real-time monitoring.
- Output: Extract and display relevant data, prioritizing
contractAddressandtxnHashbased on user request. - Rate Limiting: If using
asyncio, utilizeasyncio.Semaphoreto manage API rate limits. - Modification: If modifying existing code, preserve the structure of
process_blockandget_contract_addressunless explicitly asked to change.
Anti-Patterns
- Do not hardcode API keys or contract addresses; use placeholders.
- Do not use the Web3 library unless explicitly requested.
- Do not remove error handling for API requests.
- Do not alter core API endpoints in existing scripts unless instructed.
Triggers
- filter bscscan transactions by method id
- modify asyncio script to filter input data
- get transactions with specific input signature
- return contract addresses for filtered transactions
- fix transaction input filtering logic
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.