[Ethereum] can I monitor contract events in python

dapp-developmentpythonweb3js

If I understand correctly, in web3.js the allevents method enables a contract event to be monitored.

is there an equivalent in python ?

Best Answer

If you want to do local testing of your contract, you can use PyEthereum's tester to capture and view events from your contract via the ABIContract class.

If you're looking for a Python based RPC client you may want to look at ethjsonrpc. It appears ethjsonrpc has support for event functions.

Related Topic