Function getShipStakingAccount

  • Returns a user's ship staking account

    Parameters

    • programId: PublicKey

      Deployed program ID for the SCORE program

    • assetMint: PublicKey

      Mint address for the desired resource

    • playerPublicKey: PublicKey

      Player's public key

    Returns [web3.PublicKey, number]

    • [Staking account public key, bump seed]