Function getStarbasePlayersByProfile

  • Get StarbasePlayer accounts owned by the provided PlayerProfile

    Returns

    array of Starbase players

    Parameters

    • connection: Connection

      Solana connection

    • sageProgram: SageIDLProgram

      the SAGE program

    • playerProfile: PublicKey

      the player profile

    • gameId: PublicKey

      the SAGE game id

    Returns Promise<DecodedAccountData<StarbasePlayer>[]>

Generated using TypeDoc