Skip to main content

parse_and_format_events

Function parse_and_format_events 

Source
pub async fn parse_and_format_events(
    client: &OnlineClient<SubstrateConfig>,
    url: &Url,
    result: &ExtrinsicEvents<SubstrateConfig>,
) -> Result<String, Error>
Expand description

Parses and formats the events from the extrinsic result.

ยงArguments

  • client - The client used to interact with the chain.
  • url - Endpoint of the node.
  • result - The extrinsic result from which to extract events.