Type Alias SessionEvent

SessionEvent: Enum<{
    NewSession: {
        session_index: number;
    };
}>

Type declaration

  • NewSession: {
        session_index: number;
    }

    New session has happened. Note that the argument is the session index, not the block number as the type might suggest.

    • session_index: number