Function getScoreEscrowAccount

  • Returns the public key and bump seed for a user's SCORE escrow account.

    Parameters

    • programId: PublicKey

      Deployed program ID for the SCORE program

    • shipMint: PublicKey

      Ship mint address

    • resourceMint: PublicKey

      Mint address for the desired R4 resource

    • playerPublicKey: PublicKey

      Player's public key

    Returns [web3.PublicKey, number]

    • [Escrow account public key, bump seed]