Skip to main content

format_events

Function format_events 

Source
fn format_events(events: &[EventOutput]) -> String
Expand description

Formats decoded and raw events for human-readable output.

ยงExample

[block 1, tx 0xabc..., log 0] 0x123...::Transfer(address,uint256) { from: 0x456..., value: 1 }
0x789...
  topic 0: 0xdef...
  data: 0x