Function generateRawEvent

  • Wrap the generateEvent function to emit a raw event.

    Remarks

    This function encodes the StaticArray as a base64 string.

    Example:

    const num: u64 = 8767;
    const event = new Args().add(num).serialize();
    generateRawEvent(event);

    Parameters

    • event: StaticArray<number>

      The static array event to emit.

    Returns void

Generated using TypeDoc