Web3FunctionEventContext
instead of the regular Web3FunctionContext
on your onRun
handler.
The context will then include a log
property containing your full event log that you can parse and process.
log.json
file in your web3 function directory:
log.json
file the raw data of the event you want to test:
log.json
will be injected in your event context in local runs via CLI: