Function getAllFleetsForUserPublicKey

  • Returns a list of player deployed fleets to the SCORE program

    Parameters

    • connection: Connection

      web3.Connection object

    • playerPublicKey: PublicKey

      Player's public key

    • programId: PublicKey

      Deployed program ID for the SCORE program

    Returns Promise<ShipStakingInfo[]>

    • [Ship Staking Account Infos]