Blockchain Transaction Data Retrieval

Заказчик: AI | Опубликовано: 12.09.2025
Бюджет: 250 $

I’m building a small utility that fetches on-chain transaction details straight from a node through Web3. What I need is a clean, well-commented Python script that: • connects to a configurable RPC endpoint (today I’m testing on Ethereum, but I may point it to BSC or Polygon next); • accepts one or many transaction hashes as input; • returns the full set of fields exposed by web3.eth.get_transaction and web3.eth.get_transaction_receipt (from, to, value, gas, input, status, block number, timestamp, etc.); • prints or saves the data in JSON so it can be piped into the rest of my stack. You’re free to lean on web3.py directly, or call a lightweight Web3.js service from Python if you have a faster approach—whichever you feel produces the most reliable results. Acceptance criteria – Script runs with Python 3.10+ in a fresh virtualenv. – A short README explains environment variables (RPC_URL, optional API keys) and shows one example call and output. – No third-party services beyond the public RPC / Infura / Alchemy style endpoints I can swap in. That’s all I need for this phase; happy to answer any clarifying questions once you’ve had a look.