Function getAllFleets

  • Returns a list of all fleets

    Parameters

    • connection: Connection

      web3.Connection object

    • programId: PublicKey

      Deployed program ID for the SCORE program

    Returns Promise<ShipStakingInfo[]>

    • [Ship Staking Account Infos]