parseDiagnosticEventsXdr

Parses the diagnosticEventsXdr field from a list of base64-encoded XDR strings to a list of typed DiagnosticEvent objects.

Diagnostic events contain detailed runtime information useful for debugging contract execution, including:

  • Contract function calls and returns

  • Authorization checks

  • Resource consumption metrics

  • Error conditions

Return

A list of parsed DiagnosticEvent XDR objects, or null if no diagnostic events exist.

Throws

if any XDR string is malformed or cannot be decoded.