Function processWithdrawFuel

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

    Returns

    InstructionReturn

    Parameters

    • program: ScoreIDLProgram

      Score IDL Program

    • playerAccount: AsyncSigner<unknown>

      Player account

    • shipMint: PublicKey

      Ship mint

    • fuelMint: PublicKey

      Fuel mint

    • fuelTokenAccountReturn: PublicKey

      Fuel token account to return to

    Returns InstructionReturn

Generated using TypeDoc