ao-js-sdk - v0.0.9
    Preparing search index...

    Interface IRaffleClient

    Interface for the Raffle Client that provides functionality for managing raffles and viewing raffle pulls.

    interface IRaffleClient {
        pullRaffle(): Promise<boolean>;
        setRaffleEntrants(entrants: string[]): Promise<boolean>;
        viewEntrants(userId: string): Promise<ViewEntrantsResponse>;
        viewMostRecentPull(): Promise<RafflePull>;
        viewRaffleOwners(): Promise<ViewRaffleOwnersResponse>;
        viewUserPull(userId: string, pullId: string): Promise<RafflePull>;
        viewUserPulls(userId: string): Promise<ViewPullsResponse>;
    }

    Implemented by

    Index

    Methods