Getting-started
Install
Need to install Python 3.7.2+ first
Make example directory
> mkdir web3py-ext-examples & cd _$
Set python virtual environment (preferable but optional)
> python -m venv .venv> . ./.venv/bin/activate
Install
> pip install web3py-ext
Start
Create file
Run
> python fee-delegated-value-transfer.py
Output
decoded transaction: { "type": 9, "to": "0xA2a8854b1802D8Cd5De631E690817c253d6a9153", "value": 100000000000000000, "nonce": 43, "gasPrice": 50000000000, "gas": 63000, "from": "0xA2a8854b1802D8Cd5De631E690817c253d6a9153", "feePayer": "0xCb0eb737dfda52756495A5e08A9b37AAB3b271dA", "signatures": [ { "v": 2037, "r": 93578354654414740427739002022919644896409290347939533211703795054759757354902, "s": 9134800547522066540800971891951614240623136207355204747806684032906366307747 } ], "feePayerSignatures": [ { "v": 2038, "r": 20302025172377290126887017758452014810405132492378310771239790273428447745777, "s": 53258287859492498716919703834973997323471810974924373733878093996195872661689 } ], "chainId": 1001}tx hash: 0x205430ddd219681f4e1657b46aafa104609210d686554dfae8653eb22295d953 receipt: AttributeDict({'blockHash': HexBytes('0x584ad0ac61625084509403db672087fac9e3967f09d5d4a7f96087f821848c77'), 'blockNumber': 126525583, 'contractAddress': None, 'cumulativeGasUsed': 31000, 'effectiveGasPrice': 25000000000, 'from': '0xA2a8854b1802D8Cd5De631E690817c253d6a9153', 'gasUsed': 31000, 'logs': [], 'logsBloom': HexBytes('0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'), 'status': 1, 'to': '0xA2a8854b1802D8Cd5De631E690817c253d6a9153', 'transactionHash': HexBytes('0x205430ddd219681f4e1657b46aafa104609210d686554dfae8653eb22295d953'), 'transactionIndex': 0, 'type': 0})