Function processWithdrawFood

  • Withdraw food tokens from a user's escrow account.

    Returns

    InstructionReturn

    Parameters

    • program: ScoreIDLProgram

      Score IDL Program

    • playerAccount: AsyncSigner<unknown>

      Player account

    • shipMint: PublicKey

      Ship mint

    • foodMint: PublicKey

      Food mint

    • foodTokenAccountReturn: PublicKey

      Food token account to return to

    Returns InstructionReturn

Generated using TypeDoc