tessl install tessl/pypi-web3@7.13.0A Python library for interacting with Ethereum blockchain
Agent Success
Agent success rate when using this tile
88%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.01x
Baseline
Agent success rate without this tile
87%
{
"context": "This criteria evaluates the engineer's ability to use web3.py for retrieving and working with Ethereum gas pricing information. The focus is on proper usage of Web3 connection methods, gas price retrieval functions, and unit conversion utilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Web3 initialization",
"description": "Creates a Web3 instance using an appropriate provider (HTTPProvider, WebsocketProvider, or EthereumTesterProvider)",
"max_score": 15
},
{
"name": "Gas price retrieval",
"description": "Uses web3.eth.gas_price or web3.eth.get_gas_price() to retrieve the current gas price in Wei",
"max_score": 25
},
{
"name": "Wei to Gwei conversion",
"description": "Uses web3.from_wei() with 'gwei' denomination to convert gas price from Wei to Gwei",
"max_score": 20
},
{
"name": "Wei to Ether conversion",
"description": "Uses web3.from_wei() with 'ether' denomination to convert gas price from Wei to Ether",
"max_score": 20
},
{
"name": "Priority fee retrieval",
"description": "Uses web3.eth.max_priority_fee to retrieve the recommended priority fee for EIP-1559 transactions",
"max_score": 20
}
]
}