Class FleetShips

Hierarchy

  • FleetShips

Implements

  • Account

Constructors

Properties

Accessors

Methods

Constructors

Properties

ACCOUNT_NAME: "craftingInstance" | "disbandedFleet" | "fleet" | "fleetShips" | "game" | "gameState" | "mineItem" | "planet" | "resource" | "sagePlayerProfile" | "sector" | "ship" | "star" | "starbase" | "starbasePlayer" | "surveyDataUnitTracker" = 'fleetShips'
MIN_DATA_SIZE: number = FLEET_SHIPS_MIN_DATA_SIZE

Accessors

  • get data(): Readonly<AnchorTypeDef<Object, AnchorDefined<SageIDL, Record<string, never>>>>
  • Returns Readonly<AnchorTypeDef<Object, AnchorDefined<SageIDL, Record<string, never>>>>

  • get key(): Readonly<PublicKey>
  • Returns Readonly<PublicKey>

Methods

  • Finds the address of a FleetShips account

    Returns

    • The PDA and bump respectively

    Parameters

    Returns [PublicKey, number]

Generated using TypeDoc