2
votes
Accepted
Decode json.loads(log_event) using python web3
Is there a pre-existing way to do this conversion w/in the web3 library or do I need to create my own converter?
For decoding textual JSON-RPC response, you can reuse the code from web3.py, namely ...
1
vote
It is possible to create events dynamically in already deployed Smart Contracts?
Its probably possible using inline assembly, check out this post https://ethereum.stackexchange.com/a/72821/66634.
log1-4 are the assembly opcodes to generate events. I've never tried it myself, but ...
1
vote
Prove that an Event didn't happen in the Blockchain
Off-chain listener
By setting up an off-chain event listener for your ERC-721 contract, you can write code that tracks the timestamp of the NFT being transferred as well as the address that ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
events × 856solidity × 260
web3js × 253
logs × 112
go-ethereum × 77
contract-development × 74
ethers.js × 54
transactions × 47
truffle × 44
javascript × 40
web3.py × 38
contract-design × 37
filters × 36
contract-invocation × 29
etherscan × 29
blockchain × 26
remix × 23
nodejs × 22
event-handling × 21
dapp-development × 20
erc-20 × 19
infura × 19
python × 19
websocket × 19
json-rpc × 18