Function getShipStakingAccountInfo

  • Returns the current ship staking account info for a player and ship mint.

    Parameters

    • connection: Connection

      web3.Connection object

    • programId: PublicKey

      Deployed program ID for the SCORE program

    • shipMint: PublicKey

      ship mint address

    • playerPublicKey: PublicKey

      Player's public key

    Returns Promise<ShipStakingInfo>